Chillydomains Hosting Control Panel Module: Web Development
PHP and Log management
With the Web Development module of the Chillydomains Hosting Control Panel you can easily change the used PHP version and look at the access logs and error logs of your websites.
The module Web Development provides huge advantages for every webdesigner and programmer. All necessary PHP settings can be managed with one module. With the help of the access and error logs you can easily locate and remove errors.
Manage PHP Version
After opening the module "Web Development" you can see a list of all directories where software is installed and your main directory "/", which provides the global settings for your web space.
You have the possibility to set a php configuration for your domain or for a certain directory:
- Domain: Global setting for this domain. Changing this setting may take up to 5 minutes. Is over-ruled by Directory settings.
- Directory: This setting overrides the Domain setting. You can set a custom PHP configuration (php.ini) and edit specific values like "memory_limit". Changes of a Directory setting are instant. Setting also affects sub-directories, if no configuration is specified.
With "Action" -> "Update" you can open the PHP settings and see all available PHP versions. There is also an option if the default php.ini settings, an existing php.ini or a new php.ini should be used.
If an php.ini file already exists you can edit it with the option "Open PHP config raw editor" with your browser.
Caution: Wrong entries on the php.ini file can produce an misoperation of your website.
Create new PHP Settings
With "Add Webserver Settings" it is possible to create new PHP settings for your domain or a directory. You can set the PHP version, set if the global php.ini settings should be used, existing settings should be replaced or a new php.ini file should be created for you.
Log/Error Log Viewer
With the help of the "Log Viewer" it is possible to view the access log of all you domains managed with this control panel. With the help of the "Error Log Viewer" you can view all activated error logs. In both windows you can select the Domain in the bottom right corner.
Cronjobs
With "Cron configuration" you are able to create and manage your cronjobs. Cronjobs are used to execute scripts automatically.
Note: Many of the offered software packages in the software module of your control panel need cronjobs. If you have installed the software with our software module, all needed cronjobs are created automatically for you.
Create cronjobs
Click on "Cron configuration" to open the crontab editor. Each row is one cronjob. To add a new one simply add one line with the following syntax:
* * * * * Command to execute
| | | | |
| | | | +----- Day of the week (1 – 7, 1 standing for Monday)
| | | +------- Month (1 - 12)
| | +--------- Day (1 - 31)
| +----------- Hour (0 - 23)
+------------- Minute (0 - 59)
More useful information about the syntax of the cronjob can be found in the crontab-editor at "Help".
Exampels of often used cronjobs:
Typo3 Cronjob, all 15 minutes:
*/15 * * * * /usr/bin/php71-cli /var/home/yourdomain.tld/www/path_to_cronjob_script/cli_dispatch.phpsh scheduler > /dev/null 2>&1
OwnCloud/Nextcloud Cronjob with PHP5.6:
*/15 * * * * /usr/bin/php56-cli /var/home/yourdomain.tld/www/path_to_cronjob_script/cron.php > /dev/null 2>&1
OwnCloud/Nextcloud Cronjob with PHP7.1:
*/15 * * * * /usr/bin/php71-cli /var/home/yourdomain.tld/www/path_to_cronjob_script/cron.php > /dev/null 2>&1
Cronjob executed once per month:
@monthly /usr/bin/php70-cli /var/home/yourdomain.tld/www/path_to_cronjob_script.php > /dev/null 2>&1
You are able to use simplifications, a few of them are:
- @hourly - CronJob runs once per hour
- @daily - CronJob runs once per day
- @weekly - CronJob runs once per week
- @monthly - CronJob runs once per month
- @yearly - CronJob runs once per year
Note: We recommend you to always use the same PHP version as used for your webspace when you run a PHP cronjob. Samples of how the correct PHP-cli path looks like can be found above.
Edit cronjobs
To delete or edit an existing cronjob click on "Cron configuration". To save your changes click on "Update".