PHP 4.2.1 released 18
ClickNMix writes: "The latest version of PHP has been released here. With improved DomXML and Apache 2 support in with the usual bug fixes and improvements." There is still no production support for PHP or for that matter mod_perl in Apache 2.0 yet though.
This is old (Score:2, Informative)
Anyway, no, it doesn't have production Apache 2.0 support, and won't until 4.3.0, but it works fine for me for development purposes. Even with the Windows versions.
Re:This is old (Score:1, Offtopic)
Seriously though, I posted this, oddly enought, 11 days ago.. and it was rejected.. why/how its turned up now Im not sure!!
And yeah, my bad on the wording, the Apache 2.0 support is still development but it is supposed to be better then prior versions. To quote the site: PHP 4.2.1 also has improved (but still experimental) support for Apache version 2.0
Re:Installation under apache 2.0 (Score:1, Insightful)
(to the end of the list)
LoadModule php4_module modules/php4apache2.dll
AddType application/x-httpd-php
(not the older apache one, but the newer php4apache2.dll, it's in the sapi directory)
I believe there's a way to use it with the new filtering stuff, but the PHP docs aren't really clear on this yet... however, this will work.
Make sure you copy the php.ini and other php files to the right places.
Re:Installation under apache 2.0 (Score:1, Informative)
I have, however failed to get it to work so far
This is what i have done so far:
1) I have installed The PHP files in C:\PHP\
2) I have copied php.ini-dist to c:\WINNT\
3) I have edited php.ini in c:\WINNT\ as follows:
doc_root = "c:\Program Files\Apache Group\Apache2\htdocs\"
extension_dir = "c:\php"
4)I have modied httpd.conf in c:\Program Files\Apache Group\Apache2\conf\ in the following fashion:
LoadModule php4_module c:/php/sapi/php4apache2.dll
#AddModule mod_php4.c
AddType application/x-httpd-php
Now, as you can see, the mod_php4.c part is commented out. If I let it in, apache fails to start. If I comment it out, apache starts but it doesnt interpret my php scripts.
People on #php tell me that the new version of PHP wont work with apache 2.0 yet. Prove them wrong if you can.
.. and tell me what I am doing wrong (other than trying to run a webserver off a w2k machine)
.. and yes, now I have R(ead)TFM several times.
Re:Installation under apache 2.0 (Score:1, Informative)
And, just so you know, from my phpinfo screen:
_SERVER["SERVER_SOFTWARE"]Apache/2.0.36 (Win32) PHP/4.2.1
Re:Question (Score:1, Informative)
They are optional modules. If you don't know what they're for or have no use for them, don't download them, or go read about them and find out.
Re:Question (Score:1)
Two, the article indicated a PHP bundled with Apache, and I've seen Apache downloads from the Apache web site that are bundled with mod_perl (and mod_ssl). Thats why I asked my question.
If only it compiled cleanly under Solaris ... (Score:1)