Hi, I upgraded my Ubuntu server to the latest versions of Apache and PHP, using the standard apt versions. Then I downloaded MapServer 8.2.2, and compiled/installed it. Everything works fine, except for PHP-Mapscript. On startup PHP gives this warning:
PHP Warning: PHP Startup: mapscript: Unable to initialize module Module compiled with build ID=API20230831,TS PHP compiled with build ID=API20230831, NTS These options need to match This means that Mapscript has been compiled thread-safe, and Ubuntu’s PHP has been installed non-thread-safe. Phpinfo() gives “thread safety disabled”. Apache itself is non-threaded (prefork). How do I solve this? Is there a non-thread-safe option for Mapscript? Or alternatively, should I reinstall a thread-safe version of PHP and/or Apache? Or can this be changed in the running version? Jan _______________________________________________ MapServer-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
