PHP install

Andrew Smith killersmython at BIGPOND.COM
Wed Aug 16 02:43:10 EDT 2006


This is not a solution or a concrete explanation, but...

I did read some where (a forum on php.net I think, it was july last 
year)  that PHP didn't like working with Apache 2.2 as a shared module.  
I found this out when I tried to compile PHP5 for apache 2.2 on Fedora 
Core 4.  The solution to this was to compile PHP-4.4.3 and use it with 
Apache 1.3.  I found that both Mapserver and Apache worked well 
(efficiently - as this was for benchmarking purposes) when some tweaking 
was done.

As i said not a solution or full explanation, just another user 
experience and maybe something to help further investigation

Andrew Smith
Spatial Technical Consultant
Lagen Spatial Pty Ltd
ph: +61 (0)2 9545 7740
email: andrew at lagenspatial.com.au
Web: www.lagenspatial.com.au

Ryan Ollerenshaw wrote:

>> When trying to install php either version 4.4.3 or 5.1.4 i get the 
>> following error after a make install:
>>
>> chmod 755 /var/www/modules/libphp5.so
>> chmod: cannot access `/var/www/modules/libphp5.so': No such file or 
>> directory
>> apxs:Error: Command failed with rc=65536
>>
>> I have seen lots of other people getting this error but never any 
>> solutions. so any help would be great.
>
>
> Ok i was able to find the solution in a different thread. for some 
> reason the php source file: php-4.4.3.tar.gz doest not seem to work 
> with mapserver and postgreSQL at the same time.  I found this also to 
> be true with all of the PHP version 5+ sources.  The only source that 
> seems to work with all the libraries and tools needed for Mapserver is 
> php-4.4.3.tar.bz2
>
> if anyone has any reasoning as to why that is i would be really 
> interested in knowing.  Also i am running Fedor Core 5 and Apache 2.2 
> and i have the same problem on my Suse 10.1 system with Apache 2.2
>



More information about the mapserver-users mailing list