I have followed the wiki step for step.
First I made a php-copy.sh and put it into my server direrectory that hold all my domains.
#!/bin/sh
CGIFILE="$HOME/domain.com/cgi-bin/php.cgi"
INIFILE="$HOME/domain.com/cgi-bin/php.ini"
rsync -a /dh/cgi-system/php5.cgi “$CGIFILE”
REMOVE THE FOLLOWING LINE TO CREATE THE UPDATE-ONLY SCRIPT:
cp /etc/php5/cgi/php.ini “$INIFILE”
perl -p -i -e ‘
s/.post_max_size./post_max_size = 100M/;
s/.upload_max_filesize./upload_max_filesize = 100M/;
’ “$INIFILE”
Ok I did all the cron jobs and everything using putty. I had no errors or problems there. Now everything seems right untill I put the .htaccess file into my domain.com directory i get 2 errors, one is a 404 error, and one if a this .php file couldnt not be found at cg-bin/php.ini . I copied the
Options +ExecCGI
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi
from the wiki, but it doesn’t work. Anyone have any solutions or can help me out.