Problem Compiling PHP with XMLRPC

ORiN

Verified User
Joined
Nov 27, 2010
Messages
54
Location
Singapore
Hi,

I was trying to re-compile PHP after adding '--with-xmlrpc \' to the config file. However, it doesn't seem to be working for me as I kept encountering the same PHP warning.

Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php5/lib/php/extensions/no-debug-non-zts-20121212/php_xmlrpc.dll' - /usr/local/php5/lib/php/extensions/no-debug-non-zts-20121212/php_xmlrpc.dll: cannot open shared object file: No such file or directory in Unknown on line 0

Any help or advice is very much appreciated.
 
Why are you trying to use Windows .dll's on a Unix/Linux box? The name should have ended in a .so which is the extension most Unix/Linux systems use for their shared libraries. Did you just un-comment the
extension=php_xmlrpc.dll
line in your php.ini? If so that is only for Windows, for Unix/Linux it looks like you should only have to add the --with-xmlrpc and it should link to the php binary, and be loaded automatically, without the need to modify php.ini.
 
Why are you trying to use Windows .dll's on a Unix/Linux box? The name should have ended in a .so which is the extension most Unix/Linux systems use for their shared libraries. Did you just un-comment the
extension=php_xmlrpc.dll
line in your php.ini? If so that is only for Windows, for Unix/Linux it looks like you should only have to add the --with-xmlrpc and it should link to the php binary, and be loaded automatically, without the need to modify php.ini.
.
Yes, my VPS is running CentOS and I un-commented the extension in php.ini as well as recompiled PHP with '--with-xmlrpc \'. Commented that line in php.ini and the error went away.
 
Back
Top