Using PHP Shared Object Library with PHP/Mapscript, MapServer and PostGIS
Kyle Wilcox
Kyle.Wilcox at NOAA.GOV
Mon Jul 16 09:02:03 PDT 2007
$ sudo yum install php-pgsql
Bill Thoen wrote:
> I would like to try out PHP/Mapscript, but the data source for my
> MapServer includes PostGIS files, and the installed version of PHP was
> not compiled using the --with-pgsql switch. Rather than go through the
> hassle of recompiling PHP, I noticed that you can use the dl() function
> in PHP to load the necessary library. Specifically, I need the database
> access functions pg_connect() and friends, and I'm using a Fedora Core 5
> box.
>
> My question is, where would I find the correct shared object library to
> use with dl() or is this not the right approach?
>
> TIA,
>
--
Kyle Wilcox
NOAA Chesapeake Bay Office
410 Severn Avenue
Suite 107A
Annapolis, MD 21403
office: (410) 295-3151
Kyle.Wilcox at noaa.gov
"It is from the wellspring of our despair and the places
that we are broken that we come to repair the world."
- Murray Waas
More information about the MapServer-users
mailing list