php

bella

Namaste
I put a php formmail script in my web directory and when I test my form I receive an error message- The requested method post not allowed on...url.
So confused, what's up? Thanks a bunch.
:)
 
Do you have php installed/configured to work on your machine (I presume you're using your Mac as a web server?)
 
To turn on PHP, edit your Apace config file in /etc/httpd/httpd.conf using a text editor. (BBEdit is good, you can type bbedit /etc/httpd/httpd.conf at the command line to edit the file). Uncomment (remove the #) at any lines that mention PHP, should just be two in the default config file. Restart your websharing.

I don't know if Apple's PHP includes any extra extentions that the other PHP packages do.
 
If you've got the ServerLogisitcs versions of Apache and PHP, you don't need to edit the httpd.conf file, the installer will add the stuff for php to the bottom of the file automatically.
 
Back
Top