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:
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] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
You only need the 'LoadModule' and 'AddType' lines..
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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