Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

IIS 5.1 installation manual+question on end


Orbb

Recommended Posts

How to install osCommerce on IIS by Orbb

I write this manual for my personal use. Is complete copyleft :-D

 

Tools:

Windows XP SP3/Windows Server 2003 SP2

PHP 5.2.8 v ZIP balicku z http://www.php.net/downloads.php

MySQL 5.1 Community Server z http://dev.mysql.com/downloads/mysql/5.1.html#win32

MySQL Gui Tools 5.0 z http://dev.mysql.com/downloads/gui-tools/5.0.html

OSCommerce 2.2 CZ z http://oscommerce-cesky.cz/ceska-oscommerc...ze-2-ke-stazeni (I am from Czech republic, so you can download what you want :-)

1) Install IIS

2) Download and extract the PHP5 to C:\PHP

3) Modify PATH in system settings;Start/Control panel/System/Advanced/Enviroment variables. In system variables section find Path and add on the end this: ";C:\PHP" without quotes, with semiclon

4) Start Regedit and add this: HKEY_LOCAL_MACHINE\SOFTWARE\ Create key PHP and add string value IniFilePath=C:\PHP

5) Rename C:\PHP\php.ini-recommended to php.ini

6) Modify php.ini:

register_globals = On

register_long_arrays = On

auto_globals_jit = On

cgi.force_redirect = 0

doc_root = C:\Inetpub\wwwroot

Uncomment ;extension=php_mysql.dll

extension_dir = "C:\php\ext\"

browscap = C:\WINDOWS\system32\inetsrv\browscap.ini

7) Add PHP to IIS: Control panel/Admninistrative tools/IIS Manager

Expand Local computer, expand Web sites, right click on the Default web site and choose Properties. Go to ISAPI Filters, Add..., Name: PHP, Executable: C:\PHP\php5isapi.dll. Home directory tab, check the Write and Subfolder (if you have this). Execute permission: Scripts Only, Configuration: Add, Program: C:\PHP\php5isapi.dll, Extension: .php (with dot). Documents tab, Add..., index.php.

8) Reboot PC

9) Copy OSCommerce2CZ to C:\Inetpub\wwwroot and rename to oscommerce (complete path must be: C:\Inetpub\wwwroot\oscommerce)

10) Go to This Computer, in Menubar choose Tools, Folder options, View tab, UNcheck (leave blank): Use simplyfied files sharing (not sure by the english but you will se it :-).

11) Change the permission for the oscommerce folder (right click on C:\Inetpub\wwwroot\oscommerce, Properties, Security tab, Add and check for the IWAM, IUSR and Everyone users (Built-in account for anonymous access to Internet Information Services and Built-in account for Internet Information Services to start out of process applications) Full acces and click OK

12) Modify (backup first) install_3.php in C:\Inetpub\wwwroot\oscommerce\install\templates\pages by following:

Find:

$sql_file = $dir_fs_www_root . 'install/oscommerce.sql';

and replace with

$sql_file = 'oscommerce.sql';

13) Test PHP by open Internet Explorer and type http://localhost/oscommerce. You must see the Welcome to OSCommerce page. If not then happy googling :-)

14) Install MySQL, choose Custom, Change install path in MySQL Server to C:\SQL and MySQL Server Datafiles to C:\SQL\Datafiles.

15) In SQL Configurator choose Standard Configuration, check Install as Service and check Start Automatical, UNcheck (leave blank) Modify Security Settings, Next, Execute. Sucesfull ceck list: Configuration File Created, Windows Service MySQL installed a Service Started Sucesfully.

16) Install complete MySQL Gui Tools to C:\SQL\Tools

17) Change root password for MySQL. Start, Run..., cmd, OK.

Commands:

cd .. folder up (go to the C:\) (type this and press enter)

cd sql

cd bin

mysqladmin -u root password sa

18) Test changed password throught MySQL Administratr (in Start menu)

Server Host: localhost

Username: root

Password: sa

19) Open browser and type http://localhost/oscommerce Now you can install it ...

 

 

20) My problem: after sucessfull installation on the screen with Admin and Catalog buttons (osCommerce writes INstallation was sucesfull, no errors :D ) when I click on the Admin or Catalog it give to me Error 500. Internal Server Error :-( I think it is somethink with php plugin but I dont know how to fix it. Can you help me with this and finish this manual ? :-))

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...