#19729 [Opn->Fbk]: LoadModule crashes Apache 2.0.42

From: Date: Wed, 09 Oct 2002 15:26:45 +0000
Subject: #19729 [Opn->Fbk]: LoadModule crashes Apache 2.0.42
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21929@lists.php.net to get a copy of this message
ID: 19729 Updated by: sniper@php.net Reported By: ivan.havlicek@free.fr -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Linux 2.4.16 #26 SMP PHP Version: 4.2.3 New Comment: Did you stop/start apache after changing this? And I don't mean 'restart' but real 'apachectl stop' and 'apachectl start' ? Also, are you sure you don't have short-tags disabled? Try this script: test.php <?php phpinfo(); ?> And make sure that 'Addtype' line is LAST line in the apache conf.. Previous Comments: ------------------------------------------------------------------------ [2002-10-09 09:56:20] ivan.havlicek@free.fr If I put only the lines : -- LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php .php3 .phps -- It's still not working. nada... ------------------------------------------------------------------------ [2002-10-09 09:33:22] sniper@php.net You only need the 'LoadModule' and 'AddType' lines.. ------------------------------------------------------------------------ [2002-10-09 03:39:18] ivan.havlicek@free.fr 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] ivan.havlicek@free.fr 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] sniper@php.net 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 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19729 -- Edit this bug report at http://bugs.php.net/?id=19729&edit=1

« previous php.bugs (#21929) next »