Hosting Knowledge Base

Home » Knowledge Base » Control Panel » Advanced Tools » PHP Settings » How to customize PHP (settings)?

Knowledge Base

How to customize PHP (settings)?

For clients using our paid hosting plans further customization of PHP is available by modifying the php.ini configuration file. To change the default settings of the selected PHP version, go to your Control Panel -> Hosting Tools -> Advanced Tools -> “PHP Settings” -> “Edit php.ini”.

Some of the PHP directives that are most recently changed from paid clients are listed below:

safe_mode
display_errors
post_max_size
memory_limit
magic_quotes
upload_max_filesize

The following extensions are disabled by default on all accounts, to enable them, you should remove the semi-colon symbol – “;” from the beginning of the line from the “php.ini” file of your account:

;extension=curl.so
;extension=ftp.so
;extension=id3.so
;extension=imagick.so
;extension=imap.so
;extension=openssl.so
;extension=pgsql.so
;extension=soap.so
;extension=xsl.so
;extension=yaml.so
;extension=memcached.so
;extension=memcache.so
;zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.3.so
;zend_extension=/usr/local/ZendGuardLoader-php-5.3-linux-glibc23-i386/php-5.3.x/ZendGuardLoader.so

For example, if you want to use cURL, you need to edit your “php.ini” file so the line where the extension is called looks like this:

extension=curl.so