|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-01-04 20:51 UTC] p dot wenger at gmx dot ch
I have problem with the php4apache.dll on win xp prof apache 1.3.22 and php4.1.1 ! Server API: Apache If you execute the phpinfo(), same time it work, but the most time came the message that the page not can show. Or same line are wrong (wrong character like @#??@?@#?879...) http://xp.wenpas.ch:8080/phpinfo.php4c Server API: CGI The same example with the installation as CGI work fine. (same php.ini) http://xp.wenpas.ch:8080/phpinfo.php4a I think the problem is at php4apache.dll Pascal PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 19:00:01 2025 UTC |
Here are the part which you need: LoadModule php4_module c:/php/sapi/php4apache.dll AddType application/x-httpd-php .php4a ScriptAlias /php3/ "c:/php3/" AddType application/x-httpd-php3 .php3 Action application/x-httpd-php3 "/php3/php.exe" ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php4 .php AddType application/x-httpd-php4 .php4 AddType application/x-httpd-php4 .php4c Action application/x-httpd-php4 "/php/php.exe" //----------------------------------------------- I did a easy example, that works with both API's! <?php echo "bla"; ?> http://www.wenpas.ch:8080/bla.php4c http://www.wenpas.ch:8080/bla.php4a And here the other example: <?php phpinfo(); ?> http://www.wenpas.ch:8080/phpinfo.php4a http://www.wenpas.ch:8080/phpinfo.php4c http://www.wenpas.ch:8080/phpinfo.php3 http://www.wenpas.ch:8080/phpinfo.php4 http://www.wenpas.ch:8080/phpinfo.php The ends .php4a and .php4c are only for you to testing. c = cgi a = apache (php4apache.dll)