I was advised a while back to install my own PHP install since my site required register_globals = on and fopen() = on.
I followed the guide they pointed me too here http://wiki.dreamhost.com/index.php/Installing_PHP5
At the time the large message stating they didn’t offer support when you do this was not there so now I’m stuck for help.
I’ll explain as best I can but this might take a few minutes to read.
I installed OsCommerce to one of my sites. It required register globals to be on. This was before OsCommerce released the register globals patch. I also had a subdomian from the OsCommerce domain which I had a shoutcast stats page which required the use of fopen.
I contacted Dreamhost who pointed me in the direction of the wiki article above which I followed.
I installed the PHP to my OsCommerce domain and soft or sym linked the php install to my subdomain so that both of them would run on the same php.ini configuration and that worked perfectly.
Now later I opened another domain in my account which I installed mambo and mambo required the use of fopen for its add-on packages. I thought I would just do the same trick and soft or symlink this domain to the php install but this did not work.
The unusual thing with my install is that some of the files are not where they should be. Its as if the php has been installed for that domain… for example my php.ini is located in php5/etc/mydomain.com/php.ini
also my php.cgi is located directly inside the cgi-bin folder inside my domains root folder.
According to this article my php.ini shouldnt be there
If I follow the instructions in that article above and modify my htacces so that my domain uses the custom php install I get 500 internal server errors, soon as I remove the add handler line in htaccess it my domain reverts back to using the default dreamhost php again.
Can someone help me resolve this issue please?
Ideas suggestions welcomed! I have been trying to sort this for around a month… daren’t try any changes incase I crashed my sites lol so I have just spent most of the time searching and reading but nothing came up that seemed to mention my problem.