note 37115 added to features.file-upload.put-method
| From: | mikeb at rn2 dot php dot net | Date: | Mon, 03 Nov 2003 19:41:55 +0000 |
| Subject: | note 37115 added to features.file-upload.put-method | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59734@lists.php.net to get a copy of this message | ||
I have spent a lot of time trying to make PUT work with Apache 2.0.40. I have not yet been able to
find any way of making the Script directive invoke php via mod_php, the only way has been to have a
file called example.cgi and invoke it via CGI, with the file starting
#!/usr/bin/php
so the PHP interpreter is invoked through the CGI mechanism and not as a module.
If there IS a way of making it work 'right' I'd love to know! After six hours of
messing around, I've settled for CGI. The error messages in the apache error log are
significantly misleading and the whole thing has been an exercise in frustration.
Attempts to use AddHandler and all 'normal' ways of trying to persuade Apache to do this
have been fruitless. It does seem as if PUT can only be handled by CGI invocation.
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.put-method.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37115
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37115&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37115&report=yes
Search -- http://master.php.net/manage/user-notes.php