SSI and PHP on WS 7.0
I installed WS 7.0 and PHP v5.2.3 (from php.net) on a SPARC server with Solaris 10. I installed PHP as NSAPI. I followed the instructions from the link at the top of this forum and I have run into a problem.
I can't get the server to parse both SSI and PHP. In files with a php extension, I can get the server to either parse the SSI or the PHP code both not both. Plain PHP files will not render anything. Files ending in shtml or html will parse SSI OK but not parse the php code.
Here is what I have
In the obj.conf file:
<object name="default">
...
PathCheck fn="find-index" index-names="index.html,home.html,index.jsp,index.shtml,index.php"
Service fn="php5_execute" type="magnus-internal/x-httpd-php"
...
</Object>
In the mime.types file:
type=magnus-internal/parsed-html extts=shtml,php,php3,phph4,php5
type=magnus-internal/x-httpd-phpexts=php,php3,php4,php5
In the magnus.conf file:
Init fn="load-modules" shlib="/path_name/libphp5.so" funcs="php5_ini
t,php5_close,php5_execute,php5_auth_trans"
Init fn="php5_init" errorString="PHP Initialization Failed!"

