Contact Menu

Search results for "cpanel apc apc ini file location"

APC INFO Monitor

How to Configure APC Cache on Virtual Servers with PHP running under FCGId

…ollowing configuration will likely work for you; if you have more PHP software packages, you will need to raise apc.shm_size and raise the apc.user_entries_hint and apc.user_entries_hint settings, and possibly lower TTL values to allow cached files to expire and be replaced. In general, you must double apc.shm_size in relation to APC’s highest reported Memory Usage […]

Continue Reading 54

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)

…\.php$ { try_files $uri @wordpress; fastcgi_index index.php; fastcgi_pass localhost:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include /etc/nginx/fastcgi_params; } location ^~ /blogs.dir/ { internal; root /home/username/public_html/wordpress/wp-content; } Adding APC Support for a Virtual Domain Because Virtualmin’s implementation of Nginx uses php-fastcgi, each virtual domain will load its own php.ini file, so… 54, 1, 1, 0 and 3627.16

Continue Reading 18
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

APC cache does not work well in a virtual hosting environment unless PHP is running as FCGID, and every individual virtual host has a unique PHP.ini and a unique fcgiwrapper. This is not the case with many virtual hosting environments because the memory and CPU requirements are too great. I suggest using Virtualmin for a […]

Continue Reading 4

Cpanel Mailman mailing lists: cannot manage lists after migrating to new host

…mailing lists were the exception. Mailing lists appear to have migrated properly, as they show up under WHM and Cpanel and usr/local/cpanel/3rdparty/mailman/bin/list_lists However, when cpanel user clicks Manage link, the following message appears: mailing lists – Admin Links No such list There currently are no publicly-advertised Mailman mailing lists on visit the […]

Continue Reading 2 website

Apache and MySql Performance Tuning for High Traffic WordPress Website on Cpanel

…ing on a dedicated server with 8GB RAM, it was crashing frequently under load. The developer tried implementing APC Alternative PHP Cache and W3 Total Cache, but these measures turned out to be incompatible with some of the custom PHP code and the software architecture of the Cpanel server. Haphazardly implementing randomly suggested “solutions” had […]

Continue Reading 4
Screen Shot 2012-09-07 at 11.09.50 AM

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)

…Off # # NginX Edit nginx.conf for the hostname’s server_name website location /phpMyAdmin { root /usr/share/; index index.php; location ~ ^/phpMyAdmin/(.+\.php)$ { try_files $uri =404; root /usr/share/; fastcgi_pass localhost:9002; fastcgi_param HTTPS on; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /usr/share$fastcgi_script_name; include /etc/nginx/fastcgi_params; fastcgi_buffer_size 128k; fas… 5, 0, 0, 0 and 319.57

Continue Reading 0

Varnish VCL and Config for WordPress with W3 Total Cache

…sten address and port VARNISH_ADMIN_LISTEN_ADDRESS= VARNISH_ADMIN_LISTEN_PORT=6082 # # # Shared secret file for admin interface VARNISH_SECRET_FILE=/etc/varnish/secret # # # The minimum number of worker threads to start VARNISH_MIN_THREADS=1 # # # The Maximum number of worker threads to start VARNISH_MAX_THREADS=1000 # # # Idle timeout for worker threads VARNISH_THREAD_TIMEOUT=120 # # # Cache file location […]

Continue Reading 23
Screen Shot 2013-04-19 at 6.32.51 PM

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013

…and will not function as written. Why? Because Fail2Ban has to deal with the particular implementations of log files in various GNU/Linux distributions, and the peculiarities of the reporting structure in those logs, no single RegEx, nor log file location, is going to work for every distribution. Neither can Fail2Ban account for every change in log […]

Continue Reading 1

Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment

…y servers): [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql symbolic-links=0 innodb_file_per_table = 1 thread_concurrency = 8 query_cache_size = 64M query_cache_limit = 4M thread_cache_size = 8 myisam_sort_buffer_size = 64M read_rnd_buffer_size = 8M read_buffer_size = 2M sort_buffer_size = 2M table_cache = 1600 table_definition_cache = 1600 max_allowed_packet = 4M key_buffer = 1G interactive_timeout = 2 wait_timeout =… 3, 0, 0, 0 […]

Continue Reading 9