ID: 19729 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Linux 2.4.16 #26 SMP PHP Version: 4.2.3 New Comment:
You only need the 'LoadModule' and 'AddType' lines.. Previous Comments: ------------------------------------------------------------------------ [2002-10-09 03:39:18] [EMAIL PROTECTED] Precision : When I wrote "dont work", I mean than any <? php statement ?> is processed. The HTML file is delivered as it is. ------------------------------------------------------------------------ [2002-10-09 03:28:54] [EMAIL PROTECTED] I've download latest tar (php4-200210030000), Apache starts without problems ;-)) but ... the pre-processor dont work :-(( Perhaps, I have bad configuration ? I use these lines in my httpd.conf file : ----------------- <IfModule mod_so.c> LoadModule php4_module modules/libphp4.so </IfModule> <IfModule mod_php4.c> AddType application/x-httpd-php .php .php3 .phps # First try : AddInputFilter PHP .php .php3 .phps AddOutputFilter PHP .php .php3 .phps # Second try : <Files *.php> SetInputFilter PHP SetOutputFilter PHP </Files> php_flag safe_mode on </IfModule> -------------------- Dont care about my poor english (french guy) and thank's for all. -- Ivan ------------------------------------------------------------------------ [2002-10-02 20:56:41] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-10-02 19:18:58] [EMAIL PROTECTED] Apache : ./configure --enable-ssl --enable-dav --enable-info --enable-cgi --enable-vhost-alias --enable-dav-fs --enable-userdir --enable-so --enable-usertrack --enable-status make && make install Ok. PHP : ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pgsql --with-ldap --with-mysql=/usr/local/mysql --with-tsrm-pth make && make install Ok. When I uncomment the line : #LoadModule php4_module modules/libphp4.so in my httpd.conf file, apache2 dont restart. The last error_log contain no specific traces and I dont know how have more informations (debug mode). Note : I've another apache server Apache/1.3.20 with PHP/4.2.1 running on this machine. Thank's for all. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19729&edit=1