[mapserver-users] php error
Alan Boudreault
aboudreault at mapgears.com
Wed Jan 13 14:41:17 PST 2010
PHP mapscript hasn't been compiled with php 5.2.9. You'll have to
rebuild the module with the proper php lib. You probably have a old php
4.x on your system too.
Alan
bascom49 wrote:
> I am installing mapserver 5.4.2. My php version is 5.2.9.
>
> I am getting an error message with the following code :
>
> php
> if (PHP_OS == "WINNT" || PHP_OS == "WIN32") {
> $dllversion = 'php_mapscript.dll';
> } else {
> $dllversion = 'php_mapscript.so';
> }
> if (!extension_loaded('MapScript')) {dl($dllversion);}
> phpinfo();
> ?>
>
> A link to the file producing this error is at :
> http://174.120.238.19/info.php
>
> You can view my php configuration at this link:
> http://174.120.238.19/info.php
>
>
> Does anyone have experience with the following php issue ?
>
>
> [13-Jan-2010 14:00:04] PHP Warning: PHP Startup: Unable to load dynamic
> library
> '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/âphp_mapscript.soâphp_mapscript.soâ
> [13-Jan-2010 14:00:04] PHP
> Warning: PHP Startup: UõSHìè: Unable to initialize module
> Module compiled with module API=20020429, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
>
>
> Thanks,
> Charles
>
--
Alan Boudreault
Mapgears
http://www.mapgears.com/
More information about the MapServer-users
mailing list