PHP.ini with soap

PHP.ini with soap

Posted by: tylorllewellyn
Posted on: 2008-07-03 12:04:00

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.

Re: PHP.ini with soap

Posted by: sXi
Posted on: 2008-07-03 19:19:00

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:

$ chmod +x php526.sh

$ ./php526.sh


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

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




Re: PHP.ini with soap

Posted by: tylorllewellyn
Posted on: 2008-07-04 08:30:00

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

Edited by tylorllewellyn on 07/04/08 08:42 AM (server time).

Re: PHP.ini with soap

Posted by: dougyitbos
Posted on: 2008-11-03 18:27:00

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


Re: PHP.ini with soap

Posted by: sXi
Posted on: 2008-11-03 21:04:00

No, the script I provided compiles php.


Tags: phpinfodreamhostinisshhtaccesssoap