|
Posted by kurt.krueckeberg on 11/20/51 11:29
I am considering going with the ISP Dreamhost because they offers both
php4 and php5 support. However, I recently learned php4 runs as a
regular CGI by default. This can be change, so it will runs as an
Apache module. But if you want to run php5, you must run as PHP-CGI.
Dreamhost states there are:
"There are a FEW VERY MINOR drawbacks to running PHP-CGI. They are:
* Custom 404 pages won't work for .php files with PHP-CGI.
* Variables in the URL which are not regular ?foo=bar variables
won't work without using mod_rewrite
(example.com/blah.php/username/info/variable).
* Custom php directives in .htaccess files (php_include_dir
/home/user;/home/user/example_dir) won't work.
* The $_SERVER['SCRIPT_NAME'] variable will return the php.cgi
binary rather than the name of your script"
But are these really minor drawbacks? What if, for example, you really
do need to override a php directive? Any feedback would be appreciated.
Thanks,
Kurt
Navigation:
[Reply to this message]
|