Php 4 on cpanel

Here are a few articles that mention it: https://documentation.cpanel.net/display/EA/Custom+Modules https://forums.cpanel.net/threads/how-to-easy-php4-php5-side-by-side-after-removal-of-php4-from-easyapache.304942/ The End of PHP 4 https://www.siteground.com/kb/how_to_have_different_php__mysql_versions/ You can set the handler for the site using a .htaccess file in the domains webroot with the following contents: Code: AddHandler application/x-httpd-php4 .php .php4 .php3

Enable gzip on WHM/cPanel

To enable gzip, login to cPanel account for the user account which GZIP compression wants to be turned on. Then click on Optimize Website under Software / Services. Choose Compress All Content or Compress the specified MIME types to enable GZIP compression on all websites hosted by the particular account. Click on Update Settings when…

SCP Examples

How to secure copy a file from remote server to to local directory: /home/user/file.txt = remote file /home/user/Desktop/ = path to copy to local system # scp -r user@remote.server.com:/home/user/file.txt /home/user/Desktop/ -r Recursively copy entire directories What if the port is on 2243? Use: # scp -P2243 -r user@remote.server.com:/home/user/file.txt /home/user/Desktop/ # scp -P -r user@remote.server.com:/home/user/file.txt /home/user/Desktop/…