Setting up custom php.ini file
Posted by: barrybotha
Posted on: 2008-07-21 00:55:00
Hello
I'm trying to get the server to accept bigger file uploads than the normal php.ini specifies. Apparently there are only 2 methods to do this. One way is to get your own dedicated server and the other is to setup a custom php.ini file.
Because of the obvious cost implications I am trying the custom php.ini method.
I have followed all the instructions at http://wiki.dreamhost.com/Advanced_PHP_configuration but I am not getting this to work.
If you go to http://www.overload.co.za/info.php you will see the server
error that I am receiving.
In the server log I am getting this:
[Mon Jul 21 00:36:03 2008] [error] [client 198.54.202.26] suexec policy
violation: see suexec log for more details
[Mon Jul 21 00:36:03 2008] [error] [client 198.54.202.26] Premature end
of script headers: php5.cgi
[Mon Jul 21 00:36:03 2008] [error] [client 198.54.202.26] File does not
exist: /mnt/local/home/ampedjoe/overload.co.za/internal_error.html
It looks like there are some permission / ownership problems.
Has anyone fixed this before?
Thanks
Barry