[MS4W-Users] MS4W-Installation
Jeff McKenna
jmckenna at gatewaygeomatics.com
Tue Aug 7 08:35:35 EST 2012
Hello Alois,
Maybe nothing is wrong with your installation.
Since you are using MS4W 3.0.6:
- copy the file /ms4w/tmp/phpinfo.php into /ms4w/Apache/htdocs/
- in your web browser goto: 127.0.0.1/phpinfo.php
- the PHP/MapScript extension should be loaded automatically (search on
that page for "mapscript")
I also worry about your old Windows version (XP); some parts of MS4W
might not work properly with that.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 12-08-07 10:23 AM, Alois Dicklberger wrote:
> Hello Jeff,
> for installing ms4w I used your PHP MapScript Installation Guid. After
> Installation I tried to test the PHP/MapScript-installation with this
> php-file from your document:
>
> <HTML>
> <BODY>
>
> <?php
> if (PHP_OS == "WINNT" || PHP_OS == "WIN32")
> {
> dl("php_mapscript.dll");
> }
> else
> {
> dl("php_mapscript.so");
> }
> phpinfo();
> ?>
>
> </BODY>
> </HTML>
>
> After al long odyssey I found your mail in the ms4w-mailinglist
> from<http://dict.leo.org/ende?lp=ende&p=L3YAA&search=odyssey&trestr=0x8001>
> Dec 1st 2009. In this email you say that "since PHP version 5.3.0 you
> can no longer use PHP's dl().
> Mapscript.dll is already inabled in version 3.0.
> Now I tested my installation with:
>
> <?php
> if (!extension_loaded('php_mapscript')) {
> if (!dl('php_mapscript.so')) {
> exit;
> }
> }
> ?>
>
> The same error message was given back:
> *Fatal error*: Call to undefined function dl() in
> *C:\ms4w\Apache\htdocs\php_mapscript_neu.php* on line *3
>
> *Whats wrong in my installation?
> Windows xp
> ms4w 3.0.6
>
> Best wishes
> Alois
>
>
>
More information about the MS4W-Users
mailing list