The 'Change TimeZone' page allows you to view the current TimeZone and change it.
To change a timezone for your server simply select the new timezone in the select and click on 'Change Timezone' button to save.
:::info The TimeZone setting is handy for running scheduled cronjobs in your local timezone. :::
The Services page provides information about the status and version of all your currently installed services.
It includes details about:
From this page, you have the ability to view service versions, monitor their status, and restart MySQL or Nginx/Apache services.
Each service's status is indicated by the "on" or "off" label displayed next to it.
To restart MySQL or Nginx/Apache service click on the 'Restart' link next to it. This will force stop of the service process and immediatelly start it.
The Nginx / Apache Configuration Editor page allows you to view and edit the main Apache/Nginx configuration file inside your docker container.
/etc/apache2/httpd.conf
/etc/nginx/nginx.conf
:::danger Editing this file is for advanced users. Make sure to create a backup before making any changes, as even a small syntax error can cause server restart failure and downtime for all your websites. :::
Edit MySQL configuration
These settings are used to configure various aspects of MySQL's service:
Make sure to adjust these values based on your specific server requirements and workload. Additionally, regularly review the MySQL error log for any issues or warnings.
:::warning Modifying these values without proper understanding may impact MySQL performance and stability. Make backups and consult the official MySQL documentation before making changes. :::
PHP versions tab allows you to view current PHP version for each domain and change the version per domain.
To change a PHP version for a domain simply select new version and click on the 'Change PHP Version' button to save.
:::warning Changing the PHP version will stop all the processes on your site. It takes 1-2 seconds to complete. Be sure to check your script and plugin requirements to know which PHP version works best for your website. :::
This option allows you to set the default PHP version that will be used for newly added domains and on the terminal.
You can also view current default version setting.
:::info phpMyAdmin runs by default on the version that you set here, but due to phpMyAdmin's minimum requirements, if the PHP version is older than 8.0, then the default PHP version defined by the administrator will be used for phpMyAdmin. :::
To install a new PHP version simply select the version from the 'Select PHP Version to Install:' select and click on the 'Install' button to start the process.
The process takes from 2-10 minutes to finish and you can view a real-time output of the installation process:
Once the process is complete the new PHP version will be available for use.
:::info For best performance we recommend to only install PHP versions that you will be activelly using. :::
The PHP extensions tab lists all installed extensions for PHP versions in a same manner as a phpinfo function.
The PHP options tab lists general information for each PHP verison from the php.ini file.
Listed values:
To modify any of these values simply click on the 'Edit PHP.INI' link for that version.
Default values for these settings on all PHP versions installed via OpenPanel interface are:
The primary configuration file for PHP is php.ini. A distinct php.ini file exists for each PHP version installed on the server.
With the php.ini editor, you can modify the PHP configuration for each version and configure settings such as:
memory_limit
.max_execution_time
.display_errors
setting.date.timezone
.set_error_handler
and set_exception_handler
.opcache.enable
and opcache.memory_consumption
.disable_functions
, which disables specific PHP functions, and open_basedir
to restrict file system access.max_input_vars
, which limits the number of input variables.extension
.
and many more.To enhance the security of your PHP scripts and server, it's important to be cautious about allowing certain PHP functions that can be potentially dangerous.
You can disable these functions for the PHP versions you're using by editing the php.ini files and setting:
disable_functions = system, system_exec, shell, shell_exec, exec, passthru, proc_close, proc_open, ini_alter, dl, popen, show_source, inject_code, mysql_pconnect, openlog, php_uname, phpAds_remoteInfo, phpAds_XmlRpc, phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, posix_setuid, posix_uname, proc_get_status, proc_nice, proc_terminate, syslog, xmlrpc_entity_decode, apache_setenv, eval, pfsockopen, leak, apache_child_terminate
same can be achieved from the terminal by running the following command:
echo "disable_functions = system, system_exec, shell, shell_exec, exec, passthru, proc_close, proc_open, ini_alter, dl, popen, show_source, inject_code, mysql_pconnect, openlog, php_uname, phpAds_remoteInfo, phpAds_XmlRpc, phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, posix_setuid, posix_uname, proc_get_status, proc_nice, proc_terminate, syslog, xmlrpc_entity_decode, apache_setenv, eval, pfsockopen, leak, apache_child_terminate" > /opt/alt/php-fpm73/usr/php/php.d/disabled_function.ini && service php-fpm73 restart
The ModSecurity settings page allows you to view current status for each domain and enable/disable ModSecurity WAF per domain.
The page offers a section where you can access Server Information.
This includes: