Bug #14484 Updated: apache2 has not loaded php module
ID: 14484
Updated by: manu
Reported By: orpheus@host.sk
Old Status: Open
Status: Closed
Bug Type: Apache2 related
Operating System: Linux
PHP Version: 4.1.0
New Comment:
be careful the configuration change for Apache 2 you must use filter !
watch README from Apache2filter
http://cvs.php.net/co.php/php4/sapi/apache2filter/README?r=1.8
you must replace :
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
By
LoadModule php4_module modules/libphp4.so
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
Previous Comments:
------------------------------------------------------------------------
[2002-01-18 09:02:27] jp@phonevalley.com
I have exactly the same problem with php 4.1.1 with a lot simpler
configure line. every compiles well but apache 2 start without loading
the module
------------------------------------------------------------------------
[2002-01-15 14:00:17] miro1@000.sk
I have a same problem - Apache 2.0.28 + php4.1.1, linux kernel 2.4.10.
------------------------------------------------------------------------
[2001-12-13 07:22:54] orpheus@host.sk
apache-2.0.28
php-4.1 - configuration line:
configure --prefix=/opt --with-apxs2=/opt/apache2/bin/apxs
--with-config-file-path=/opt/apache2/bin/conf
--with-zlib-dir=/usr --with-zlib=/usr --enable-bcmath --with-bz2=/usr
--enable-calendar --with-curl=/usr
--with-gdbm --enable-dbase --enable-dbx --enable-dio --with-dom=/usr
--enable-filepro --enable-ftp
--with-gd=/usr --enable-gd-native-ttf --with-jpeg-dir=/usr
--with-png-dir=/usr --with-ttf=/usr
--with-t1lib=/usr --with-gettext=/usr --with-gmp --with-imap=/usr
--with-ldap=/usr --with-mysql=/usr
--with-unixODBC=/usr --enable-overload --with-pdflib=/usr/local
--with-jpeg-dir=/usr --with-png-dir=/usr
--with-tiff-dir=/usr --enable-sockets --enable-sysvsem --enable-sysvshm
--enable-wddx --with-expat-dir=/usr
--enable-xslt --with-xslt-sablot --with-expat-dir=/usr --enable-yp
in httpd.conf:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
if I run apache, the PHP module isn't loaded (server-info,
server-status)
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14484&edit=1
Thread (4 messages)