[mapserver-users] mapserver and php

Vince Miller vincentpmiller at yahoo.com
Sun Oct 28 09:37:35 PDT 2012


Thank you for your advice. 

After apparent success of:  sudo apt-get install php5-dev

The command:

./configure --with postgis --with-geos --with php=/usr/include/php5/main

returns the message

...
checking for location of php_config.h... configure: error:
!!! Could not find php_config.h and php_version.h in /usr/include/php5/main.          !!!
!!! Has PHP been configured yet?  


yet these two files are present in the stated directory:

sudo ls /usr/include/php5/main/php_*.h

...
/usr/include/php5/main/php_config.h
...
/usr/include/php5/main/php_version.h

Any further advice?


More information about the mapserver-users mailing list