For Mapserver 4.10 and PHP 5.1.6:

Add this line after all the PHP tests...

     test -f "/usr/include/php/Zend/acconfig.h" &&
PHP_SRC_DIR="/usr/include/php/" &&
PHP_CONFIG_H="/usr/include/php/Zend/acconfig.h"

It is a hack, but it will make the module compile for Apache2/PHP5.  Be
sure to have the php-devel or like package loaded.  Once PHP stops moving
headers around maybe a fix will sneak into the configure script for
Mapserver.  The permutations needed in the last couple updates have been
numerous.

We are using prefork with no problems.

Several versions of Mapserver compiled fine with PHP5 once you find the
correct header files and locations.

Details on our manual installation can be gleemed from here:
  https://db.aoos.org/wiki/index.php/AOOS_Systems_Software

Our base operating system is 32-bit 2007.0 Mandriva

Rob

On Fri, December 22, 2006 5:39 am, Daniel Morissette wrote:
> Gregor Mosheh wrote:
>>
>> Reading those bugzilla entries, that's very encouraging. Thanks for
>> pointing those out, Antti.
>>
>> Any "it works for me" with Unix, Apache 2 (thread or prefork), PHP 5
>> as a
>> DSO, using a lot of PHP/Mapscript? Is there an "official" word on the
>> stability of this configuration? Or am I gonna have to try it myself
>> for a
>> few days and post a "it seems to work for me"? :)
>
> Yes, version 4.10 should be safe to use with PHP as an Apache module, I
> am not aware of any outstanding issue on that front... 4.6.1 and 4.8
> might be okay too, but I'm not sure, so using 4.10 is the safest way to
> go.
>
> Daniel
> --
> Daniel Morissette
> http://www.mapgears.com/
>


--
Alaska Ocean Observing System
Database Manager
907-474-7948 (skype:rob_cermak)


Attachment: RFOHeader2.txt
Description: RFOHeader2.txt

Attachment: RFOHeader2.txt
Description: RFOHeader2.txt

Reply via email to