| Well, it has been close to two years, and thank you to everyone who has come to this website. I am putting a little tutorial down from some friends of mine, who have made my life easier. Thanks.
A quick and painless guide to setting up ColdFusion 8, Apache and MySQL on a Windows XP workstation. Download XAMPP http://www.apachefriends.org/en/xampp.html Install XAMPP Destination Folder: c:\xampp\ You can choose to install Apache as a service if you want (I didn't, but you can add it later). Once installation completes fire up XAMPP Control Panel and stop Apache if it is running Download ColdFusion 8.0.1 http://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion Install Coldfusion 8.0.1 Tick the "developer edition" option Choose the "Server configuration" option Select the subcomponents you want to install. You don't need any of them to run ColdFusion code, so unless you want them I'd untick them. Destination Folder: c:\Coldfusion8\ When you get to the "Configure web server connector for ColdFusion" screen, click the "add" button. Select "Apache" from the dropdown list Enter "C:\xampp\apache\conf" as your Configuration Directory Enter "C:\xampp\apache\bin\apache.exe" as your server binary path Click "OK" Click "Next" Change the directory for the Administrator Location to: "C:\xampp\htdocs" The rest is pretty straight forward. You can turn RDS on if you want to use CFEclipse or Dreamweaver to connect to your database for code generatation, otherwise you can leave it off. Once ColdFusion has finished installing, you need to start Apache. If you closed the XAMPP Control Panel you can find it in your start menu. Fire up a browser and enter "http://127.0.0.1/CFIDE/administrator/index.cfm" into you address bar. Hopefully you should see a nice ColdFusion admin screen! MySQLXAMPP also installs MySQL and the phpMyAdmin tool for maintaining you MySQL databases. PHPIf you do need to run PHP on your local box then XAMPP will set this all up for you. I have had to tweak the ini files to get some thing to run. Here is a quick guide: cUR This is a pain (but it makes you appreciate ColdFusion!), - search for the following files in your C:\xampp\ directory: php4ts.dll, ssleay32.dll, php_curl.dll. Copy them into your C:\WINDOWS\system32\ directory.
- edit C:\xampp\apache\bin\php.ini and uncomment the "extension=php_curl.dll" line and save it
- restart Apache.
After installaion of everything, you can now get your DSN working. Your DSN WILL NOT WORK unless you have a database already setup. That is the really nice thing about XAMPP is that connection of MySQL to the server is SUPER easy. Once your database is setup, add a DSN using the same name as the database. Everything should just connect very nicely after that.
If you have any questions, I am usually unavailable and there should be plenty of information about this on the internet. |