Although I believe that I have followed the instructions in
http://www.php.net/manual/en/install.netscape-enterprise.php, attempts to
view PHP pages through my SunONE Application Server are producing an Error
500 which is logged as:

[01/Jul/2004:19:29:06] SEVERE (  754): for host 192.168.0.202 trying to GET
/id/hello.php, handle-processed reports: HTTP2028: no way to service request
for /id/hello.php

The server log reports a successful initialization for PHP (with the
"exspected" spelling error):

[01/Jul/2004:19:28:03] INFO (  754): php4_init reports: Initialized PHP
Module (128 threads exspected)

The following lines have been added to the configuration files for PHP:

init.conf:
Init fn="load-modules" funcs="php4_init,php4_execute,php4_auth_trans"
shlib="/usr/appserver/bin/libphp4.so"
Init fn="php4_init" LateInit="yes" errorString="Failed to initialize PHP!"

mime.types:
type=magnus-internal/x-httpd-php        exts=php

obj.conf:
Service method="(GET|HEAD|POST)" type="magnus-internal/x-httpd-php"
fn="php4_execute"
(This is before the Service method entry for "*~magnus-internal/*"

PHP from the command line processes my hello.php file correctly.

If you have successfully installed PHP via NSAPI, especially for the SunONE
Application Server, and can suggest what else needs to be done to resolve
this problem, I would be very grateful.

Thanks in advance.

Ivor Durham

Reply via email to