Opened 12 years ago

Last modified 12 years ago

#9 accepted defect

php-mapserver crashing on EL5

Reported by: mbaudier Owned by: mbaudier
Priority: major Milestone: 5.7
Component: dependencies Version: 5.5
Keywords: Cc:

Description

(reported by Pavel Iacovlev)
(http://lists.osgeo.org/pipermail/el/2011-December/000840.html)

Sorry to bring attention to this thread again, but I still cant get
php-mapserver working properly in ELGIS 5 stable.
My steps are:

  • Install a fresh CentOS 5 distribution
  • Add the ELGIS 5 repo
  • Enable elgis-plus in /etc/yum.repos.d/elgis.repo (thats because

php-mapserver does on work with just elgis due to spatialite errors)

  • Install php-mapserver

After this php runs fine, with no errors about spatialite, BUT then I
try to connect to the database apache crashes with the following
message: [Tue Dec 13 11:49:53 2011] [notice] child pid 6502 exit
signal Segmentation fault (11)

The php script to reproduce is rather simple:
<?php
$conn = pg_connect("dbname=gis username=user password=pass host=localhost");

Any ideas how to get php-mapserver working on CentOS 5 ?

Change History (2)

comment:1 by mbaudier, 12 years ago

Milestone: 5.7
Status: newaccepted

comment:2 by mbaudier, 12 years ago

(Pavel Iacovlev)

I found a similar bug but instead of php conflicting with mapserver's SSL it was php conflicting with CURL's SSL.

So I renamed mapserver.ini to z_mapserver.ini (this will make it load after pgsql.ini) and the segmentation fault is gone.

Note: See TracTickets for help on using tickets.