Contact Menu

Search results for "return the status of server by php page"

APC INFO Monitor

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

…the logs, you should see messages like the following: mod_fcgid: process /home/username/public_html/scriptname.php(21272) exit(lifetime expired), terminated by calling exit(), return code: 0 … exit(server exited) … … exit(idle timeout) … if the cache is working well. If you see exit(communication error) then you have issues, probably cache full and fragmented. Fragmentation Explained Fragmentation is a measure […]

Continue Reading 54

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

…nt; } include /home/username/public_html/nginx.conf; […] However, remember you will need to restart NginX web server after making changes to the W3TC configuration, because these will over-write the local nginx.conf file. Conclusion Sorry, no benchmarks. See my example/test site here. Nginx support on Virtualmin is working well, though I don’t see much improvement over Apache in […]

Continue Reading 18

Web Hosting

Decades of experience hosting websites, from small local sites with only a few html pages, to high-traffic sites with thousands of users and pages.  Website hosting, evolved Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only […]

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

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

…package provided via the rpmforge.repo. Search no longer works, nor does pagination, etc. Plus, it’s out of date and vulnerable to an XSS exploit. I have solved this by changing to the EPEL repo, which maintains the latest version of phpMyAdmin. This post will teach you how to install phpMyAdmin on CentOS, Amazon Linux, or […]

Continue Reading 0

Varnish VCL and Config for WordPress with W3 Total Cache

…enting. This configuration also works well with W3 Total Cache. This configuration is for Varnish on a separate server, but should also work on a single server with appropriate changes to the port and backend IP settings. Varnish Config (/etc/sysconfig/varnish) # Configuration file for varnish # # /etc/init.d/varnish expects the variable $DAEMON_OPTS to be set from […]

Continue Reading 23 website

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

…s items. Advertising and sponsored referrals provide the revenue stream. website I was contacted by the publisher after responding to a plea for assistance in a support forum. Though the site was running on a dedicated server with 8GB RAM, it was crashing frequently under load. The developer tried implementing APC Alternative PHP […]

Continue Reading 4

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

Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only serving static HTML files. This presents challenges in security as well as performance tuning. It is impossible to predict whether a certain configuration will work properly […]

Continue Reading 9
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…commodity shared hosting server, this will use a lot of memory, and you will need somewhere in the neighborhood of 10-30GB apc.shm_size if you attempt to configure a single APC cache for the entire server. My web hosting server is for a small number of personal clients, so I adjust the APC settings for each […]

Continue Reading 4
Screen Shot 2013-01-16 at 4.19.03 PM

Auto Mailer Form with Validation and reCAPTCHA

…tion and reCAPTCHA. PFBC does not include a form handler, but it does take the difficult and redundant work out of creating self-validating forms. Adding an auto-mailer to PFBC is very simple, however. You just need a simple PHP if/else and all is well. If you have read this far, you should go ahead and […]

Continue Reading 2