Public bug reported:

Binary package hint: libapache2-mod-php5

Installed Apache and PHP by just installing the "php5" package in
Synaptic Package Manager. Apache, PHP, and the Apache PHP module were
all installed, and are enabled, yet any request for a PHP file just
returns the source code of the PHP file. There are no error messages in
the Apache logs.

Process:
1. sudo apt-get install php5
2. Place any *.php file in /var/www
3. Browse to http://localhost/(name of PHP file)

What is expected: The PHP file gets parsed by the PHP interpreter and
result is returned to Apache and then served to the requesting web
browser.

What happens: The PHP file doesn't get parsed, and is just read by
Apache directly and sent to the requesting browser.

ProblemType: Bug
Architecture: amd64
CheckboxSubmission: ef4cb2e02f8820e3456f679c8a5c77fe
CheckboxSystem: edda5d4f616ca792bf437989cb597002
Date: Sat Feb 20 14:27:18 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100203.1)
NonfreeKernelModules: nvidia
Package: libapache2-mod-php5 5.2.12.dfsg.1-2ubuntu2
ProcEnviron:
 LANG=en_CA.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: php5
Uname: Linux 2.6.32-14-generic x86_64

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
Apache serves PHP files without parsing them
https://bugs.launchpad.net/bugs/525041
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to