osHelpers - Help for your osCommerce store
 
oscommerce Seo
  Seo Pack 2
  SE Friendly URLs
  Session ID Removal
  Title and Meta Tags
  Google Sitemap
osCommerce Services
  osc / cre patch
  Data Entry
  Data Extraction
  bugs and fixing
  Site Transfer
  creloaded Transfer
  Design Special
  Hosting
osCommerce Templates
osCommerce Contributions
  Credit Modules
  Features
  Images
  InfoBoxes
  Languages
  Order Total Modules
  Other
  Payment Modules
  Reports
  Shipping Modules
  Templates/Themes
  Zones
osCommerce Articles
  osCommerce Article 167
  osCommerce Article 166
  osCommerce Article 165
  osCommerce Article 164
  osCommerce Article 163
  osCommerce Article 162
  osCommerce Article 161
  osCommerce Article 160
  osCommerce Article 159
  osCommerce Article 158
  osCommerce Article 157
  osCommerce Article 156
  osCommerce Article 155
  osCommerce Article 154
  osCommerce Article 153
  osCommerce Article 152
  osCommerce Article 151
  osCommerce Article 150
  osCommerce Article 149
  osCommerce Article 148
  osCommerce Article 147
  osCommerce Article 146
  osCommerce Article 145
  osCommerce Article 144
  osCommerce Article 143
  osCommerce Article 142
  osCommerce Article 141
  osCommerce Article 140
  osCommerce Article 139
  osCommerce Article 138
  osCommerce Article 137
  osCommerce Article 136
  osCommerce Article 135
  osCommerce Article 134
  osCommerce Article 133
  osCommerce Article 132
  osCommerce Article 131
  osCommerce Article 130
  osCommerce Article 129
  osCommerce Article 128
  osCommerce Article 127
  osCommerce Article 126
  osCommerce Article 125
  osCommerce Article 124
  osCommerce Article 123
  osCommerce Article 122
  osCommerce Article 121
  osCommerce Article 120
  osCommerce Article 119
  osCommerce Article 118
  osCommerce Article 117
  osCommerce Article 116
  osCommerce Article 115
  osCommerce Article 114
  osCommerce Article 113
  osCommerce Article 112
  osCommerce Article 111
  osCommerce Article 110
  osCommerce Article 109
  osCommerce Article 108
  osCommerce Article 107
  osCommerce Article 106
  osCommerce Article 105
  osCommerce Article 104
  osCommerce Article 103
  osCommerce Article 102
  osCommerce Article 101
  osCommerce Article 100
  osCommerce Article 99
  osCommerce Article 98
  osCommerce Article 97
  osCommerce Article 96
  osCommerce Article 95
  osCommerce Article 94
  osCommerce Article 93
  osCommerce Article 92
  osCommerce Article 91
  osCommerce Article 90
  osCommerce Article 89
  osCommerce Article 88
  osCommerce Article 87
  osCommerce Article 86
  osCommerce Article 85
  osCommerce Article 84
  osCommerce Article 83
  osCommerce Article 82
  osCommerce Article 81
  osCommerce Article 80
  osCommerce Article 79
  osCommerce Article 78
  osCommerce Article 77
  osCommerce Article 76
  osCommerce Article 69
  osCommerce Article 68
  osCommerce Article 67
  osCommerce Article 66
  osCommerce article 65
  osCommerce article 64
  osCommerce article 63
  osCommerce article 62
  osCommerce article 61
  osCommerce article 60
  osCommerce article 59
  osCommerce article 58
  osCommerce article 57
  osCommerce article 56
  osCommerce article 55
  osCommerce article 54
  osCommerce article 53
  osCommerce article 52
  osCommerce article 51
  osCommerce article 50
  osCommerce article 49
  osCommerce article 48
  osCommerce article 47
  osCommerce article 46
  osCommerce article 45
  osCommerce article 44
  osCommerce article 43
  osCommerce article 42
  osCommerce article 41
  osCommerce article 40
  osCommerce article 39
  osCommerce article 38
  osCommerce article 36
  osCommerce article 37
  osCommerce article 35
  osCommerce article 34
  osCommerce article 33
  osCommerce article 32
  osCommerce article 31
  osCommerce article 30
  osCommerce article 29
  osCommerce article 28
  osCommerce article 27
  osCommerce article 26
  osCommerce article 25
  osCommerce article 23
  osCommerce article 21
  osCommerce article 20
  osCommerce article 19
  osCommerce article 18
  osCommerce article 17
  osCommerce article 16
  osCommerce article 15
  osCommerce article 14
  osCommerce article 13
  osCommerce article 12
  osCommerce article 11
  osCommerce article 10
  osCommerce article 9
  osCommerce article 8
  osCommerce article 7
  osCommerce article 6
  osCommerce article 5
  osCommerce article 4
  osCommerce article 3
  oscommerce Article 2
  osCommerce Article 1
osCommerce Tutorials
  Installing osCommerce
  Configuring your store
  Adding categories
  Adding products
  Adding product attributes
  Configuring currency
  Adding payment modules
  Adding shipping modules
  Configuring sales tax
  Editing your home page
  Editing columns
  Editing header and footer
  Creating specials
  Managing customers
  Sending out a newsletter
  Sending out email
  Managing your banners
  Backup database
CRELoaded Tutorials
  Add Administrators
  Add Article Author
  Additional Images
  Create a New Page
  Define Mainpage
  Disable cc Encryption
  Disable Company Field
  Disable Country
  Disable Date of Birth
  Display broken images
  Easypopulate Export
  Email confirmation
  Insert Faq
  Max Package Weight
  Require Terms of Use
  Affiliate Newsletter
  Enable Cache
CB Power Affiliate

   OSHELPERS | OSCOMMERCE ARTICLES | OSCOMMERCE ARTICLE 37   



osCommerce article 37

Taking advantage of Open Source PHP MySQL applications by tcwicks

1) Where can I find a decent Intranet Application? 2) What about a good Groupware application? 3) What about a custom search engine for our intranet pages?

These questions are asked quite frequently in hundreds of forums.

One obvious solution is to approach a software development company and obtain a custom built product. However to take this approach one needs to first know what features and functionality is desired. Then on the other hand in some instances the need does not warrant the cost of commissioning a custom application.

A plethora of free open source web applications exist today. Regardless of the specific circumstances of the need these applications can quite often prove to be a valuable resource.

http://freshmeat.net is one of the best online directories of open source applications. A quick search on freshmeat.net for say "intranet", "cms" or "groupware" will yield pages of results. Browsing these results any application marked beta, stable or mature is a possible solution. A large majority of the available web applications would also state PHP + MySQL as the platform.

Oh well I need to have some Linux Server and it's way too hard is a common reaction. Fortunately this is not entirely true. If you wanted to host a large scale production site then the chances are that a custom Linux server may well be a requirement. However just evaluating on your own PC, or setting up a solution on your LAN for anywhere between 1 to 100 users can be easily realized without custom Linux servers.

The solution is in another open source free product known as WAMP server. The acronym stands for Windows Apache MySQL PHP server. WAMP is extremely simple to install and a good platform for either evaluating PHP + MYSQL applications or operating the same for up to a few hundred users.

Visit http://www.wampserver.com Or http://www.wampserver.com/en/ for the English version First it is important to note that most open source PHP + MySQL applications will not run correctly on the latest versions of PHP and MySQL. For this reason instead of the downloading the latest version of WAMP server click on "downloads" from the left menu and then click on "older versions at sourceforge" This will take you to https://sourceforge.net/project/showfiles.php?group_id=116092 scroll down and select "WAMP5 1.4.3". Download the WAMP5_1.4.3.exe file and install it on your computer with default options.

Once installed and started a new icon will appear in the icon tray near the date/time on your task bar. Left click on this icon to activate it's menu which allows you to restart or edit the configuration files.

Changing the web server port if necessary.

One common reason for wanting to edit configuration file is in case you already have a web server running on the same computer. In this case you would need to change the port address used by apache to something other than 80. In this case 8080 would probably be a good alternative choice.

-------Changing the web server port address Begin-----------

Click on the WAMP server icon and from the menu under "config files" select "httpd.conf". A long text file will open up in notepad. In this file scroll down to the line that reads "Port 80" and change this to read "Port 8080", Save the file and close notepad. Once again click on the wamp server icon and select restart all services. One more change needs to be made before we are done. In Windows Explorer find the location where WAMP server was installed which is by Default "C:\Wamp". Next goto the subfolder named "www". Inside here you will see another subfolder named "phpmyadmin". We are looking for a file named "config.inc.php". In a default installation this file will be at
"C:\Wamp\www\phpmyadmin\config.inc.php". Open this file in wordpad and find the line that reads $cfg['PmaAbsoluteUri'] = 'localhost/phpmyadmin/'; Change this line to read: $cfg['PmaAbsoluteUri'] = 'localhost:8080/phpmyadmin/';

-------Changing the web server port address End-----------

Now open a web browser and access http://localhost . Or if you changed the port address to 8080 then goto http://localhost:8080/ You should be greeted by the WAMP welcome page. For each application that you wish to install create a new folder inside the "www" subfolder of where WAMP was installed. Lets assume that WAMP was installed at "C:\Wamp".

Let say for example you wanted to install Mambo (www.mamboserver.com) 1) You would download the .zip or .tar.gz or .tar.bz2 file and uncompress it using winzip or winrar into "c:\Wamp\www\mambo". 2) You would access the wamp welcome page http://localhost/ or http://localhost:8080/ and access phpmyadmin. In here you would create a new database for mambo. 3) You would then access the wamp welcome page http://localhost/ or http://localhost:8080/ and from the list at the bottom of the page you would click on Mambo 4) You would then be greeted by the mambo installer which is a simple 5 step process. (the default username for MySQL is root and the password is blank as in an empty string)

Let say for example you wanted to install oscommerce You would download the .zip or .tar.gz or .tar.bz2 file and uncompress it using winzip or winrar into "c:\Wamp\www\oscommerce". 5) You would access the wamp welcome page http://localhost/ or http://localhost:8080/ and access phpmyadmin. In here you would create a new database for oscommerce. 6) You would then access the wamp welcome page http://localhost/ or http://localhost:8080/ and from the list at the bottom of the page you would click on Mambo 7) You would then be greeted by the oscommerce installer which is a simple process. (the default username for MySQL is root and the password is blank as in an empty string)

And so on and so forth.

Any PHP + MySQL web application which does not provide an automated installer is most likely not a very mature application.

Good luck

About the Author

TCWicks Is a software developer / systems analyst with over 10 years experience across many sub fields in Information Technology. He currently offers Web Design and Development Services through Zap Strategy
osCommerce article 37
box_bg_l.gif.
box_bg_r.gif.
 

osHelpers

osHelpers