Home > Featured > PHP Script to check if the PHP SOAP client is installed.
Bookmark and Share

PHP Script to check if the PHP SOAP client is installed.

Posted on May 27, 2013 | Filed in Featured, PHP

<?php var_dump(class_exists(“SOAPClient”)); ?>

If you’re having problems with an application on your web hosting service where SOAP seems to be unavailable, you can check to make sure using the script above.

It will return a boolean value (TRUE/FALSE).

On many virtual hosting accounts, the SOAP client for PHP is often not enabled and request it to be enabled will not work either. Its important to check if this is the case before selecting a web-host because many applications use SOAP for accessing remote services. For example for checking real-time Fedex shipping rates.

If you need SOAP and you’re going the virtual hosting route, then checking for it should be a part of your pre-sales call with a hosting company.

Leave a Reply

Contact Us

Big Apple Design Group
134 West 29th Street
Third Floor
New York, NY 10001

[email protected]

Search Blog