Hello,
Is there an option to compile the cPanel PHP (/usr/local/cpanel/3rdparty/bin/php) with your one options? I need the SOAP (PHP5) extension within the skin.
Otherwise i've to use nuSOAP or PEAR:SOAP.
Thanks for your advise.
Hello,
Is there an option to compile the cPanel PHP (/usr/local/cpanel/3rdparty/bin/php) with your one options? I need the SOAP (PHP5) extension within the skin.
Otherwise i've to use nuSOAP or PEAR:SOAP.
Thanks for your advise.
Hello,
In order to compile php with soap you need to login to WHM--update apache -- select your configuration and keep proceeding till you get the exhaustive list option where you will find soap, check the box and compile apache.
After that soap should be enabled for you.
That only updates the system PHP installation, not the one cPanel uses.
To update the binary cPanel uses, create a new profile in EasyApache wherein you enable SOAP support for PHP. Save the profile and don't build. Then copy your new profile like this (using example.yaml as the profile file name):
The /scripts/makecpphp command builds a new PHP binary for cPanel to use.Code:# mv /scripts/makecpphp.profile.yaml /scripts/makecpphp.profile.yaml.backup # cp /var/cpanel/easy/apache/profile/custom/example.yaml /scripts/makecpphp.profile.yaml # /scripts/makecpphp
Hi guys, is this stil valid?
http://forums.cpanel.net/f4/soap-ext...tml#post448857
Couldn't find .yaml files on /scripts/
Thanks
.marcel touma
The profile that /scripts/makecpphp uses nowadays is stored in /var/cpanel/easy/apache/profle/makecpphp.profile.yaml. The easiest way to create one of these profiles is to go through EasyApache, click on Exhaustive Options List in Step 5 and instead of building, just saving the profile. This profile will be saved in /var/cpanel/easy/apache/profile/custom/. I recommend making a backup of makecpphp.profile.yaml before overwriting it.
EasyApache has the option to setup SOAP but as your subject says that you do not want to use EasyApache, I might mention that it is very easy to manually install this as well and for that one is pretty much just compiling PHP with the "--enable-soap" configure option:
(Get !!!YOUR OTHER OPTIONS HERE!!! by looking at your phpinfo() screen)Code:# cd /usr/local/src # wget http://us2.php.net/get/php-5.2.10.tar.bz2/from/this/mirror # tar zxvf ./php-5.2.10.tar.bz2 # cd php-5.2.10 # make clean # ./configure --enable-soap !!!YOUR OTHER OPTIONS HERE!!! # make # make test # make install
Guys,
I was trying to change on hand the line Cpanel::Easy::PHP5::SOAP: 0 to 1, but found on /scripts/makecpphp the system '/scripts/cpanel_easy_sanity_check', '--quiet'; command that overwrites the makecpphp.profile.yaml file on every run.
It's safe to disable this line? If it is, a cpanel update won't bring back this line?
Can i manually change the yaml file?
Thanks!
.marcel touma
Here is a revised set of commands (where your custom build profile file name is "example.yaml"):
Code:# mv /var/cpanel/easy/apache/profile/makecpphp.profile.yaml /var/cpanel/easy/apache/profile/makecpphp.profile.yaml.backup # cp /var/cpanel/easy/apache/profile/custom/example.yaml /var/cpanel/easy/apache/profile/makecpphp.profile.yaml # /scripts/makecpphp
cPResources: Submit a Support Request - Submit a Bug Report - Review existing Tickets-- Donald cPanelDon Holl - Analyst, cPanel Quality Assurance
Excelent! Thanks.
cPanelDon's writeup is accurate.
Kenneth
Product Manager
cPanel, Inc.
cPResources: Submit a Support Request - Submit a Bug Report - Review existing Tickets-- Donald cPanelDon Holl - Analyst, cPanel Quality Assurance