so I'm trying to get a php script to connect to mysql, and I get the following error when I run a wget command for the script...
******(same error comes up 20 times before it decides to quit)...
(try:20) => `-'
Connecting to localhost[127.0.0.1]:80... connected.
HTTP request sent, awaiting response...
Read error (Connection reset by peer) in headers.
This script worked perfectly with my other VPS. The only diferrence is that on my other VPS, I had the following installed from ubuntu's installer:
apt-get install mysql-server (installed mysql5) apache2 php5 libapache2-mod-php5 libapache2-mod-auth-mysql php5-mysql
With Westhost, I have only MySql4 and php5 installed from their site applications, and I restarted the vps. Do I need to install additional applications? ps, I turned on cmd, passthru, popen, proc_open, shell_exec, and system in PHP and that did not seem to help. Any ideas? I feel like this is the only thing preventing me from getting my website to funcion properly.