[Chameleon] PHP5 and Chameleon
jacob.delfos at maunsell.com
Tue Mar 1 20:30:28 EST 2005
I just gave it a quick try. I'm running apache 2.52 on Windows XP. I
normally use PHP4.3.8 as a CGI, with php_mapscript_44. I changed to php
5.0.3 CGI, with php_mapscript_45. I did not measure things as you did, but I
noticed a slight drop in performance (roughly 25%). I haven't tried it as a
module (never got that to work).
I got a few errors when using php5, in my Apache error log:
[Wed Mar 02 09:12:55 2005] [error] [client 172.21.40.93] PHP Notice: Trying
to get property of non-object in
C:\\chameleon\\epra\\htdocs\\widgets\\Widget.php on line 386, referer:
then one of these lines for every layer turned on:
[Wed Mar 02 09:12:56 2005] [error] [client 172.21.40.93] msDrawMap(): Layer
9 (Localities), 0.203s\r, referer:
[Wed Mar 02 09:12:56 2005] [error] [client 172.21.40.93] msDrawMap():
Drawing Label Cache, 0.000s\r, referer:
What is the difference in PHP5 between php.exe and php-cgi.exe? It didn't
work using normal php.exe.
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of bartvde at xs4all.nl
Sent: 1 March 2005 23:23
To: chameleon at lists.maptools.org
Subject: [Chameleon] PHP5 and Chameleon
today I have done a little testing using the sample_roi application on
Windows using Mapserver/Mapscript current CVS version.
First of all, I tested with PHP 4.3.10 as a CGI:
I got 31/32 hits in a minute.
After that I tested with PHP 4.3.10 as a module
34 hits in a minute.
I had expected a higher increase in performance.
Then I compiled php mapscript for PHP5, and switched my MS4W environment
to use PHP 5 as an Apache 2 module. The results here quite astonish me:
only 13 hits in a minute
Did anybody else use PHP5? And experience this drop in performance?
Any thoughts appreciated.
Chameleon mailing list
Chameleon at lists.maptools.org
More information about the Chameleon