Recommended sites

Add to MyYahoo!
Subscribe in NewsGator Online
Add to Newsburst
Add to Google
Add to My AOL
Add to Pluck
Subscribe in FeedLounge
Add to Windows Live
Add to NetVibes
Subscribe in Rojo
Subscribe in Bloglines
Add to MyMSN
Add to Plusmo for your cellphone
Add to PageFlakes
Add to Technorati
Add to BlinkBits
How to run Your productive version of Mambo locally Print E-mail
User Rating: / 1
PoorBest 
Monday, 31 January 2005 16:53
Do You want to install Mambo?, have a copy of Your productive mambo homepage running locally? or simply develop easily PHP/MySQL code? Do You want to make Mambo a try without the hassle of installations and configurations?
EasyPHP might be the answer!
EasyPHP  is a complete software package allowing to use all the power and the flexibility that offers the dynamic language PHP and the effecient use of databases under Windows. Package includes an Apache server, a MySQL database, a fully PHP execution, as well as easy development tools for your web site or your applications.

Click 
Read more... to see my experience with it:

Install easyPHP
EasyPHP is a complete software package allowing to use all the power and the flexibility that offers the dynamic language PHP and the effecient use of databases under Windows. Package includes an Apache server, a MySQL database, a fully PHP execution, as well as easy development tools for your web site or your applications.

The latest stable version (v1.7) is made of:
  • Apache 1.3.27
  • PHP 4.3.3
  • MySQL 4.0.15
  • PhpMyAdmin 2.5.3

and can be downloaded at: http://www.easyphp.org/

It is a windows executale, all You have to do is install it.
Start EasyPHP in the programs menu
Verify that EasyPHP is running in the system tray

Check configuration, Apache and MySQl must be started.

If not be sure not to have another apache process running on port 80

Check proper installation of EasyPHP. Should open a web browser and drive You to this page

Copy data from Your productive system (www)

Copy How  
all remote file Using Your favorite FTP tool  
all data in remote Database With your provider HTML tool (PhpMyAdmin)
Export all tables and content in a SQL file on your Disk
 

Install file data locally

Copy Your webserver root to: EasyPHP1-7www
example: if EasyPHP is installed in E:/www.waltercedric.com/, then copy into E:/www.waltercedric.com/EasyPHP1-7/www/

Restore database data locally

Start a browser and go to http://127.0.0.1/mysql/

Restore the Data in your new database by importing the SQL file.

 

  • Bloc by bloc (see picture) or
  • By importing the SQL zip file
    (not working for me as the browser is doing timeout
    since my Databse is quite big)
If the restore is successful, create a user, as found in the configuration file of Mambo. Create a User
  • Of the same name and password, or
  • Create a new user (better because of security concerns) ut then do not forget to adapt the configuration.php accordingly.


in Mambo/configuration.php
ocate the mySQL login and password mambo is using
<?php
$mosConfig_offline = '0';
$mosConfig_host = 'localhost';
$mosConfig_user = 'XXXX';
$mosConfig_password = 'XXXXX';
.
Grant this user all rights by clicking edit.

Change Mambo settings

 

there is a lot of chance that Your local Mambo is not at the same location of Your productive Mambo, so Small changes in Mambo/configuration.php are needed:

Example in production Example localy
$mosConfig_absolute_path = 'www.waltercedric.com/Mambo'; $mosConfig_absolute_path = 'E:/www.waltercedric.com/EasyPHP1-7/www/Mambo';
$mosConfig_cachepath = 'www.waltercedric.com/Mambo/cache'; $mosConfig_cachepath = 'E:/www.waltercedric.com/EasyPHP1-7/www/Mambo/cache';

Create a cache directory locally (I never do a backup of this directory, as it can be quite big in production)

Normally You're done!

 

Comments
Add New Search RSS
Write comment
Name:
Email:
 
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
:):grin;)8):p:roll:eek:upset:zzz:sigh:?:cry
:(:x
Please input the anti-spam code that you can read in the image.

3.20 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Monday, 31 January 2005 19:22 )
 


Another articles:


Content View Hits : 2426228

Enter Amount: