PHP | MyLiteratureTechLife.COM

You are here:
Home » Archive for the " PHP " Category

Archive for "PHP"

Installing Apache with Nginx autoinstaller to use Nginx as reverse proxy

Posted by 0 Responses

Installing Apache with Nginx autoinstaller to use Nginx as reverse proxy Although Nginx is a light webserver as compare to Apache, however some time we need apache to use as webserver because Nginx lack some features them apache, a big example is Mod_rewrite. Therefore we use apache, however to speed using websites we use Nginx as Reverse proxy. Nginx Autoinstaller-LNMP provides this option as well, that we can install apache and use Nginx as reverse proxy. Must read:- How to install Nginx,MySQL,PHP using... [ Continue reading... ]

How to create database and username using PhpMyAdmin ?

Posted by 0 Responses

How to create database and username using PhpMyAdmin ? PhpMyAdmin is a GUI for people who are not aware of command line interface to manage MySQL. Here I'm going to explain how to create Database and its Username using PhpMyAdmin. Procedure: Go to PhpMyAdmin Click on Privileges Then click on "Add a new User" Enter Username and Password you want Select "Local" in Host Scroll down, under "Database for user" area, click on "Create database with same... [ Continue reading... ]

PhpMyAdmin with Nginx Autoinstall – LNMP

Posted by 0 Responses

PhpMyAdmin with Nginx Autoinstall – LNMP Nginx Autoinstaller install PhpMyAdmin with it, which can be accessible using http://Ip_address/phpmyadmin How to install Nginx,MySQL,PHP using LNMP-Nginx Autoinstaller How to upgrade Nginx to latest version How to upgrade php to latest... [ Continue reading... ]

Upgrading PHP to latest in Nginx Autoinstaller – LNMP

Posted by 0 Responses

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 going to use php5.3.x latest version which is... [ Continue reading... ]

[ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0

Posted by 0 Responses

[ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0 Recently I had problem with apache after upgrade, and after checking log files, I found that error was PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0   This is because ionCube must be loaded before any of the Zend extensions are. So if you have the Zend extension/optimizer loaded, your php.ini should look like this to get ionCube to... [ Continue reading... ]

Installing and enabling Xcache in Kloxo/LxAdmin – CentOS

Posted by 3 Responses

Installing and enabling Xcache in Kloxo/LxAdmin – CentOS Installing and enabling Xcache is very easy in kloxo, you need to run following command to install sh /script/xcache-install [root@ ~]# sh /script/xcache-install Loaded plugins: fastestmirror, protectbase Loading mirror speeds from cached hostfile * base: ftp.osuosl.org * extras: mirror.wiredtree.com * updates: mirror.steadfast.net 0 packages excluded due to repository protections Setting up Install Process Resolving... [ Continue reading... ]

Easy way to optimize apache,php & MySQL

Posted by 0 Responses

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. # Download MySQLTuner and MySQL Performance Tuning Primer to ~/scripts. # To avoid having to invoke Perl/SH each time, make both files executable. chmod +x... [ Continue reading... ]

PHP script to test MySQL database Connection

Posted by 0 Responses

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 :- < ?php ###################################### C O P Y R I G H T S ############################################ # THIS SIMPLE SCRIPT IS DISTRIBUTED BY WWW.MYLITERATURETECHLIFE.COM UNDER LICENSE UNDER THE GPL RULES # # PLEASE DO NOT REMOVE THIS MESSAGE IN SUPPORT OF OUR HARD... [ Continue reading... ]