This is the documentation for concrete5 version 5.6 and earlier. View Current Documentation

Submitted by pginpa

I successfully got Concrete5 working on a 1and1.com shared UNIX hosting account. By following these instructions, you may be able to do so too. 


PLEASE NOTE: 

 

  • I am not an IT professional and cannot be responsible for the failure of this process, or any negative outcome you might experience. This is provided as information only.

This tutorial assumes:

  1. You have a UNIX shared hosting account on 1and1.com with MySQL access. This will not work on a Windows account.
  2. You have a web browser
  3. You have an ftp program installed and working, capable of connecting to your webhosting account.
  4. You have a rudimentary knowledge of editing and manipulating files for a website.

If you meet the above requirements...

Here's the short version for the intermediate user:
  1. Download the latest version .zip archive of Concrete5.
  2. Log into your admin.1and1.com
  3. Run MySQL Administration.
  4. Create a New Database with a slightly descriptive name. Make SURE you select MySQL 5.0 format, or it will NOT work!
  5. Make careful note of the information you get: database name, username, password, host name.
    NOTE: By the time you get through the following steps, the database should be created and active.
  6. Return to control panel.
  7. Run Webspace Explorer.
  8. Upload the .zip file of Concrete5 to your root directory.
  9. Unzip the archive using the menus. 
  10. Optionally rename the resulting directory to something manageable, like just "c5" (which I will use for the remainder).
  11. Use FTP to set permissions on directory "c5/config" to 755.
  12. Use FTP to set permissions on directory "c5/files" AND its subdirectories to 777.
  13. Concrete5 must use PHP5 and will look for file index.php, so use a text editor to create an .htaccess file containing:

    DirectoryIndex index.php
    AddType x-mapp-php5 .php

    RewriteEngine On
    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule ^(.*)$ index.php/$1 [L]


  14. FTP it to your c5 directory. 
  15. Open a browser window and try to go to http://whateveryoursiteis/c5/
  16. You should be prompted to enter the database info from above. Do so precisely!
  17. With luck, Concrete5 is now running.
Here's the detailed version for the less-advanced user:
  1. Download the latest version .zip archive of Concrete5 via the link on the website, saving it to your PC.
  2. Log into your control panel at admin.1and1.com
  3. Run the MySQL Administration program (under Web Space & Access).
  4. Click on the New Database button. 
  5. Enter a slightly descriptive name, like "C5 cms database v1"
  6. Make SURE you select MySQL 5.0 format, or it will NOT work!
  7. Click the Set Up button. 
  8. Make careful note of the information you get on the database: database name, username, password, host name. Printing the page for your files is a good idea. NOTE: By the time you get through the following steps, the database should be created and active.
  9. Return to the 1and1 control panel.
  10. Run the Webspace Explorer program (also under Web Space & Access).
  11. Click on the initial folder to display its contents. The "current path" shown should be just a slash, indicating you are in the root directory of your webspace.
  12. Select Transfer/Upload. Browse to the .zip file of Concrete5 that you downloaded, and upload it to your root directory.
  13. Wait. If you are lucky, you have a fast connection and it won't take long.
  14. When the upload is complete, you should see the .zip file in your root directory, for example "concrete5.2.0RC2.zip"
  15. Select the .zip file by clicking on it, then go to the menu and select Archive/Unzip. 
  16. The archive will be unzipped into a directory, for example "concrete5.2.0RC2". 
  17. You may want to rename this something manageable, like just "c5", which you can do by right clicking on the directory name and selecting Rename.
  18. Start Firefox and FireFTP and connect to your webserver account. (Note: you can theoretically set permissions using Webspace Manager, I just don't quite trust it. It seems unreliable.)
  19. Browse to the new directory (I'm assuming you renamed it "c5").
  20. Find directory "c5/config", right click on it and select "Properties".
  21. Set permission for the folder to 755.
  22. Find directory "c5/files", right click on it and select "Properties (including contents)".
  23. Set permissions to 777. Make sure you tick Apply to: [This Folder] and [All Contained Folders].
  24. Open a text editor and create a file containing the following, starting on line 1:

    DirectoryIndex index.php
    AddType x-mapp-php5 .php

    RewriteEngine On
    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule ^(.*)$ index.php/$1 [L]


  25. Save this file as name .htaccess (NOTE: the period is critical) and FTP it to the c5 directory. 
  26. Open a browser window and try to go to http://whateveryoursiteis/c5/
  27. You should be prompted to enter the database info from step 8. Make sure you do so precisely!
  28. With luck, Concrete5 is now running and you can log in to your site and make changes.
Caveats:
  • I suggest you leave the .zip file on Concrete5 in your root directory for now. If you have to reinstall from scratch, it will save you the upload time.
  • I have not tried relocating my site from http://whateveryoursiteis/c5/ to any other location, or otherwise obscuring the fact that it is in a subdirectory rather than root.  I'm trying to figure that out right now! Sorry.

 

Loading Conversation