CloudPanel: PHP and site settings

In the examples 203.0.113.10 is your server address and my-site.com is your domain. The server address and panel password are in the e-mail with your credentials.

Site → "Settings" tab. Each block has its own "Save" button.

"Settings" tab
"Settings" tab

Domain settings

Root Directory — the folder inside htdocs the site is served from. Default: the domain name. For Laravel set my-site.com/public.

Site user

SSH/SFTP password change. SSH keys, one per line.

PHP settings

PHP block
PHP block
SettingPurpose
PHP VersionCan be changed at any time. Check the site afterwards.
memory_limitMemory per request. WordPress with large plugins — 256M–512M.
max_execution_timeScript time limit. Increase if an import breaks off.
upload_max_filesize, post_max_sizeUploaded file size. The second not smaller than the first.
max_input_varsNumber of form fields. Increase if large menus do not save.
Additional directivesAny php.ini settings. E.g. date.timezone = Europe/Kyiv.

PageSpeed

Automatic page optimization. Breaks the layout of some sites. If the site displays wrongly after enabling — switch it off.

Delete site

Files, databases, users and settings of the site are deleted. Cannot be restored. Confirm by typing the domain name.

The whole tab. Site deletion at the bottom
The whole tab. Site deletion at the bottom