Setting up custom php.ini file



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 but I am not getting this to work.

If you go to 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] suexec policy
violation: see suexec log for more details
[Mon Jul 21 00:36:03 2008] [error] [client] Premature end
of script headers: php5.cgi
[Mon Jul 21 00:36:03 2008] [error] [client] File does not
exist: /mnt/local/home/ampedjoe/

It looks like there are some permission / ownership problems.

Has anyone fixed this before?



That looks like the hard way. I went with this:

Just use the small scripts at the beginning for increased upload size. No need for the “General Script.”