Skip to content

Instantly share code, notes, and snippets.

View jaxtheking's full-sized avatar

Gianluca Pinoci jaxtheking

View GitHub Profile

Disallow Direct IP Browsing on WHM/cPanel Servers

Last Updated 2022-09-07 by Kevin Roth

Some Linux web servers are browsable by direct IP. This can be disabled for security purposes.

Modify Apache main default template

  1. Create custom Apache main defaults template
@jaxtheking
jaxtheking / opcache.ini
Created March 27, 2019 14:48 — forked from rohankhudedev/opcache.ini
Best Zend OpCache Settings / Tuning / Configurations
[opcache]
; Determines if Zend OPCache is enabled
opcache.enable=1
; Determines if Zend OPCache is enabled for the CLI version of PHP
;opcache.enable_cli=1
; The OPcache shared memory storage size.
opcache.memory_consumption=512