To make a long story short, my main account runs on PHP4 (module), so I asked my host to compile PHP5 (cgi) in my cgi-bin, and it's all working fine. Whatever recently I needed to create a new website and I enabled the cgi-bin, of course, this new website does not contain PHP5 precompiled in it, logical.
Now since I never compiled one, first I would like to try to copy the php.cgi found in my main website and put it into that newly created website. However, each time I tried to do it, I got the "500 error" message.
Here is an example of what's in the htaccess file:
Code: Select all
AddHandler custom-php .php .pcgi
Action custom-php /cgi-bin/php.cgiIf not, as I said, I do not know how to compile my own PHP cgi, whatever I feel that I reached the point where I need to learn this part; I should at least try before running to my host like I did the first time. Even if I consider myself a web designer rather than a web programmer, I need to learn these things eventually.
Well, I want to learn and I need links and help, any help, except for you doing it for me.
Thanks!