steve m Posted January 3, 2008 Share Posted January 3, 2008 Hi All, I just bought a new laptop and it has Windows Vista Home Premium. I'm new to installing PHP, MySQL, and Apache, so I was wondering; can PHP, MySQL, and Apache work on Vista? I was able to load Apache 2.2.3 on there and it seems to work. It's when I try to install PHP 4.4.3 I try to start the Apache server and it comes up with an error "can't load module "C:/php/sapi/php4apache.dll". I've also tried using php4appache2.dll but no success. So I'm not sure if I need to be using a particular version of these programs. Do I need to use a particular version? Quote Link to comment https://forums.phpfreaks.com/topic/84293-solved-is-there-a-certain-php-4-mysql-and-apache-version-to-use-on-windows-vista/ Share on other sites More sharing options...
PFMaBiSmAd Posted January 3, 2008 Share Posted January 3, 2008 Firstly, the end of life of php4 has already gone past. You should be using the latest version of php5. Secondly, the php dll for Apache 2.2.x contains a 2_2 in the file name. php4apache.dll/php5apache.dll are for Apache 1.x php4apache2.dll/php5apache2.dll are for Apache 2.0.x php4apache2_2.dll/php5apache2_2.dll are for Apache 2.2.x Quote Link to comment https://forums.phpfreaks.com/topic/84293-solved-is-there-a-certain-php-4-mysql-and-apache-version-to-use-on-windows-vista/#findComment-429298 Share on other sites More sharing options...
wildteen88 Posted January 3, 2008 Share Posted January 3, 2008 Last time I checked PHP4 doesn't come with an Apache2.2.x module. Only PHP5 comes with Apache2.2.x module. In order for PHP4 to work with Apache2.2.x you'll need to download the unoffical module from apachelounge.com Make sure you are running the latest versions of AMP in Vista. If you find you get any problems running Apache, PHP or MySQL in vista then set the Apache, PHP or MySQL executables to Windows XP SP2 compatibly mode. I had to do this for the Apache Monitor executable in order for it function properly. Quote Link to comment https://forums.phpfreaks.com/topic/84293-solved-is-there-a-certain-php-4-mysql-and-apache-version-to-use-on-windows-vista/#findComment-429524 Share on other sites More sharing options...
steve m Posted January 3, 2008 Author Share Posted January 3, 2008 Since Apache 2.2 doesn't work with PHP4, should I go ahead and remove Apache 2.2 and in stall Apache 2.0? Or in your opinion install PHP5, Apache 2.2, and MySQL 5? Quote Link to comment https://forums.phpfreaks.com/topic/84293-solved-is-there-a-certain-php-4-mysql-and-apache-version-to-use-on-windows-vista/#findComment-429536 Share on other sites More sharing options...
wildteen88 Posted January 3, 2008 Share Posted January 3, 2008 Since Apache 2.2 doesn't work with PHP4, should I go ahead and remove Apache 2.2 and in stall Apache 2.0? Or in your opinion install PHP5, Apache 2.2, and MySQL 5? Best to upgrade to PHP5.2.x IMO. Most PHP4 code is backwards compatible with PHP5. Quote Link to comment https://forums.phpfreaks.com/topic/84293-solved-is-there-a-certain-php-4-mysql-and-apache-version-to-use-on-windows-vista/#findComment-429549 Share on other sites More sharing options...
steve m Posted January 3, 2008 Author Share Posted January 3, 2008 Ok, I will try that and see if I don't run into any errors. I probably be back if I run into problems. Thanks Wildteen88. Quote Link to comment https://forums.phpfreaks.com/topic/84293-solved-is-there-a-certain-php-4-mysql-and-apache-version-to-use-on-windows-vista/#findComment-429563 Share on other sites More sharing options...
steve m Posted January 4, 2008 Author Share Posted January 4, 2008 Thanks everyone! I took the adive from all of you and upgraded to PHP5 and it is working now. Thanks again! Quote Link to comment https://forums.phpfreaks.com/topic/84293-solved-is-there-a-certain-php-4-mysql-and-apache-version-to-use-on-windows-vista/#findComment-430365 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.