note 32582 added to install.apache
| From: | tanhualoon at hotmail dot com | Date: | Sun, 01 Jun 2003 17:59:43 +0000 |
| Subject: | note 32582 added to install.apache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-49539@lists.php.net to get a copy of this message | ||
haa.... finally... for those who have this SAPI problem -
"The requested method POST is not allowed for the URL / *.php"...
after going through installations, looking through php.ini, httpd.conf... the problems lies with -
HTTPD.CONF...
in most of the places i search from the web, they ask u to put in <directory>, addtype,
add++++++ whatsoever.. but need not to be so difficult..
the problem lies in the loading sequence of httpd.conf
first, cut & paste the following to all the directives after #loadmodule ->
"LoadModule php4_module d:/online/php/php4apache.dll"
afterwhich, ONLY ADD
"AddModule mod_php4.c
AddType application/x-httpd-php .php"
AFTER Clearmodulelist.... or after other *.c directives... the reasons seem so simple now...
Clearmodulelist could probably clearing off my mod_php4.c !!!
haa.... and that works.... !!
----
Manual Page -- http://www.php.net/manual/en/install.apache.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32582
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32582&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32582&report=yes