Bug #14865 Updated: php4apache.dll - phpinfo error - winXP - Apache

From: Date: Sun, 06 Jan 2002 12:05:06 +0000
Subject: Bug #14865 Updated: php4apache.dll - phpinfo error - winXP - Apache
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76020@lists.php.net to get a copy of this message
ID: 14865
User updated by: p.wenger@gmx.ch
Reported By: p.wenger@gmx.ch
Old Status: Feedback
Status: Open
Bug Type: Apache related
Operating System: Win XP Prof
PHP Version: 4.1.1
New Comment:


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)





Previous Comments:
------------------------------------------------------------------------

[2002-01-04 20:59:57] imajes@php.net

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] p.wenger@gmx.ch


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] p.wenger@gmx.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

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14865&edit=1



Thread (10 messages)

« previous php.dev (#76020) next »