Can't Work PHP!

In beta2,PHP works on Sun Java System Webserver.But today,I updated beta2 to beta3 with new install,not work php.My Configuration is all copy of php website.My environment is WindowsXP Pro SP2,PHP4.4.4.
[230 byte] By [Ciel] at [2007-11-26 10:44:34]
# 1
What is the error you are getting ? Can you share your configuration details (obj.conf , magnus.conf ) ?
SeemaA at 2007-7-7 2:56:37 > top of Java-index,Web & Directory Servers,Web Servers...
# 2
It seems no error,but run php file,view sorce code.In beta2, normal php.ini,defoult settings(at php website's),it worked.At starting message,no error messages.
Ciel at 2007-7-7 2:56:37 > top of Java-index,Web & Directory Servers,Web Servers...
# 3

Sorry,add more infomation.

My Configuration:

obj.conf

<Object name="default">

AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"

NameTrans fn="ntrans-j2ee" name="j2ee"

NameTrans fn="pfx2dir" from="/mc-icons" dir="C:/Program Files/Sun/WebServer7/lib/icons" name="es-internal"

PathCheck fn="nt-uri-clean"

PathCheck fn="check-acl" acl="default"

PathCheck fn="find-pathinfo"

PathCheck fn="find-index-j2ee"

PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"

ObjectType fn="type-j2ee"

ObjectType fn="type-by-extension"

ObjectType fn="force-type" type="text/plain"

Service fn="php4_execute" type="magnus-internal/x-httpd-php"

Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"

Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"

Service method="TRACE" fn="service-trace"

Error fn="error-j2ee"

AddLog fn="flex-log"

</Object>

<Object name="j2ee">

Service fn="service-j2ee" method="*"

</Object>

<Object name="es-internal">

PathCheck fn="check-acl" acl="es-internal"

</Object>

<Object name="cgi">

ObjectType fn="force-type" type="magnus-internal/cgi"

Service fn="send-cgi"

</Object>

<Object name="send-precompressed">

PathCheck fn="find-compressed"

</Object>

<Object name="compress-on-demand">

Output fn="insert-filter" filter="http-compression"

</Object>

My magnu.conf

Init fn="load-modules" shlib="j2eeplugin.dll" shlib_flags="(global|now)"

Init fn="load-modules" funcs="php4_init,php4_execute,php4_auth_trans" shlib="c:/php/sapi/php4nsapi.dll"

Init fn="php4_init" LateInit="yes" errorString="Failed to initialise PHP!"

Ciel at 2007-7-7 2:56:37 > top of Java-index,Web & Directory Servers,Web Servers...
# 4
Looks like the MIME type mapping is missing for php.Add the following line to <webserver-instance-dir>/config/mime.types file. type=magnus-internal/x-httpd-php exts=phpand restart the Web Server.
SeemaA at 2007-7-7 2:56:37 > top of Java-index,Web & Directory Servers,Web Servers...
# 5
Thank You.But I added file-type infomation php at admin-console.Why doesn't write mime.types?I added mime-infomation on mime.types,then php perhaps works.But PHP said "Method Not Allowed An error has occurred.".How can I resolve this problem?
Ciel at 2007-7-7 2:56:37 > top of Java-index,Web & Directory Servers,Web Servers...
# 6

Can you post the steps that you followed to add the file type ?

The reason for the error "Method Not Allowed.." could be a mismatch in the mime-type specified within obj.conf (specifiied for php4_execute) and mime.types files. Make sure there is no typo !

In your case, both should be "magnus-internal/x-httpd-php" .

SeemaA at 2007-7-7 2:56:37 > top of Java-index,Web & Directory Servers,Web Servers...
# 7
Perhaps,I think no syntax error,because I copy and pasete settings from here. http://benoit.noss.free.fr/php/install-php4.htmlAt once,I retry to setting PHP clean installed XP.Why PHP works at beta2,can't work beta3?
Ciel at 2007-7-7 2:56:37 > top of Java-index,Web & Directory Servers,Web Servers...
# 8

I used your configuration and everything worked fine !

The steps that you followed to configure are correct. I'm only suspecting a typo !

When I removed a letter from the mime type specified in the obj.conf (the line which contains "php4_execute"), I too got the "Method Not Allowed" error. Hence, I asked you to cross check your configuration.

If it has worked in TP2, it should also work in TP3.

SeemaA at 2007-7-7 2:56:37 > top of Java-index,Web & Directory Servers,Web Servers...