Friday, 26 April 2013

Solution : PHP Warning: mysql_connect(): No such file or directory

If you get PHP Warning: mysql_connect(): No such file or directory and unable to connect mysql through php then change localhost to 127.0.0.1 while connecting to database example: $connection = mysql_connect('localhost', 'root', 'password'); to $connection = mysql_connect('127.0.0.1', 'root', 'password'...
Read More

Wednesday, 10 April 2013

Solution : The mysqli extension is missing. Please check your PHP configuration

if you get The mysqli extension is missing. Please check your PHP configuration error in phpmyadmin follow two steps 1. install php-mysql in redhat , fedora yum install php-mysql in ubuntu apt-get install php-mysql 2. restart apache server restart mys...
Read More

Tuesday, 9 April 2013

Steps to Install Python3 in Linux through Command Line

To Install Python3 in linux through Command line follow below commands Dependencies for Python3 is gcc and some times zlib-devel so install these first in redhat ( RHEL ), fedora etc commands are root@bt:~# yum install gcc root@bt:~# yum install zlib-devel in Ubuntu, Linux Mint etc commands are root@bt:~# apt-get install gcc root@bt:~#...
Read More

Saturday, 6 April 2013

Solution: Unable to access mysql server of Amazon ec2 instance remotely

If you have problem in accessing mysql server server publicly or remote even in the security group if you open mysql port 3306 in inbound rules. to solve this problem simply stop iptables. First check port 3306 whether it is Listining or not  [root@ip-10-142-194-252 ~]# netstat -ant Active Internet connections...
Read More

Solution: Unable to access httpd server on Amazon ec2 instance

If you have problem in accessing http server publicly even in the security group if you open http port 80 in inbound rules. to solve this problem simply stop iptables. First check port 80  whether it is Listining or not  [root@ip-10-142-194-252 ~]# netstat -ant Active Internet connections (servers and established) Proto...
Read More
Here We Write The Problems we face at different situations and Solutions to those problems.