Greetings everyone.<br>
<br>
I have gone through various documents for several days, to try to get
PHP/Mapscript working on FC5.&nbsp; While I am familiar with CGI
Mapserver, the PHP configuration is new to me.&nbsp; I keep getting a
&quot;PHP Warning: dl() [&lt;a href=&#39;function.dl&#39;&gt;function.dl&lt;/a&gt;]:
Unable to load dynamic library &#39;/usr/lib/php/modules/php_mapscript.so&#39; &quot;<br>
<br>
I compiled mapserver with the --with-php=DIR option, and got a
php_mapscript.so file from Make, which I placed in the
/usr/lib/php/modules directory (as per my php.ini file).&nbsp; The .so
file is accessable by apache, and has r-x permissions.&nbsp; my
phpinfo() works fine and spits back a bunch of stuff, but I keep
getting an &quot;unable to load php_mapscript.so&quot; error in apache web
log.&nbsp; I checked the php.ini file, and it is pointing to the
&#39;/usr/lib/php/modules&#39; directory.&nbsp; the php.ini file also allows
for dl
loads.<br>
<br>
I used this document, (which was from 2004, so I presume FC4 or maybe
FC3?)&nbsp;
<a href="http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0404/msg00266.html">http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0404/msg00266.html</a>&nbsp;
and had no luck.&nbsp; I am not sure I understand why a wrapper script
is needed in this example. <br>
<br>
I&nbsp; also uninstalled the RPM of PHP and tried a source install
which didnt work, however, i didnt really try&nbsp; much with the
configure options from source, and went back to the RPM software.<br>
<br>
On the FAQ page of mapserver, it says that PHP/Mapscript has to be
setup as CGI, but others had mentioned to me they were successfully
using PHPmapscript as a module without problems on Debian.&nbsp; The
RPM install on FC5, puts a &quot;php&quot; and a &quot;php-cgi&quot; program in the
/usr/bin directory.&nbsp; i tried pointing to the php-cgi app too, but
no luck.<br>
<br>
<br>
Any suggestions are most welcome.<br>
<br>
Mark<br>