[Bug 1184455] [NEW] Web server doesn't recognize php files
Launchpad Bug Tracker
1184455 at bugs.launchpad.net
Tue Sep 24 19:13:45 UTC 2013
You have been subscribed to a public bug:
Php files on DOCUMENTROOT /var/www not being run e.g.
brucesalem :/var/www/brucesalem
$ cat info.php
<?php
phpinfo();
?>
The documentation for using php5 says to run a2nmod it fails and the
links are not there.
$ sudo a2enmod php5
Module php5 already enabled
brucesalem :~
$ ls -l /etc/apache2/mods-enabled/php5
ls: cannot access /etc/apache2/mods-enabled/php5: No such file or directory
brucesalem :~
$ ls -l /etc/apache2/mods-availble/php5
ls: cannot access /etc/apache2/mods-availble/php5: No such file or directory
brucesalem :~
Symantec package manager says that libapache2-mod-php5 IS installed.
Veryifying the path to that lib would be a good debuging step.
alias ubuntu_release='lsb_release -a'
brucesalem :~
$ ubuntu_release
LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
$ ps -A | grep apac
2419 ? 00:00:00 /usr/sbin/apach
2432 ? 00:00:00 /usr/sbin/apach
2433 ? 00:00:00 /usr/sbin/apach
2434 ? 00:00:00 /usr/sbin/apach
2435 ? 00:00:00 /usr/sbin/apach
2436 ? 00:00:00 /usr/sbin/apach
9703 ? 00:00:00 /usr/sbin/apach
$ ls -l /usr/sbin/apach*
lrwxrwxrwx 1 root root 34 Mar 8 07:54 /usr/sbin/apache2 -> ../lib/apache2/mpm-prefork/apache2
-rwxr-xr-x 1 root root 6190 Mar 8 06:43 /usr/sbin/apache2ctl
lrwxrwxrwx 1 root root 10 Mar 8 07:54 /usr/sbin/apachectl -> apache2ctl
** Affects: php5 (Ubuntu)
Importance: Undecided
Status: Invalid
** Tags: bot-comment precise
--
Web server doesn't recognize php files
https://bugs.launchpad.net/bugs/1184455
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu.
More information about the Ubuntu-server-bugs
mailing list