Monthly Archives: December 2012

Install Oracle Client on Ubuntu (PHP)

Download Instant Client on:
- oracle-instantclient11.2-basic-
- oracle-instantclient11.2-devel-

Install alien to convert to rmp to deb package:

sudo apt-get install alien

Convert Packages:

sudo alien oracle-instantclient11.2-basic-
sudo alien oracle-instantclient11.2-devel-

Install client:

sudo dpkg -i oracle*.deb

Install Lib for PHP:

sudo pecl install oci8
sudo apt-get install libaio1


Add ”” to your php.ini

show full var_dump

Just update xdebug.ini file

xdebug.var_display_max_depth = -1
xdebug.var_display_max_children = -1
xdebug.var_display_max_data = -1


Catch SoapClient Exception

If you can’t get SoapClient exception if WSDL cant be loaded (PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn’t load from xxx)

Try this (before instantiating SoapClient):


Found this solution up here:

Input is not proper UTF-8, indicate encoding (DOMDocument::loadXML)

Probably your XML string isn’t in UTF-8. Try this:

Page 1 of 11