Well, does the directory “/home/sonydei/[xxxx.com]/cgi-bin/” exist? Specifically, did you create the cgi-bin directory? The directory also needs to be chmod 755.
Here is the script I use:
rsync -a /dh/cgi-system/php5.cgi “$CGIFILE”
cp /etc/php5/cgi/php.ini “$INIFILE”
perl -p -i -e ‘
s/.post_max_size./post_max_size = 200M/;
s/.upload_max_filesize./upload_max_filesize = 100M/;
s/.include_path./include_path = “.:/usr/local/php5/lib/php:”/;
s/.memory_limit./memory_limit = 40M/;
It gives me a memory limit of 40MB, Single file limit of 100MB and Post Limit of 200MB. I have added the script to the crontab to run once a week.
Promo-Code: [color=#CC0000]SAVEMONEY97[/color] - Save [color=#CC0000]$97[/color] on your first year of hosting.
Use [color=#CC0000]SAVE2DOMAIN[/color] to save [color=#CC0000]$82[/color] and get a second domain for free