Upgrading PHP to latest in Nginx Autoinstaller – LNMP

Nginx Autoinstaller is a ready made script to install a server with Nginx webserver, MySQL and PHP. How to install Nginx,MySQL,PHP using LNMP-Nginx Autoinstaller How to upgrade Nginx to latest version LNMP Nginx autoinstall also provide script to upgrade php to latest version in the same way it provide for Nginx. Procedure: Check latest version number of php from php.net We are … [Read more...]

Nginx Autoinstaller -LNMP – install Nginx, MySQL and PHP on Linux easily

I have been planning to move my websites from apache web server to nginx since nginx is much faster then apache. I found Nginx Autoinstaller which is a script available to make a nginx based server within few minutes. Nginx Autoinstaller Nginx Autoinstaller includes:- Nginx MySQL PHP PHPMyAdmin Zend Optimizer eAccelerator Apache (optional) ionCube (optional) PureFTPd … [Read more...]

Adding Mail header to emails send by php to track spammer in Cpanel/WHM

Spamming is a known problem for every host, and adding information in header for the emails sent by php is a great way to track down spamming script. Cpanel has this option to select in easyapache. You can go to WHM>>Easy apache, Exhaustive Options list >> MailHeaders Select it and recompile apache and php, and after that every emails generated from a php script will have … [Read more...]

Easy way to optimize apache,php & MySQL

There are 2 important scripts to optimize apache,php and mysql very easily. They are MySQLTuner (Perl) and MySQL Performance Tuning Primer (shell) They can help diagnose MySQL database performance issues, and provide recommendations on how to solve them. [crayon-6513b5466a518981705285/] … [Read more...]

PHP script to test MySQL database Connection

Here is php script to test database Connection, it will need little edition as per your database name and password Here you go Just copy and paste below code :- [crayon-6513b5466a5b6114053119/] … [Read more...]