Is PHP Safe Mode turned Off on XonHost’s servers

Is PHP Safe Mode turned Off on XonHost’s servers

PHP Safe Mode is by default turned off for all PHP versions available on XonHost servers. Note also that this feature has been deprecated as of PHP 5.3.0. PHP developers highly encourage people to not rely on this feature any … Continued
Are zlib, zip, curl, simple_xml supported?

Are zlib, zip, curl, simple_xml supported?

All XonHost’s servers have zlib, zip, curl, simple_xml installed. You can find more information about the above by using the phpinfo() function.
How to enable zlib compression manually for PHP scripts

How to enable zlib compression manually for PHP scripts

PHP Zlib module allows you to transparently read and write gzip compressed files. Thus it is used for serving faster content to the end users by compressing the data stream. You can easily enable it by placing the following line … Continued
How is PHP installed on XonHost’s servers?

How is PHP installed on XonHost’s servers?

XonHost’s webservers run PHP as a CGI module in SuExec. PHP is also running as a CLI binary. For more information please use the phpinfo() function.
My script requires ionCube loaders Do you have ionCube installed?

My script requires ionCube loaders Do you have ionCube installed?

The ionCube loaders PHP extension is installed on all of our shared hosting servers by default. If you want to check the ionCube loaders version, please create a PHP info script on your account and access it from your browser. … Continued
How to generate PDF files with PHP?

How to generate PDF files with PHP?

FPDF is a PHP class which allows you to generate PDF files, and does not depend on additional PHP libraries. FPDF is free and can be downloaded from the official website’s download section. The download package contains all necessary files, along with … Continued
Is Zend Optimizer available?

Is Zend Optimizer available?

Yes, Zend Optimizer is installed on all XonHost ‘s servers. More information about it can be found by using the phpinfo() function. To do this, you should create a simple php file (e.g. phpinfo.php) with the following line in it: <?php phpinfo(); ?> … Continued
How to pipe an email to a PHP script

How to pipe an email to a PHP script

In some cases you might need to redirect a given mailbox to a PHP script to handle the incoming messages. This can be easily done with cPanel -> Forwarders tool. To set up pipe forwarding, you can follow the steps below: – Log in … Continued
How to enable error reporting in a PHP script?

How to enable error reporting in a PHP script?

There are two ways to enable error reporting in your PHP scripts: 1. You can add the following function in the the script: error_reporting(E_ALL); 2. You can add the following option in your website’s php.ini file: error_reporting = E_ALL Both options … Continued