Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

VISTA IIS7 + MYSQL + PHP 5.2.1 install guide


raceonusa.com

Recommended Posts

1. Install vista ultimate (if not ultimate, make sure it has IIS7 and no restrictions)

 

2. Go to Control Panel > Programs > "Turn Windows Features On or Off"

 

3. Check box the Internet Information Services root, also expand and Check box CGI, ISAPI Extensions, ISAPI Filters, under Application Development Features. Click OK.

 

4. Once IIS7 is installed open Internet Explorer and try typing "localhost" without quotes in address bar, you should see the IIS7 website pop up, if not, something is wrong.

 

5. Download MYSQL from their website mysql.com , then click on community, then click on I don't need extra support, yada yada.. download it, install, choose all defaults.. I choose multi lingual database, but you might not need it. Accept all defaults. (also you should download their GUI toolsyea

 

6. Ok, IIS 7 is good, and MYSQL was ok. Go to php.net and download the latest stable release, don't download the "installer", download the zip version without installer! Believe me, the installer sux if you have to make changes, you'll have doubles of the same line in your php.ini file, and it's buggy in vista sometimes. I know it feels wierd to just unzip with having add/remove programs to uninstall it, but in this case you have to do it the old school way.

 

6. Unzip it to C:\PHP or whatever drive you use for you website..

 

7. Here's where it get's un-user friendly... PHP is a program that is configured via a file named php.ini, of course to make things wierder, you'll see two of these files.. (php.ini-dist and php.ini-recommended), delete the "-recommended" off the end so it's just "php.ini". Now cut and paste this file into your C:\Windows directory.

(supposedly this can be skipped by adding the path of your php directory to the PATH setting on your computer, but this usually dosen't work for me so don't even bother trying to make this clean)

 

8. Now you'll have to configure php, so edit the C:\windows\php.ini file with notepag. You'll want to remove the ";" (semi colon) from lines you want to enable.

 

enable these..

 

extension=php_curl.dll

extension=php_gd2.dll

extension=php_mysql.dll

extension=php_mysqli.dll

extension=php_openssl.dll

 

(you don't need them all, but OS Commerce 3 is coming and it does need them so might as well save some time and just enable these)

 

register_long_arrays = On

 

and be sure to enable this too!! This will allow you to get past step 2 in the setup process , without doing this you will be stuck!

 

Save and close the php.ini file.

 

9. Click run and type INETMGR (make a shortcut to your desktop, you'll use this a lot!)

 

10. Click the very root of your server in INETMGR and click the "Restart Server" link on the right.

 

11. Create a subdirectory for your website called catalog (you can name it whatever actually)

 

12. Download OS Commerce 2.2 and unzip to catalog directory.. so c:\inetpub\wwwroot\catalog

 

13. Open the MYSQL Gui tools administrator and create a Schema called "oscommerce"

 

14. Open up IE and put "localhost/catalog" in the address bar and hit enter.. Install OS Commerce! Localhost is your server and your database is called "oscommerce"

 

 

(you guys can add to this or give me tips, I'm a noob at OS Commerce so I might have missed something!)

Link to comment
Share on other sites

  • 3 weeks later...

Here's another you'll need to enable!

 

extension=php_mcrypt.dll

 

Make sure to enable that one too in php.ini, you'll need it for PHPMYADMIN

 

Also for some reason I had to manually edit some include files, just 2 of them, in order to get the path's working in os commerce, othewise I couldn't proceed past the last step.

Link to comment
Share on other sites

  • 8 months later...

Just a note... for the life of me I could not get IIS7 + PHP + MySQL to work together.

 

So I cheated a bit :-"

 

I'm running Windows 2008 Web Server: http://www.microsoft.com/windowsserver2008/default.mspx

 

Loaded IIS7 via the Server Roles Installation making sure to also install CGI, ISAPI Extentions, ISAPI Filters and the FTP Publishing Services.

 

Then I installed XAMPP: http://www.apachefriends.org/en/xampp-windows.html

 

However, I did not enable Apache as a Service, because IIS7 is taking care of that. Nor did I enable FileZilla, because the FTPP Services are taking care of that part.

 

Anywho... It worked like a charm after that. PHP and MySQL Harmony! Well atleast as of (5:20am EST Dec. 24, 2007).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...