php/mapscript set up
edfialk
wef1 at CEC.WUSTL.EDU
Wed Jan 17 08:42:38 PST 2007
Here's a good one, when I run: "php phpinfo.php" from the command line,
everything works GREAT, but when I view it in a browser window, it doesn't
seem to work.
Here's my phpinfo.php code:
if (extension_loaded("MapScript"))
echo "works!";
else
echo "doesn't work!";
print_r(get_loaded_extensions());
phpinfo();
[edfialk at niceguy mapserver]$ php phpinfo.php
works!<br>Array
(
[0] => xml
[1] => tokenizer
[2] => standard
[3] => session
[4] => posix
[5] => overload
[6] => mysql
[7] => ctype
[8] => pcre
[9] => MapScript
)
phpinfo()
PHP Version => 4.4.2
However when I go to this page in my browser
(http://niceguy.wustl.edu/mapserver/phpinfo.php), I get:
doesn't work!
Array ( [0] => yp [1] => xml [2] => wddx [3] => tokenizer [4] => sysvshm [5]
=> sysvsem [6] => standard [7] => sockets [8] => shmop [9] => session [10]
=> pspell [11] => posix [12] => pcre [13] => overload [14] => mime_magic
[15] => iconv [16] => gmp [17] => gettext [18] => ftp [19] => exif [20] =>
dio [21] => dbx [22] => dba [23] => curl [24] => ctype [25] => calendar [26]
=> bz2 [27] => bcmath [28] => zlib [29] => openssl [30] => apache2handler
[31] => gd [32] => ldap )
Totally different! I don't get it....
Anyone have any ideas?
Thanks!
-Ed
--
View this message in context: http://www.nabble.com/php-mapscript-set-up-tf3023338.html#a8413780
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list