<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
# gd php<br>
-bash: gd: command not found<br>
<br>
Unfortunately, I have no "gd" binary on my system. <br>
<br>
gd2copypal <br>
gdcmpgif<br>
gd2togif <br>
dlib-config<br>
gd2topng <br>
gdparttopng<br>
gdtopng<br>
<br>
Are the only binaries related to GD I can use... Where did you find
that "gd" executable ? Is is a compilation flag ?<br>
<br>
<br>
<br>
<br>
Umberto Nicoletti a écrit :
<blockquote
cite="mid:75b4b93e0711140311k73bd3869vdbd83ec9458a2921@mail.gmail.com"
type="cite">
<pre wrap="">If you can run php on the cli and try to debug it with gd.
Example:
suppose the crashing page is mapserver.php
just run:
shell > gd php
gd > start mapserver.php
and post the otuput.
Umberto
On Nov 14, 2007 11:39 AM, Julien <a class="moz-txt-link-rfc2396E" href="mailto:g2c.martel@orange.fr"><g2c.martel@orange.fr></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> Sorry for the wrong reply adress.
The crash happens with every request. In fact it is just impossible to
display the map. I am using GD 2.0.35, built from source, no other version
existing on the system...
Umberto Nicoletti a écrit :
Please keep the list in cc or to.
Does the crash happen with every request or only once in a while, say
after 10 minutes?
Which gd are you using and/or have you got another gd lying around in
your system path?
Umberto
On Nov 14, 2007 9:17 AM, Julien <a class="moz-txt-link-rfc2396E" href="mailto:g2c.martel@orange.fr"><g2c.martel@orange.fr></a> wrote:
shp2img works perfectly. here are my configure options :
./configure --with-proj --with-wmsclient --with-ogr --with-libwww
--with-gdal --enable-runpath --enable-debug --without-tiff
--with-gd=/usr/local --with-freetype=/usr/local --with-threads
--with-curl-config=/usr/bin/curl-config --with-wfs --with-wcs
--with-wmsclient -with-wfsclient --with-php=/usr/src/php-4.4.4/
--with-httpd=/www/bin/httpd --with-geos=/usr/local/bin/geos-config
--with-mapscript
Above path are correct and libraries are detected the right way...
Umberto Nicoletti a écrit :
Could you document *precisely* how you built php mapscript (configure
flags, etc)?
Also try to run the shp2img utility on one of the crashing map files
to see if you can reproduce the error.
Umberto
On Nov 13, 2007 2:40 PM, Julien <a class="moz-txt-link-rfc2396E" href="mailto:g2c.martel@orange.fr"><g2c.martel@orange.fr></a> wrote:
Hi all (sorry if double posted),
Upgrading Mapserver/Mapscript from 4.10.1 to 5.0 causes an apache crash on
our server, with all our projects (with more or less complex mapfiles). I
have no error during mapscript compilation. When PHP is installed as an
apache DSO the error log reports the following errors :
*** glibc detected *** /www/bin/httpd: free(): invalid next size (fast):
0x0867db38 ***
[Wed Nov 7 13:54:06 2007] [notice] child pid 23219 exit signal Segmentation
fault (11)
When PHP is installed as a CGI executable, the error log reports the
following :
[Thu Nov 8 14:56:46 2007] [error] [client xxx.xxx.xxx.52] Premature end of
script headers: /www/cgi-bin/php
Downgrading to 4.10.1 makes everything working back again. I didn't
succeeded in replicating the problem on a test machine using
the same software environnement.
Here's my software environnement (everything built from source) :
Ubuntu 6.10 Server
Apache 1.3.39 with OpenSSL 0.9
PHP 4.4.4 (I tried to build php as an Apache DSO as well as CGI, both are
crashing)
Curl and LibCurl 7.15.5
Freetype 2.3.4
GD 2.0.35
Gdal 1.4.3
GEOS 2.2.3
GeoTiff 1.2.3
Tiff 3.7.1
Zlib 1.2.3
Any help would be greatly appreciated.
Julien MARTEL
Technicien Informatique et Réseaux
2 Avenue Madeleine Bonnaud
Parc d'Activités, Point Rencontre
13770 Venelles - FRANCE
Tel : +33 (0) 4 42 54 00 68 Fax : +33 (0) 4 42 54 06 78
e-mail : <a class="moz-txt-link-abbreviated" href="mailto:j.martel@g2c.fr">j.martel@g2c.fr</a> web : <a class="moz-txt-link-abbreviated" href="http://www.g2c.fr">www.g2c.fr</a>
Lire les conditions légales d'utilisation de cet e-mail
Venez nous retrouver sur les prochains salons
---------------------------------------------------------------------------------------
Orange vous informe que cet e-mail a ete controle par l'anti-virus mail.
Aucun virus connu a ce jour par nos services n'a ete detecte.
---------------------------------------------------------------------------------------
Orange vous informe que cet e-mail a ete controle par l'anti-virus mail.
Aucun virus connu a ce jour par nos services n'a ete detecte.
</pre>
</blockquote>
<pre wrap=""><!---->---------------------------------------------------------------------------------------
Orange vous informe que cet e-mail a ete controle par l'anti-virus mail.
Aucun virus connu a ce jour par nos services n'a ete detecte.
</pre>
</blockquote>
<br>
</body>
</html>