Forum Moderators: coopster
Installing Apache2 and PHP works and runs fine (Apache2 installed to start from Console rather than as a Service). However, when I install MySQL and try and connect to it via PHP I get the error "cannot connect to localhost". (I can connect to MySQL from the Console).
I have verified that the dlls needed and php.ini are in the correct place.
I have removed and reinstalled MySQL in various configurations as a Service, bin in the PATH, etc. Also, in various places including "C:/Program Files/Apache Group/" and "C:/Program Files/MySQL/MySQL Server 4.1/".
I have tried changing the PORT that Apache2 listens to from 8080 to 3306 (MySQL's default port) and now get errors starting Apache2 if MySQL is already running and vice versa.
Initially I started by installing PHP5.0.4 but got the same errors so I removed it and installed PHP4.3.11 instead.
Can anyone help me fix this?