On 10/27/2012 8:15 PM, Stephen Woodbridge wrote:
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

need more help? google: install php mapscript ubuntu
will probably get all you need, if not ask.

-Steve W

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to