[mapserver-users] mapserver and php
Stephen Woodbridge
woodbri at swoodbridge.com
Sat Oct 27 17:15:05 PDT 2012
On 10/27/2012 7:40 PM, Vince Miller wrote:
> I'm trying to get Mapserver 6.0.3 running with Apache and PHP under
> Ubuntu 12.04. The Apache/Mapserver connection works, as does the
> apache PHP connection, but Mapserver won't talk to PHP. I try
> compiling Mapserver
> --with-php=/usr/local/src/mapserver-6.0.3/mapscript/php and it fails
> to find php_config.h or php_version.h, neither of which can be found
> anywhere in the php files, let alone in mapscript/php. What am I
> doing wrong here?
>
> Thank youy very much for your help.
A couple of things:
1. make sure you instal the php5-dev package
sudo apt-get install php5-dev
2. --with-php=/usr
this should point to where you have installed php on your system,
NOT to the mapscript/php
-Steve W
More information about the MapServer-users
mailing list