PHP NSAPI HTTP2205 error on Solaris 10/WS7

Hi,

I built and configured PHP on a Solaris 10 box with WS7.

I'm getting "Method Not Allowed" error when trying out a test php file.

Here is the error message in the log.

[23/Apr/2007:15:30:11] config ( 4830): for host xxx.xxx.x.xx trying to GET /blah.php, handle-processed reports: HTTP2205: The request method is not applicable to the requested resource.

I used the PHP article linked from the sticky announcement here on the board to do the install as an NSAPI.

The only thing I didn't do was the NameTrans fn="pfx2dir", but don't see that as necessary since I do not need/want a specific PHP directory.

Any ideas that can point me in the right direction?

Thanks.

[724 byte] By [bartmcpa] at [2007-11-27 2:03:26]
# 1
If you want php to get executed for all diretories then in obj.conf, indefault Object, you can add the required service function e.g<Object name="default">...Service type="magnus-internal/php" fn="php5_execute" ......</Object>
Basantka at 2007-7-12 1:45:45 > top of Java-index,Web & Directory Servers,Web Servers...
# 2

Thanks for the reply.

I thought I had updated the virtual server's obj.conf file since it looked the way I thought it should.

It turns out I needed to update this file. (Buried deep in a place I didn't think I should be touching.)

/usr/local/webserver7/admin-server/config-store/virtualserver/config/ virtualserver-obj.conf

Once it was changed and the server redeployed PHP worked fine.

bartmcpa at 2007-7-12 1:45:45 > top of Java-index,Web & Directory Servers,Web Servers...
# 3
i am not sure, if u r using it. ws7 php add on plugin that was released recently does come with a setupPHP script that can simplify the process of configuring php with your web server.
chilidevelopera at 2007-7-12 1:45:45 > top of Java-index,Web & Directory Servers,Web Servers...
# 4
After I did the change I posted previously PHP is working fine.I decided to compile PHP and not use the add-on, since the add-on only supports MySQL and PostgreSQL databases. I needed to add MSSQL support.
bartmcpa at 2007-7-12 1:45:45 > top of Java-index,Web & Directory Servers,Web Servers...