Page 1 of 1

Installing PHP v4.0 and Apache 2.0 using WAMP5 on Windows XP

Posted: Fri Apr 16, 2010 11:55 am
by VR-Fox
I am wondering if anyone can help me or at least point me in the right direction.
So recently I have been trying to install PHP 5, Apache 2.2 and MySQL 5 on to my windows XP system using WAMP 5 installation.
I was successful in doing so and everything installed and worked... except I am using Dreamweaver MX 6.1 and although I was able to create .php pages and they worked fine I was unable to get Dreamweaver to connect to MySQL database. Every time I tried I would get an "Unknown Error Has Occured" After several hours of searching out this issue I found out that the version of Dreamweaver I am using has issues with PHP 5 and Apache 2.2 and that it will not work with those versions. I discovered that from a blog of someone else with the same issue that this can be resolved by simply installing PHP 4.0 and Apache 2.0.

The issue I am having now is I want to use WAMP server, however the latest WAMP server comes with PHP 5.0 and Apache 2.2 after researching more I discovered that you can (supposedly) install the latest WAMP server and than just download PHP4.0 and Apache 2.0 and and install them into the "bin" directory. I am new to all of this PHP and Apache stuff and am not confident that I can manually configure everything so I am looking for a SIMPLE way to get this set up. Should I be looking for an older version of WAMP to start with and if so how come I am unable to find older versions of WAMP on the official WAMP download site ?

Please Help !

VR-Fox

Re: Installing PHP v4.0 and Apache 2.0 using WAMP5 on Window

Posted: Fri Apr 16, 2010 12:05 pm
by Eran
You are going to downgrade to an deprecated version of PHP just because some blog wrote it might solve a problem you have with connecting to MySQL using a very old version of dreamweaver? you don't see any problems with this line of thinking?

Re: Installing PHP v4.0 and Apache 2.0 using WAMP5 on Window

Posted: Fri Apr 16, 2010 12:08 pm
by VR-Fox
Further to my question I am posting some information from the WAMP Site. It is instructions on how manually add a different release of PHP or Apache to WAMP Server.

Quoted text is from WAMP website
-----------------------------------------
"1. Can I manually add a release of Apache, PHP or MySQL?
Yes and here's how. Download your favorite relerase on its official site, and put it in the bin directory of WampServer.
For Apache and MySQL, just add a wampserver.conf file inside the release's directory.
See the files delivered wih WampServer tocreate your own wampserver.conf file.
For PHP, also add a php.ini file (used in CLI if necessary) and a phpForApache.ini file (used by Apache) and that's it."

I tired to follow this but didn't fully understand (dont know what CLI is ?) and info seems lacking details on how and what to edit in the files mentioned above ?

Any help or advice please !

VR-Fox

Re: Installing PHP v4.0 and Apache 2.0 using WAMP5 on Window

Posted: Fri Apr 16, 2010 12:15 pm
by VR-Fox
pytrin wrote:You are going to downgrade to an deprecated version of PHP just because some blog wrote it might solve a problem you have with connecting to MySQL using a very old version of dreamweaver? you don't see any problems with this line of thinking?
Well yes I don't like the idea of downgrading and I very much just want to use the latest version of WAMP and with it all the latest versions of PHP MySQL and Apache. If there is a workaround that will allow me to use all the latest versions with my "Old" Dreamweaver MX 6.1 Please by all means tell me how. My issue is Dreamweaver MX 6.1 is what I am know and I would upgrade to CS3 or CS4 but cant afford to do that right now so I am stuck using Dreamweaver MX 6.1 for now. And up to this point everything I have tried to get Dreamweaver to connect to MySQL using PHP has Not worked. I don't want to downgrade but unless someone has a better option or a workaround that will allow me to get everything working with the latest version of WAMP server and my current Dreamweaver MX than I don't see much choice other than to downgrade ?

VR-Fox

Re: Installing PHP v4.0 and Apache 2.0 using WAMP5 on Window

Posted: Fri Apr 16, 2010 12:26 pm
by Eran
Why is it even necessary for you to connect to MySQL using dreamweaver? use a dedicated tool like phpMyAdmin or MySQL workbench, both vastly superior for this purpose. I would recommend using an alternative IDE such as Netbeans or PDT for eclipse, both are free and are much more capable than dreamweaver for progamming in PHP

Re: Installing PHP v4.0 and Apache 2.0 using WAMP5 on Window

Posted: Fri Apr 16, 2010 1:27 pm
by VR-Fox
pytrin wrote:Why is it even necessary for you to connect to MySQL using dreamweaver? use a dedicated tool like phpMyAdmin or MySQL workbench, both vastly superior for this purpose. I would recommend using an alternative IDE such as Netbeans or PDT for eclipse, both are free and are much more capable than dreamweaver for progamming in PHP
Well the truth is I am brand new to PHP and still quite new to MySQL as well I do not know how to code anything in PHP yet and I am not firmilar with MySQL Commands I have only learned how to make database connections to MySQL threw Dreamweaver and have no idea how to manually write MySQL code or PHP code but am learning. Dreamweaver automatically writes Javascript and other code that is needed for my website all I do is use graphical interface along with other Dreamweaver tools to tell it what I want and it does the code for me. I do eventually want to learn how to do all the code Manually myself but for now I don't have the time to learn it and need to finish my websites. I know I know all the hardcore PHP coders and MySQL guys are probably rolling there eyes at me but hey.. For right now thats all I know and have to work with.

VR-Fox