Christopher
Christopher

Reputation:

Enable XML-RPC in PHP.ini

I have Joomla and a component called MyBlog (azrul.com) installed.

To enable pinging of Technorati I must enable xml-rpc.

By default this is disabled on my Shared Hosting account and cannot be changed. However, DreamHost says you can create your own custom advanced php5 installation.

Instructions here: http://wiki.dreamhost.com/Advanced_PHP_configuration

I followed those and now I can change my custom php.ini file.

On this line in that file:

;extension=php_xmlrpc.dll

I removed the ;

hoping to uncomment that line and turn on that functionality before updating the php.

Since I believe DreamHost is not Windows server, instead of .dll should it be .so?

Still no luck. Can someone point me in the right direction?

Thank you!

Christopher Beckwith

Upvotes: 1

Views: 39755

Answers (3)

iborodikhin
iborodikhin

Reputation: 1

You can use dl() if it's enabled for your account to use custom extensions without restarting web-server. See PHP manual.

Upvotes: 0

cimnine
cimnine

Reputation: 4067

Create a blank file with this content:

<?php var_dump(get_loaded_extensions()) ?>

You'll seee if your extension is loaded or not. As already two times mentioned: You have to restart at least the Apache daemon.

Upvotes: 1

drAlberT
drAlberT

Reputation: 23208

You are right, it is a Centos server:

Apache/2.2.3 (CentOS) Server at azrul.com Port 80
  • the extension as to be a .so
  • you have to restart apache
  • the extension has to be installed on the server
  • the extension has to be not disabled (its functions and/or classes)

You can have a lot of info looking to phpinfo() output:

<?php phpinfo() ?>

Upvotes: 2

Related Questions