Greetings,
I'm trying to install PHP 5.0.4 / Apache 1.3.33 on my Debian (kernel
2.4.27-2). PHP was installed for Apache's DSO, configured with APXS.
Configure and make ran without any issues, as did installation. The CLI
version runs as expected, returning what seems to be the correct
values. Apache can be started, and it appears to load libphp5.so. When
accessing a PHP file, however, the browser downloads the file, and
Apache doesn't pick up the PHP file (it doesn't process any PHP pages).
No segfaults occur, no error messages generated by PHP.
Here is an except of my httpd.conf. The lines appear in the same order:
LoadModule php5_module libexec/libphp5.so
AddModule mod_php5.c
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
The AddModule directive comes after ClearModuleList, while the LoadModule appears before ClearModuleList.
Perhaps someone on the list can advice me where to start looking? I've
tried moving things around in the config file to no success. The
installation instructions say that I'm probably doing something wrong
in the config...
Thanks.
- [PHP-INSTALL] Linux: Apache not pick-up PHP; files downloaded ... Ripta Pasay