ID: 14865 Comment by: [EMAIL PROTECTED] Old Reported By: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Apache related Operating System: Win XP Prof PHP Version: 4.1.1 New Comment:
I've got the same problem. Same OS, same PHP, same problem. It really bothers me only when PHP is installed as an Apache module. Does anybody have the solution? Ivan Previous Comments: ------------------------------------------------------------------------ [2002-01-06 07:05:06] [EMAIL PROTECTED] 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) ------------------------------------------------------------------------ [2002-01-04 20:59:57] [EMAIL PROTECTED] Wow, wierd. If you go to the second page (cgi binary) it displays fine, yet the first page starts to display, and then dies. I have a sneaky suspicion that it is more to do with permissions, or something. Could you paste your apache php definitions, please, so we know what apache is doing when it gets a php4a / php4c url. Thanks. ------------------------------------------------------------------------ [2002-01-04 20:54:51] [EMAIL PROTECTED] The correct links: Apache API: http://www.wenpas.ch:8080/phpinfo.php4a CGI API: http://www.wenpas.ch:8080/phpinfo.php4c Pascal ------------------------------------------------------------------------ [2002-01-04 20:51:14] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14865&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]