Blog image

PHP 8.0

PHP 8.0 has been released on 26th November and come with a ton of new features and breaking changes. CyberPanel has added PHP 8.0 and all the currently available extensions. You can update your CyberPanel now and start testing your application to make it future proof.   PHP 8.0 is a major version which means […]

5 – Change Upload Limit for Filemanager

v1.7.0 and above v1.7.0 and above default upload limit is 200MB, regardless of upload limit of your Global PHP. To increase this limit go to:   https://<IP Addres>:8090/websites/domain.com Then scroll down and click vhost Conf     Then change the upload limit by editing following two parameters:   php_value upload_max_filesize “200M” php_value post_max_size “250M” post_max_size should […]

4 – Change Upload Limit for phpMyAdmin

To change phpMyAdmin upload limits to a higher value:   Go to PHP → Edit PHP Configs → Advanced , and select php 7.3     Search “post_max_size” , and change value from default 8M to size you wish , for example 100M     Search “upload_max_filesize” , and change value from default 2M to […]

3 – open_basedir Protection

In simple words, open_basedir protection forbids your PHP scripts to access file system beyond the specified path i.e.   open_basedir “/home/domain.com/” If this path is specified for open_basdir, your PHP code cannot access file system beyond /home/domain.com/ Which basically helps in case a single site on the server is hacked. How to enable open_basedir Protection For […]

2 – PHP Configurations

If you need to edit php settings for any PHP Version, you can go to Server > PHP > Edit PHP Configs. There are two modes: Basic In basic mode you can only edit very common php options. Advanced In advanced mode you can directly edit the related php.ini file. Basic     Set parameters according […]

1 – Install/Uninstall PHP Extensions

PHP have wide list of available extensions that can be installed apart from the core PHP, CyberPanel allows you to install or remove PHP extensions from your server depending upon your web application requirements. Installation Server > PHP > Install Extensions     First select the PHP version you want to install extensions for. You […]