That only updates the system PHP installation, not the one cPanel uses.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.
# 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
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.Hi guys, is this stil valid?
http://forums.cpanel.net/f4/soap-extension-cpanel-php-98129.html#post448857
Couldn't find .yaml files on /scripts/
Thanks
# 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 [b]!!!YOUR OTHER OPTIONS HERE!!![/b]
# make
# make test
# make install
Is this still needed or with the new easyapache and/or whm is not required anymore?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
The profile used by makecpphp is now:Is this still needed or with the new easyapache and/or whm is not required anymore?
# 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
i have a similar problem, please help me, how can i setup the SOAP ext.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!
when i do /scripts/makecpphp the /scripts/cpanel_easy_sanity_check in makecpphp everything rewrite like was in previous file. please help meHere 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
What method is being used to modify the EasyApache build profile?when i do /scripts/makecpphp the /scripts/cpanel_easy_sanity_check in makecpphp everything rewrite like was in previous file. please help me
Please disregard my last reply as quoted above. When testing further I was able to reproduce the issue as described; to the best of my knowledge I believe this current behavior is intended by design.What method is being used to modify the EasyApache build profile?
To help clarify, what is the precise indication that "everything" is being rewritten like the (default?) previous file?
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!
In regard to modifying the stock-default EasyApache3 (EA3) build profile for "makecpphp" we are considering and evaluating ways simplify the process; for reference, this feature enhancement is being tracked via the following internal case ID number: #30130when i do /scripts/makecpphp the /scripts/cpanel_easy_sanity_check in makecpphp everything rewrite like was in previous file. please help me
# cp -pv /var/cpanel/easy/apache/profile/custom/example.yaml /var/cpanel/easy/apache/profile/makecpphp_custom.profile.yaml
# cp -pv /scripts/makecpphp /scripts/makecpphp.backup
# grep "^my \$makecpphp_profile" /scripts/makecpphp
# perl -p -i -e 's/makecpphp\.profile\.yaml/makecpphp_custom\.profile\.yaml/g' /scripts/makecpphp
# grep "^my \$makecpphp_profile" /scripts/makecpphp
# /scripts/makecpphp
# cp -pv /scripts/makecpphp.backup /scripts/makecpphp
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
T | PHP INI and SOAP | Web Servers and Applications | 4 | |
M | Error installing soap | Web Servers and Applications | 2 | |
B | Fatal error when attempting a PHP Soap request | Web Servers and Applications | 4 | |
N | Upgrade SOAP? | Web Servers and Applications | 5 | |
G | How do we enable SOAP extension in PHP? | Web Servers and Applications | 5 |