On This Page
Using PHP in a Hosted Environment
If you are operating in a hosted environment (with an Internet Service Provider hosting your web store), read this section.
To use the Simple Order API client for PHP, you must register a PHP extension in
php.ini
and modify the LD_LIBRARY_PATH (for Linux) or the system PATH
(for Windows) to include the lib
directory of the Cybersource
client. The Cybersource
binaries ensure that your
transactions are secure while being sent to Cybersource
. If you use a
hosted environment, you must check with your hosting provider (ISP) to make sure that they
support the addition of a PHP extension and editing of the path environment variables.If you cannot find any documentation related to your hosting provider's support of extensions and new library locations, contact your hosting provider with this statement:
Cybersource
requires modifying php.ini to add their extension and
editing of LD_LIBRARY_PATH (for Linux) or the system PATH (for Windows) to add the
directory containing the dynamic libraries required by the extension for use by my
e-commerce software. Cybersource
ensures the safety and functionality of
these libraries. Please let me know your policy for supporting this
implementation.Because other merchants who use your hosting provider may also use
Cybersource
, your hosting provider may have already installed the Cybersource
PHP client. In that case, we suggest that you verify with your
hosting provider the version of the client they have installed and registered. If the
client you want to use is newer, ask them to replace the libraries with the new ones.If you have any questions regarding the above information or installation of the client,
please contact
Cybersource
Customer Support. If you are a Business Center
user, and you cannot obtain the appropriate access from your ISP to
install the client, consider using Secure Acceptance instead of the PHP client. Secure
Acceptance is available in two integration types, both of which are available in the
Business Center
.