Stopping Apache, pointing LoadModule php5_module. Quickly determined that on Vista SP1, PHP5.3 can't resolve "localhost" to "127.0.0.1" in the mysql_connect function. Started to get error messages at last - so the mysql_connect function that wasn't failing altogether. Took a more methodical debugging attitude to this and reduced the nnect_timeout to 5 seconds.
![moveing from php 5.2 to 5.3 moveing from php 5.2 to 5.3](https://i2.wp.com/wordpress.org/news/files/2019/03/Screen-Shot-2019-03-27-at-10.30.34-PM.png)
conor dot kerr_php at dev dot ceon dot net Hi, (last revision 05:31 UTC by sfvjf at gmail dot com) (last revision 05:33 UTC by i at gmail dot com) in C:\Program Files\Glossword-WAMP\htdocs\test8.php on line 3 Warning: mysql_connect() : A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. Warning: mysql_connect() : A connection attempt failed because the connected party did not (trying to connect via tcp://localhost:3307) in C:\Program Files\Glossword-WAMP\htdocs\test8.php on line 3 :(Īny PHP script that doesn't use MySQL works fine on all three Vista systems.
![moveing from php 5.2 to 5.3 moveing from php 5.2 to 5.3](https://content.hostgator.com/img/hostgator_cpanel_php_selector_icon.png)
Sadly I now have no choice but to use XP anytime I need to run anything I write as 5.3 clearly isn't compatible with the combination of Vista and MySQL.
#Moveing from php 5.2 to 5.3 full
Tried everything I could on the Vista systems, removing all copies of libmysql.dll from the system, changing the PATH, removing the path, (restarting after all changes) but every time PHP the mysql_connect function times out.Īre the snapshots tested on XP only? I've spent almost a full working day over the past two weeks trying to get 5.3 running in my normal environment so that I could start using the namespace functionality. Tried rebooting into Windoze XP on one of the systems and installing on it and everything worked perfectly straight away.
![moveing from php 5.2 to 5.3 moveing from php 5.2 to 5.3](https://www.tiny.cloud/docs/images/old_togglemenuitemchecked.png)
I've been trying the PHP 5.3.x snapshots out for the past two weeks on three separate Vista systems and consistently got timeouts when a mysql_connect function was encountered. Conor dot kerr_php at dev dot ceon dot net Description: