Search the Community
Showing results for tags 'xampp'.
-
Download and install Xampp from here: https://www.apachefriends.org/download.html The version I used was windows with php 8.1.12 It will install in the directory c:\xampp In c:\xampp\htdocs create the directory “catalog” Download the latest version of OSC4 from here: https://www.oscommerce.com/ Once downloaded unzip the files to c:\xampp\htdocs\catalog Start the xampp control panel and start Apache, MySql & Mercury In xampp control panel click on MySql admin tab – this will open xampp PhpMyAdmin where you need to create a new database and password. In your browser, navigate to localhost/catalog – This should start the installation process for OSC4 Initially the installation will fail due to a couple of services needed as follows: First PHP GD: See this link for the solution: https://www.geeksforgeeks.org/how-to-install-php-gd-in-xampp/ Second PHP Extension intl: See this limk for the solution: https://stackoverflow.com/questions/33869521/how-can-i-enable-php-extension-intl The installation may fail again when trying to install the database due to password issues – If so you may need to hard code your database password into the catalog/admin/includes/configure.php file at around line 52 The installation should now continue and complete (unless I forgot a step / adjustment somewhere….) Ok so now you can go to the browser and using localhost/catalog open your new website. BUT….. More changes are required to enable your access to your Admin / Backend as follows: Firstly from a post by @pandrei a change needed to: xampp/htdocs/catalog/admin/includes/local/configure.php and remove extra slash in these constants: define('DIR_WS_ADMIN', '//oscommerce/store/admin/'); define('DIR_WS_CATALOG', '//oscommerce/store'); Change to: define('DIR_WS_ADMIN', '/oscommerce/store/admin/'); define('DIR_WS_CATALOG', '/oscommerce/store'); You can now navigate to localhost/catalog/admin but the login will fail, as the Mercury email programme needs to be set up as follows: First make sure you have an email account and password set up (I created a gmail.com email account just for this purpose) Then you need to configure Mercury to send mails, there is lots of info out there, but this link is one of the most straightforward: https://www.geeksforgeeks.org/how-to-configure-xampp-to-send-mail-from-localhost-using-php/ Next you need to make a change via the xampp mercury control panel, just a case of unchecking a box, which this link explains: https://stackoverflow.com/questions/6809369/warning-mail-function-mail-smtp-server-response-553-we-do-not-relay-non-l You should now be able to login to your Admin / Backend – Simples! Disclaimer: As I did the install a few days ago I may have forgotten a step or change needed, so don’t blame me if it does not work or if you waste hours of time….. If it fails post here and I (or somebody who actually knows what they are doing) will try and help.
-
Encountered issues installing osCommerce on a Windows server with XAMPP? Learn why osCommerce works best on Linux and discover our recommendations to get it running smoothly.
-
- xampp
- windows server
-
(and 5 more)
Tagged with:
-
https://www.oscommerce.com/forums/topic/497742-how-to-install-osc-v4-on-xampp/ I followed the steps provided in the link above, yet I'm still encountering the following issue: It seems like you are using Apache under Windows as Webserver. osCommerce will only work under linux. I am using the XAMPP version 'https://sourceforge.net/projects/xampp/files/XAMPP Windows/8.2.12/xampp-windows-x64-8.2.12-0-VS16.zip/download'. Do you have any suggestions or ideas to resolve this?