[Mapserver-users] --with-php, Mapserver 4.0.1, and Fedora

Paul Dugas Paul at DugasEnterprises.com
Wed Apr 7 11:29:48 PDT 2004


Lindsay C. Blanton said:
> I downloaded the source RPM's for PHP, and pointed the --with-php=DIR
> directive to the source directory where they were installed, however the
> configure script is still complaining that config.h / php_config.h is
> not present.  I can't find these files anywhere in the latest
> distributions of PHP 4.3.5, nor with the Redhat Sources for php.

Tried it today with the same setup and got a bit farther but not all the
way.  I installed the php-devel RPM rather than the full source package
and got it to configure using 'configure
--with-php=/usr/include/php/main'.  Then I manually modified the resulting
Makefile in mapscript/php3/ changing

  PHP_SRC_DIR = /usr/include/php/main

to

  PHP_SRC_DIR = /usr/include/php/

The build went okay but I got all kinds of errors (didn't record them but
could if needed) when I copied the SO into the right directory, fired up
apache, and hit some of the examples.  I'm wondering if this might be an
apache 2.0 problem?

Paul

--
Paul A. Dugas <paul at dugasenterprises.com>         phone: 404.932.1355
Dugas Enterprises, LLC                              fax: 770.516.4841
1711 Indian Ridge Drive, Woodstock, GA 30189 USA
--
On-site at Georgia DOT, 404.463.2860 x158, paul.dugas at dot.state.ga.us



More information about the MapServer-users mailing list