How to use suPHP on my webspace

What is the suPHP? suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter. Works with the PHP versions available in the PHP version option on the cPanel interface. If [...]

Setup a cron job

There are two options for setting. For the file you want to run on a file in a timely manner, at least the owner has to run the run right (0700). Also, at the beginning of the file (in the first line) you have to specify the appropriate interpreter for the file type. For PHP file: #!/usr/bin/php For Shell script: #!/bin/bash In this case, the [...]

How to setup Redis access on cPanel hosting?

On our web servers, it is possible to use the Redis database with the following parameters: uses the storage resources max 1 database max 100 MB database size listening unix domain socketen: /tmp/redis.sock password protected, password can be viewed/modifiy here: /var/run/redis/redis.pwd Setup: On the cPanel interface, open to the Cron Jobs menu, then add the following task by running it every 5 minutes. /etc/rc.d/init.d/redis-peruser check >/dev/null 2>&1 [...]

How to setup Redis access on Plesk hosting?

On our web servers, it is possible to use the Redis database with the following parameters: uses the storage resources max 1 database max 100 MB database size listening unix domain socketen: /tmp/redis.sock password protected, password can be viewed/modifiy here: /var/run/redis/redis.pwd Setup: In the hosting manager interface, in the box at the top left, select Scheduled Tasks and click Add Task. In the Command field, enter the /etc/rc.d/init.d/redis-peruser check command. [...]

Configure SMTP/PHP Mail

SMTP Mail To Configure SMTP Mail you will need a Gmail/Yahoo/Hotmail account or you can use your Webmail account with all the SMTP settings provided by your Host in your control panel. You will need to select the SMTP Mail from the drop-down list in Mailing Method. Add SMTP Server (in-case you are using secure server port then please add ssl:// before the server domain i.e ssl://domain.com). Add SMTP Port Add SMTP Username (i.e Email Id) Add SMTP Password (i.e […]

How to use lsPHP on my webspace

What is lsphp? lsphp – PHP + LSAPI. What is LSAPI? LiteSpeed Server Application Programming Interface (LSAPI) is designed specifically for seamless, optimized communication between LiteSpeed Web Server and third party web applications. The lsapi is the fastest and most reliable way to serve PHP pages. It has a low memory footprint and understands PHP directives from .htaccess files. Works with the PHP versions available in […]

Set custom PHP version per directory

On the cPanel interface you can set the default PHP version on the Select PHP version menu. Currently the following PHP versions are available: PHP 4.4 PHP 5.1 PHP 5.2 PHP 5.3 PHP 5.4 PHP 5.5 PHP 5.6 PHP 7.0 PHP 7.1 PHP 7.2 PHP 7.3 PHP 7.4 If you are not using the native PHP version you can turn it on the available PHP […]