<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello, Ningchuan <br>
<br>
You have added the path to the other compiled lib in /etc/ld.so.conf ?<br>
<br>
Ningchuan Xiao a &eacute;crit&nbsp;:
<blockquote
 cite="mid:92eb73050805301534v4c9d3cdeh4ff69994d499264a@mail.gmail.com"
 type="cite">Dear all,<br>
  <br>
I am having trouble to get php/mapscript work on fedora 7 and I would
appreciate any input on this.<br>
  <br>
I compiled Mapserver 5 successfully and the php_mapscript.so file seems
to be built fine (without any compiler error messages). I copied the
php_mapscript.so file to the /usr/lib/php/modules directory which also
contains other php extensions. In the php.ini file, I added the
following two lines:<br>
  <br>
extension_dir = "/usr/lib/php/modules"<br>
extension="php_mapscript.so"<br>
  <br>
I also added a php_mapscript.ini file to the /etc/php.d folder. This
file only contains one line:<br>
  <br>
extension=php_mapscript.so<br>
  <br>
To test the installation of php/mapscript, I use the example file
called phpinfo_mapscript.php, which is as simple as this:<br>
  <br>
&lt;HTML&gt;<br>
&lt;?php <br>
if (PHP_OS == "WINNT" || PHP_OS == "WIN32")<br>
{<br>
&nbsp; dl("php3_mapscript.dll");<br>
}<br>
else<br>
{<br>
&nbsp; dl("php_mapscript.so");<br>
}<br>
&nbsp; phpinfo();<br>
?&gt;<br>
  <br>
There is no listing of the mapscript extensions table (there is no such
a table actually). I tried the phpinfo_mapscript.phtml file (which has
exactly the same content of the php file listed above) but only got a
blank page in the browser.<br>
  <br>
Can anyone please help?<br>
  <br>
Thanks,<br>
Ningchuan<br>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>