Opened 16 years ago
Closed 14 years ago
#2597 closed defect (worksforme)
PROJ_LIB reset with PHP as a module
Reported by: | jlacroix | Owned by: | dmorissette |
---|---|---|---|
Priority: | normal | Milestone: | 5.2.1 release |
Component: | MapScript-PHP | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | dmorissette, sdlime, aboudreault |
Description
MapServer reprojection is not working with PHP compiled as an Apache module. Everything is fine on the first load of the page, but when we access the same process (same pid), then the PROJ_LIB library doesn't load. We get the following error: Projection library error. no system list
This is probably due the fact that the msCleanup() function at the end of a MapServer process delete the content of the PROJ_LIB environment variable:
msSetPROJ_LIB( NULL );
Change History (7)
comment:1 by , 16 years ago
Cc: | added |
---|---|
Component: | MapServer C Library → MapScript-PHP |
Milestone: | → 5.0.3 release |
Owner: | changed from | to
comment:2 by , 16 years ago
Milestone: | 5.0.3 release → 5.2 release |
---|
comment:3 by , 16 years ago
Milestone: | 5.2 release → 5.2.1 release |
---|
comment:4 by , 16 years ago
Cc: | added |
---|
comment:5 by , 16 years ago
Cc: | added; removed |
---|
comment:6 by , 16 years ago
I did few tests with differents configurations of FGS/Apache/php, mapserver 4.10.3, 5.0.0, 5.0.2 and this bug doesn't seem to be in 5.0.0 and higher version of Mapserver/php_mapscript. I can't reproduce it with >=5.0.0 and all configurations i tried. I suggest to close this bug and reopen it if someone found a right configurations for reproduce it with the trunk.
comment:7 by , 14 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing WORKSFORME since we cannot reproduce.
Moving this to PHP MapScript component since this is most likely caused by the way PHP MapScript handles calls to msCleanup().