Translations
Info
All page names need to be in English.
en da  de  fr  it  ja  km  nl  ru  zh

Webspace

From TYPO3Wiki
Jump to: navigation, search

<< Back to Installation manual

notice - This information is outdated

While some details may still apply in specific situations, this page was written for packages of TYPO3 that are no longer current.


See also LAMP: TYPO3 installation on OVH mutualised server.

Installing TYPO3 on Webspace (shared webhosting account)

This guide outlines the steps for those who have a typical shared webhosting account w/ FTP only access. Of course the web server should also support PHP & MySQL. No shell access is needed.

I wrote this after seeing how there's not one of this kind (to my knowledge) anywhere in the mailing list or on their site (Update: I found Installation and Upgrade Guide soon after. You might want to go through it for a general idea. Follow only one, either that guide or the following).

1. Go to https://typo3.org/download/ and download the latest QuickStart package in .zip format.

2. Extract the .zip file on your local computer.

3. Connect via a FTP client to your webhosting account and upload all the inner content to where you want to install Typo3. For example, I've uploaded all the following to http://srikat.com

Content to be uploaded

4. Open up typo3/install/index.php on the web server (you can as well edit this locally and replace the uploaded file) and comment out the following by enclosing in between /* and */:

if (1==1 || (substr($HTTP_SERVER_VARS['REMOTE_ADDR'],0,7)!='192.168' && $HTTP_SERVER_VARS['REMOTE_ADDR']!='127.0.0.1')) { die("In the main source distribution of TYPO3, the install script is disabled by a die() function call. Open the file typo3/install/index.php and remove/out-comment the line that outputs this message!"); }

5. a) CHMOD the following to 777 (no need to CHMOD recursively). Note: Christopher suggests 770. Check https://typo3.org/documentation/mailing-lists/user-list-archive/thread/53426/?tx_maillisttofaq_pi1. So first try 770, if those seem not enough, make it 777.

typo3temp/
typo3conf/
typo3conf/ext/
typo3/ext/
uploads/
uploads/pics/
uploads/media/
uploads/tf/
fileadmin/
fileadmin/_temp_/

Note: At the end of installation, I noticed that logo image wasn't appearing. It was fixed by CHMODing typo3temp/ recursively (i.e., including its contents) to 777.
The install script generates there 5 directories named cs, GB, llxml, pics, temp with 755-mod, we have to change to 777. On Plesk Servers they are owned by wwwrun:www but should owned by <user>:psaserv.

b) CHMOD typo3conf/localconf.php to 666.

6. Create a database for Typo3, say "t3_quickstart" either using phpmyadmin or your account's cPanel. If you can't create a new database and can only use the one provided by your host, that is fine too. Create a user, if need be, having full access rights to the database. So basically you should be having this info handy: MySQL database host (server) name, database name, username and password.

7. Visit the webpage of your Typo3's directory to begin the installation. In my case: http://srikat.com. Press OK if a popup as shown below appears:

popup

8. Typo3's Install Tool starts in '123' mode.

Install Tool Step 1

Type in your database's Username, Password and Host and press 'Update localconf.php' button.

9. The following should appear:

Install Tool Step 2

Select the database from the drop-down menu in the first option and press 'Update localconf.php'.

10. A page like in the screenshot appears:

Install Tool Step 3

Press 'Import database'.

11. If everything went well, you should see a page like this:

Install Tool Done

12. Click on "Continue to configure TYPO3".

Install Tool About

Enter a new password twice (this is the password for Install Tool) and click on 'Set new password'.

Click on 'Click to continue...'. Enter the Install Tool password and press 'Log in'.

You might want to ctrl+F for sitename, modify it and press 'Write to localconf.php' at the bottom.

13. Password protect the 'typo3/install/' directory using .htaccess (most webhost's cPanel provides some means for this)

14. Click on 'Basic Configuration'

a) If you see:

Memory Limit below 16 MB
memory_limit=8M
Your system is configured to enforce a memory limit of PHP scripts lower than 16 MB. The Extension Manager needs to include more PHP-classes than will fit into this memory space. There is nothing else to do than raise the limit. To be safe, ask the system administrator of the webserver to raise the limit to over 25 MB.


you might want to submit a support ticket to your webhost requesting that they raise the memory_limit from 8M to 25M. Here's the link to a mail I sent to Typo3's 'Install - Linux archive' mailing list on this topic: https://typo3.org/documentation/mailing-lists/install-linux-archive/thread/53429/?tx_maillisttofaq_pi1%5Bmode%5D=1

b) If you see No ImageMagick install available, you might want to get in touch w/ your webhost and request that they install ImageMagick or give SSH access so you can install it yourself. If and once they do, you can enter the path in the 'Check this path for ImageMagick installation' and finally press 'Update localconf.php' at the bottom.

Christian wrote in TYPO3 Documentation project mailing list:

"I asked my provider (HostEurope) serveral times and he was not willing to install IM. So I did it myself - without SSH or ROOT access, but with precompiled IM-Packages I put into the cgi-folder. Maybe not very high on performance but it works. ;)

I wrote a few lines about installing TYPO3 on HostEurope. You can find them here: http://christian-trabold.de/typo3onhosteurope.html

Maybe you'll find it usefull."

15. You can now visit the frontend by going to the URL of your installation (in my case, http://srikat.com)

or go to the backend by going to yoursite/typo3 (in my case, http://www.srikat.com/typo3/index.php). Username and password for the default installation is 'admin' and 'password' respectively. Important: Once you log in, click on 'User Admin' under 'Tools' in the left side and click on the pencil icon to edit the admin account. Change the password and optionally your name and e-mail. Press the (floppy icon) save button.

Remember that your Install Tool is at yoursite/typo3/install/

16. Now you can either follow the online documentation @ https://typo3.org/doc.0.html?&tx_extrepmgm_pi1%5BextUid%5D=491&cHash=9241ee54f7 or download the same in pdf format @ https://typo3.org/fileadmin/dl/tutorials/quickstart.pdf or watch the videos @ https://typo3.org/documentation/videos/

17. You also might want to subscribe to the following mailing lists by going to http://lists.typo3.org/cgi-bin/mailman/listinfo:

Typo3-english - for general questions and discussion...in English only
Typo3-install - for install-related discussions and questions about that are non-operating system specific
Typo3-linux - for all installation questions/discussions if you are using a Linux/Unix system, including other server software

Make sure you go thru these once: https://typo3.org/documentation/mailing-lists/mailing-list-rules-guidelines/

18. If you are typical home user having Windows OS (like me), it also might be a good idea to download and install Typo3's windows package on localhost to familiarize w/ the system.

- Sridhar Katakam
June 30 2004

This guide is also in my blog