wanted to test if my PHP 7 and MySQL/MariaDB for WordPress are working. If not I wanted to see some error on screen or for my monitoring system. How to write a script for a quick PHP MySQL DB connection test for WordPress or any other database and send an email or text when site is down?
‘m running PHP version 5.3.3 on CentOS / RHEL 6.x with APC php-pecl-apc-3.1.9. However, I’m getting the following warnings in my php server log file
[01-Jul-2012 10:50:49] PHP Warning: require_once(): Unable to allocate memory for pool. in /var/www/html/includes/admin.php on line 57
[18-Jul-2012 17:00:08] PHP Warning: include_once(): Unable to allocate memory for pool. in //var/www/html/includes/xmlrpc.php on line 55
[18-Jul-2012 17:00:40] PHP Warning: require(): Unable to allocate memory for pool. in /var/www/html/includes/geshi.php on line 2307
How do I fix these php warnings?
How do I restart the Apache 2 Web Server under Apple OS X UNIX operating systems using bash command prompt?
Whenever I try to star my Apache 2 server under UNIX / Linux and get a warning as follows:
[warn] NameVirtualHost *:80 has no VirtualHosts
How do I fix this problem?
How do I start / stop or restart Apache web sever via SSH (secure shell) under Linux or UNIX operating systems?
Continue reading “Start / Stop / Restart Apache Web Server Via SSH”
How do I restart Apache 2 web server under Apple Mac OS X UNIX operating systems?
I’m using Varnish cache infront of Apache web server and I’d like change my web server signature from
Apache/2.2.8 (Ubuntu) mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.8 OpenSSL/0.9.8g
Apache Web server
How do I change headers using Varnish?