Have you tried creating a simple PHP script and testing, followed by a simple PHP-MapScript script (and testing)?
Aaron
On 2/22/06, Sebastian Albrecht <[EMAIL PROTECTED]> wrote:
Hello,
I just wanted to change from 4.6.1 to 4.8.1 because I've read the
querymapObj is available in PHP/Mapscript since 4.8.
So what I did was taking my old configure line from 4.6.1 and using it
for the new version:
./configure
--enable-force-freetype1
--with-gd=/usr/local
--with-zlib
--with-jpeg
--with-tiff
--with-png
--with-xpm=/usr/X11R6
--with-threads
--with-proj=/usr/local
--with-php=/usr/local/src/php- 5.0.4
--with-gdal=/usr/local/bin/gdal-config
--with-ogr=/usr/local/bin/gdal-config
--with-postgis=/usr/local/pgsql/bin/pg_config
--with-wfs
--with-wcs
--with-wmsclient
--with-wfsclient
--with-curl-config=/usr/local/bin/curl-config
The compiling finishes without errors but all my MapScript applications
which use PNG as output format don't work.
It says "INTERNAL SERVER ERROR"
which is "Premature end of header in /usr/local/bin/php".
My PHP version is 5.0.4 which uses the same GD (2.0.33) installation as
MapServer. And it worked with 4.6.1 without problems.
Anybody had a similar problem or knows what to do?
Sebastian
--
+--------------------------------------------
| Aaron Koning
| Information Technologist
| Prince George, BC, Canada.
+--------------------------------------------
| http://datashare.gis.unbc.ca/fist/
| http://datashare.gis.unbc.ca/gctp-js/
+--------------------------------------------
