PHP.ini with soap


#1

Hello,

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.


#2
  1. Download http://php526.dreamhosters.com/files/php526.sh.txt

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

  3. Upload as php526.sh

In shell:

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

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

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


#3

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


#4

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”?


#5

No, the script I provided compiles php.

Maximum Cash Discount on any plan with MAXCASH


#6

Hi Mate,

You mentioned about the http://php526.dreamhosters.com/files/php526.sh.txt

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 php526.sh

$ ./php526.sh

I shall wait for your advice and always be greatful.

thanks
Shondhi


#7

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


#8

Hi,

Thanks for getting back to me.

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

Regards
Shondhi


#9

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


#10

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

Regards
Shondhi