After spending 4-5 hours trying to install magento 184.108.40.206 on shared hosting, I’ve finally installed it.
I’ve tried all solutions posted in this forum but with no success (with new database, with and without sample data, modifying the mysql4-1… php files or even delete them etc.). I think there are problems with hosting providers (settings in php or web servers).
I’ve installed magento on my computer with WAMP server and I moved this installation on my shared hosting.
Here are the steps which I did for having a fresh install on shared hosting:
1. Download magento latest version and WAMP server
2. Install WAMP sever and modify the following settings:
- C:\wamp\bin\apache\Apache2.2.11\conf\httpd.conf - uncomment LoadModule rewrite_module modules/mod_rewrite.so line.
- C:\wamp\bin\apache\Apache2.2.11\bin\php.ini - modify max_execution_time = 5000 and max_input_time = 5000
- C:\wamp\bin\php\php5.3.0\php.ini - modify max_execution_time = 5000 and max_input_time = 5000
- C:\wamp\bin\apache\Apache2.2.11\bin\php.ini - uncomment the line: extension=php_curl.dll
- C:\wamp\bin\php\php5.3.0\php.ini - uncomment the line: extension=php_curl.dll
- restart WAMP services or close WAMP server and start the server
3. Install Magento on local server
- unzip the magento installation file in WAMP’s www folder
- move all files from www\magento\ in www\ (because I wanted to have installation in root)
- from phpmyadmin I’ve created a database (ex. magento)
- run magento install from http://localhost
- in database settings chage database name, leave user root and no password
- I’ve completed the installation without any errors (the first time I’ve got errors from maximum execution time because it was 30 sec., but after modifying the server settings there were no problems).
4. Moving Magento installation on shared hosting
- you can use FTP or CPanel file explorer (compress all magento files, upload the archive and uncompress there) to upload all files on remote server
5. Moving Magento database
- from WAMP phpmyadmin export the database in SQL file
- from remote sever (shared hosting) phpmyadmin create a new database and assign a user with all rights, and import the SQL file
- edit /app/etc/local.xml and change <username><![CDATA[your_username]]></username>, <password><![CDATA[your_password]]></password>, <dbname><![CDATA[your_db_name]]></dbname>
- from remote server phpmyadmin edit core_config_data table and chage all url entries (I’ve edited 10 entries) with your site url (ex. web/unsecure/base_url -> http://www.yourdomain.com/ web/unsecure/base_skin_url -> http://www.yourdomain.com/skin/ etc. )
6. That’s all. You should see your magento site now.