IWS 6.0 SP5 and php
807567Aug 4 2003 — edited Nov 19 2003Hi everybody, i need an help about Iplanet IWS 60 SP5 and php:
I installed php 4.3.2 (with ./configure with-mysql with-nsapi=/iplanet/iws --enable-libgcc make make install and all is working fine).
I modified the LD_LIBRARY_PATH adding /usr/local/lib on startup script, i added the new mime-type, i added
Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="/iplanet/iws/bin/libphp4.so"
Init fn=php4_init errorString="Failed to initialize PHP!"
on magnus.conf file and i added
Service type="magnus-internal/x-httpd-php" fn="php4_execute"
and
<Object name="x-httpd-php">
ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
Service fn=php4_execute
</Object>
When my request is a php page the server response:
Warning: Unknown(/wwwdocs/prd/WebProjects/php/index.php): failed to open stream: No such file or directory in Unknown on line 0
Warning: (null)(): Failed opening '/wwwdocs/prd/WebProjects/php/index.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknow on line 0
Thank and regards in advance to everybody