[MS4W-Users] PHP Mapscript
Jeff McKenna
jmckenna at gatewaygeomatics.com
Fri Mar 4 09:34:15 EST 2011
Great answer by Ludwig.
I have also seen the following used in scripts, to avoid that problem:
if (!extension_loaded("MapScript")) dl("php_mapscript.dll");
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 11-03-03 1:22 PM, farouk azzouhri wrote:
> Hi,
> I use MapServer 4 Windows - version 3.0.1,Apache 2.2.17,PHP 5.3.5 Php
> works fine.Im able to run files with .php extension,but the below coding
> produces *error*:
>
> <HTML>
> <BODY>
>
> <?php
> *dl*("*php_mapscript*.*dll*");
> phpinfo();
> ?>
>
> </BODY>
> </HTML>
>
>
>
>
> Fatal error: Call to undefined function dl() in
> C:\ms4w\Apache\htdocs\monTP\data\first.php on line 7
>
>
>
> con you help me please ????
>
More information about the MS4W-Users
mailing list