Hi. I struggled with this problem all day yesterday, 4 of my sites were completely offline - no thanks to Dreamhost for informing that they would upgrade PHP and there might be issues…
Here is a reply I got from the people at Ioncube - (they replied to me in am matter of minutes btw):
This is a result of the host updating the server to PHP 5.2.5, where the Loader must be now be installed in a php.ini file.
You uses uses CGI, and so it may support custom php.ini files that can be created in your own area.
Try creating a php.ini file in the same location as a phpinfo file, and add
zend_extension = /path/to/ioncube_loader_lin_5.2.so
to the php.ini file, using the full path to the Loader in place of /path/to. Your host should be able to advise as to the full path on the filesystem. Then load the phpinfo page and see whether your php.ini file is showing as the config file and whether the Loader is showing as installed. If it is, replicate the php.ini file in each directory where you have php files that you access directly with the browser, such as each directory where there’s an index.php for example. You may need to call the file php5.ini. If you’re unable to get a custom php.ini file to work then ask your host to put the Loader in the main php.ini file. They have another extension in there already and so they should have no problem doing this, and if they need any help then they’re welcome to contact us and we’ll be happy to advise them.
The other thing you need to do us go to the Dreamhost wiki and download the files to set up cgi-bin and custom php.ini files on your domains:
(Dreamhost instructions - )
Basically just download the two files here and put them in the root of your domain:
It is very important that they are put in the root of your domain and not in a sub-directory. Once that is done go to:
(be sure to change domain.com to your actual domain). When the link is visited there should be some output like this:
test: test to make sure things look good
php4: install custom php4
php5: install custom php5
Under this there should be a drop down box which has test/php4/php5 in it as well as a “Select” button.
It is suggested that the test mode is chosen first which will show which commands the script will run. If things look ok (mainly be sure that the top line is the correct path to your domain) then proceed to chose php4 or php5 for the custom install.
Once the script is done running (it should just show which files where copied) there will be an info.php on your domain:
And for php4 the “Configuration File (php.ini) Path” should be to the cgi-bin directory on your domain and for PHP5 it should be the same but for “Loaded Configuration File”
Once that is done the php.ini in the cgi-bin directory in the domains folder can be edited to change the default values. Just download it via FTP and re-upload your edited version. The file can be edited with any text-editor such as wordpad/notepad. Also it is a good idea to delete both the custom_php_ini.php and .sh files from the domains directory once the custom install is completed.
I hope this helps some of you, it was such a painstaking task yesterday. I’m not sure if there is a quick way to do this for all your domains if you have many…