PHP.ini with soap


I fallowed the wiki instructions as close as I can and it did create a custom php.ini file for me I just need to know how to get the site to use that one.

I created a folder called cgi-bin and copied php.cgi via ssh to it, then I copied the old php.ini file to cgi-bin

updated the .htaccess to point to the new files and when I did a phpinfo it showed it was using the new files.

I then added the custom php.ini to cgi-bin after I backed up the old one. The site wont load.

I figured it was a problem with the custom php.ini file so I re uploaded the old file and I still would not work.

I removed the htaccess stuff and now it works again, any thoughts?

I did ask dreamhost for support but they wont help with this stuff.

  1. Download

  2. Edit [sub] to reflect your domain’s folder name and save.

  3. Upload as

In shell:

[color=#00CC00]$[/color] chmod +x

[color=#00CC00]$[/color] ./

Add the following lines to your site’s .htaccess file:

AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi

Maximum Cash Discount on any plan with MAXCASH

Thank you VERY much it is working great now! the script was awsome!

Does this thread imply someone got SOAP working without recompliing PHP?

The txt file mentioned seems to be gone.

But if anyone has input on getting SOAP working via PHP I’d be very interested!!

I personally don’t understand Why SOAP is not supported with the standard install? SOAP is a fairly proven standard - and a pretty important item for any serious web application.

I love DreamHost (a lot!) but if the only way to use SOAP is to do a custom compile for each domain that voids support, and gets wiped out in server upgrades … it would be hard to choose DreamHost over someone like MediaTemple for anything other than personal “fun” web sites.

I realize Media Temple is more expensive - but I can’t imagine SOAP is the difference maker in resources that justifies that?

Forgive the rant - but this feels like a pretty big hole in the offering.

Any chance we can get this “supported”?

No, the script I provided compiles php.

Maximum Cash Discount on any plan with MAXCASH

Hi Mate,

You mentioned about the

but I did not find the file available there, could you please let me know its latest location ?

One more thing, I am using shared hosting and after logged in using SHELL with my user info, I am at the home directory of my domain, should I create any folders and files there before running the following two commends?

$ chmod +x

$ ./

I shall wait for your advice and always be greatful.


That post was from ages ago and the temporary domain is long gone :frowning:

Did you specifically require SOAP, or just access to a PHP.INI ?

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


Thanks for getting back to me.

At the moment I need to Enable SOAP for my Shared hosting. Looking forward for your advice.


I’ll try and remember to knock up something later and PM you the link.

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost

Thanks you so much. I shall be really greatful to you.