Portal Home > Knowledgebase > Articles Database > How to compile php with apache to run xmlrpc?
How to compile php with apache to run xmlrpc?
Posted by -liquid-, 05-13-2015, 07:41 AM |
Hello.. i have php 5.6 and i want to run on php the xmlrpc but it needs to be recompile with the apache.. has anyone steps how i do it..???
|
Posted by iserversupport, 05-13-2015, 08:01 AM |
Are you using any control panel ?
|
Posted by vpsineu, 05-13-2015, 09:18 AM |
Which OS do you have? If you have CentOS/RPM try this command: yum install php-xmlrpc
If you have Ubuntu/Debian/DEB try: apt-get install php5-xmlrpc
Do not forget to restart the apache service for the changes to take effects.
|
Posted by kevincheri, 05-13-2015, 01:29 PM |
If you are having Cpanel, you can use EasyApache to enable XMLRPC and recompile PHP/Apache.
|
Posted by -liquid-, 05-14-2015, 06:52 AM |
It is Centos 6 64
[root@]# yum install php-xmlrpc
Loaded plugins: fastestmirror, replace
Setting up Install Process
Loading mirror speeds from cached hostfile
* epel: mirror.logol.ru
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php-xmlrpc.x86_64 0:5.3.3-40.el6_6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-
xmlrpc-5.3.3-40.el6_6.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-40.el6_6 will be installed
--> Processing Conflict: php56w-common-5.6.8-1.w6.x86_64 conflicts php-common <
5.5.0
--> Finished Dependency Resolution
Error: php56w-common conflicts with php-common-5.3.3-40.el6_6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
|
Posted by vpsineu, 05-14-2015, 06:55 AM |
You have conflict. Try this one:
yum install php56w-xmlrpc
and if that do not work past me the output from:
rpm -qa | grep php
so we can see which packages you have installed and which one of them need to be removed.
|
Posted by -liquid-, 05-14-2015, 07:00 AM |
Thanks but i had solve it before i want for you to only have logs of the issue so anyone else experience to solve it.. the php needs to be removed and then run the command below..
See now how it works..
# rpm -qa | grep php
php56w-imap-5.6.8-1.w6.x86_64
php56w-pear-1.9.4-1.w6.noarch
php56w-soap-5.6.8-1.w6.x86_64
php56w-bcmath-5.6.8-1.w6.x86_64
php56w-5.6.8-1.w6.x86_64
php56w-pdo-5.6.8-1.w6.x86_64
php56w-xmlrpc-5.6.8-1.w6.x86_64
php56w-mbstring-5.6.8-1.w6.x86_64
php56w-mssql-5.6.8-1.w6.x86_64
php56w-process-5.6.8-1.w6.x86_64
php56w-pecl-geoip-1.0.8-1.w6.x86_64
php56w-dba-5.6.8-1.w6.x86_64
php56w-common-5.6.8-1.w6.x86_64
php56w-cli-5.6.8-1.w6.x86_64
php56w-mcrypt-5.6.8-1.w6.x86_64
php56w-mysql-5.6.8-1.w6.x86_64
php56w-xml-5.6.8-1.w6.x86_64
|
Add to Favourites Print this Article
Also Read