#17826 [Fbk->Csd]: PHP 4.2.1 Apache SAPI is not compatible with Apache 2.0.39
| From: | edink@php.net | Date: | Fri, 11 Oct 2002 13:37:20 +0000 |
| Subject: | #17826 [Fbk->Csd]: PHP 4.2.1 Apache SAPI is not compatible with Apache 2.0.39 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22155@lists.php.net to get a copy of this message | ||
ID: 17826
Updated by: edink@php.net
Reported By: jan@penninkhof.com
-Status: Feedback
+Status: Closed
Bug Type: Apache2 related
Operating System: Win32
PHP Version: 4.2.1
Assigned To: edink
New Comment:
PHP will work with whatever is current Apache version at the time of
its release.
Newer versions of Apache2 often break backwards compatibility so
php4apache2.dll will not work with them.
So either use the version of Apache that is supported by that PHP
release, or use (almost) always current snapshot from
http://snaps.php.net/win32/
Previous Comments:
------------------------------------------------------------------------
[2002-10-11 07:01:27] emchojin@hotmail.com
Thank you for all the Help
Its working perfect with the php4apache2.dll from the Prerelease PHP
Version 4.2.4 from
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
But it take alot of time to find this Bugreport.
If you would add a little link from the Downloadpage of PHP to this
Page, it would help many scared php-newbies like me ;)
Thanks for all the help
Chojin
------------------------------------------------------------------------
[2002-10-05 10:58:07] me@jonsimpson.co.uk
after having some trouble with this myself on both apache 2.0.42 and
2.0.43 and finding this thread, i used just the php4apache2.dll file
from
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
with the rest of the files being php 4.2.3 ones, and it works perfectly
now. havent seen any bugs so far.
hope this helps someone :)
------------------------------------------------------------------------
[2002-10-04 00:30:50] jhiltunen@genencor.com
Hello.
I figured this out. There is no other way than using a 2.0.36 version
and apache2filter.dll ! That seems to work perfectly. Only problem is
that where from you can find 2.0.36 version of the Apache. Here is
location where from I downloaded it: http://apache.kr.net/dist/
I have now PHP 4.2.3, MySQL and Apache 2.0.36 up and running. I have
done quite a few tests and I didn't face problems.
In httpd.conf you need just following lines:
LoadModule php4_module c:/www/bin/php4/experimental/apache2filter.dll
DirectoryIndex index.php index.html index.html.var index.htm
index.phtml index.php3 default.htm
AddType application/x-httpd-php .php .php3 .phtml .php4
That all you need. Apache2filter.dll might be also problematic to find,
but I found it from older PHP distributions (4.2.0, see
http://ftp.proventum.net/pub/php/win32/)
Greetings,
Jari Hiltunen, aka OH4BC
------------------------------------------------------------------------
[2002-10-04 00:02:29] kreynolds@guidecomm.net
Sniper, the newest snapshot does not fix the problem here.
Apache_2.0.43 doesn't read the php4apache2.dll correctly. Has anyone
got this to work yet?
------------------------------------------------------------------------
[2002-10-03 19:12:10] 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/17826
--
Edit this bug report at http://bugs.php.net/?id=17826&edit=1