SSH tips and tricks

How to enable PHP modules?

Have you activated some PHP modules on your web server that are not loaded by default and discovered that they are missing in the command line? Here’s an option to use PHP.INI on your web server.

If you want PHP to use PHP.INI from one of your domains, you can add it as a key to the PHP alias, for example:

alias php='php56-cli -c ~/domeenid/'


It is important to notice that the file path starts with ‘tilde‘ -> ‘~‘ which represents the home directory.

SSH Timeout (TTL)

The default SSH Timeout or TTL for virtual servers is 1 hour. The time starts running from the last command and is not counted if there is an active script.

Read more

Updated on 23. Apr 2024

Was this article helpful?

Related Articles