Atomic repo php Upgrade error

Servers popping up that are having php failures or issues with php_admin_value or php_admin_flag when apache restarts. This is occurring on servers running PHP 5.3.26. It appears when this update was pushed out, mod_php is no longer being loaded by default. The symptoms are outlined here: http://forum.parallels.com/showthread.php?287767-SOLVED-Latest-php-5-3-26-yum-update-from-art-breaks-apache https://www.atomicorp.com/forum/viewtopic.php?f=12&t=6891&sid=a2317265ae0523eb9273d9d6001f10ed You shouldRead More…

Manage Processes

If you connect to the server via SSH and run the command: ps afwux php [root@austin ~]# ps afwux | grep php root 998 0.0 0.3 335940 25100 ? Ss Jun18 1:10 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/bin/modules/watchdog/wdcollect -c /usr/local/psa/etc/modules/watchdog/wdcollect.inc.php root 19926 0.0 0.0 103244 848 pts/0 S+ 14:39 0:00 _ grepRead More…

Fastcgi Error

[stextbox id=”warning”]Connection reset by peer: mod_fcgid: error reading data from FastCGI server[/stextbox] Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Thu Jul 31 13:05:21 2014] [error] [client 99.xxx.xx.xx] Premature end of script headers: cron.php Edit fastcgi.conf and add the following: nano /etc/nginx/fastcgi.conf FcgidBusyTimeout 3600

PHP Spam Scripts

PHP Spam Scripts I finally decided this topic deserves its own page. To find the script sending spam Plesk Ver -11.0 cat /var/www/vhosts/domain.com/statistics/logs/access_log | grep POST > /tmp/post.log Ver 11.5+ cat /var/www/vhosts/system/domain.com/statistics/logs/access_log | grep POST > /tmp/post.log WHM cPanel cat /usr/local/apache/domlogs/domain.com | grep POST > /tmp/post.log View the results catRead More…

Using Mysqltuner

Download/Installation Simple wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl # chmod +x mysqltuner.pl # ./mysqltuner.pl You can download the entire repository by using ‘git clone’ followed by the cloning URL above. The simplest and shortest method is: wget mysqltuner.pl perl mysqltuner.pl Change the permissions you can execute it without calling perl directly. [root@austin ~]# chmodRead More…