Timothy,

My experience is that PHP/Mapscript runs well under PHP as DSO when Apache is a non-threaded version. So either Apache 1.3, or Apache 2 as prefork version, not the threaded MPM (this is recommended anyway in the PHP docs, see http://www.php.net/manual/en/faq.installation.php#faq.installation.apache2). It seems that on Windows Apache is always threaded, so there I just used PHP as CGI.

The special options for Mapserver/Mapscript compilation was to add '--with-php=/usr/local/include/php --with-httpd=/usr/sbin/apache2 '.

Armin

Timothy J Nolte wrote:
I know that there are still many sources pointing to the fact that you must
run PHP as a CGI for MapScript. I have also seen people talking about
running mapscript successfully with PHP as a DSO. Can anyone confirm they
are running under PHP DSO, and how did you get MapServer/MapScript to
compile under DSO? Thanks.

MapServer: 4.10.2
PHP: 5.1.4

Reply via email to