Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Latest commit

 

History

History
180 lines (119 loc) · 4.84 KB

CheckBasicConfiguration.rst

File metadata and controls

180 lines (119 loc) · 4.84 KB

Check Basic Configuration

<< back [deprecated wiki link]

notice - This information is outdated

While some details may still apply in specific situations, this page was written for obsolete packages of TYPO3 dating to 2007 or before.

warning - No longer supported TYPO3 version

This page contains information for older, no longer maintained TYPO3 versions. For information about TYPO3 versions, see get.typo3.org. For information about updating, see the Installation & Upgrade Guide

Directories Writable?

The first section tells you if TYPO3 can write to the directories it needs to.

Typo3instbasicdir.png

In this case TYPO3 does not have write permissions to the extension directory. To change write permissions depends off which operating system you have installed TYPO3 on.

Linux/Unix/Mac OS X

Go to your TYPO3 source installation and show the information of the directory ext. You'll probably find it under /var/lib/typo3/latest (Debian), /usr/local/lib/typo3/latest (other Linux, Unix or Mac OS X). Use the appropriate directory.

cd /var/lib/typo3/latest/typo3
ls -ld ext

Your output could look something like this:

drwxr-xr-x   67 root     root     4096  Jul   4 22:53 ext

This means that the extension directory ext is owned by root and belongs to the group root. Furthermore only the owner has write access to the extension directory.

Two things need to be done:

1. Change the group to Apache user [deprecated wiki link].

chown -R :www-data ext
  1. Give the group write permissions.
chmod -R 775 ext

3. Do that with all the directories that TYPO3 does not have write permissions to.

Windows

  1. Go to your TYPO3 source installation and show the information of the directory ext. It could be somewhere like C:/Webserver/Typo3/Latest.
  2. Find the ext directory and right click on it.
  3. Choose properties.
  4. Make sure your webserver [deprecated wiki link] has write permissions to this directory.

Once you have changed all permissions, check it by selecting 1. Basic configuration again and see if TYPO3 has write permissions to all directories now.

Php.ini

The settings in php.ini [deprecated wiki link] are always an issue concerning the TYPO3 installation process. As you can see in the following screenshot, there is one warning and one error to take care of.

Typo3instbasicphp.png

Both problems can be addressed in the php.ini.

Memory

1. Open [deprecated wiki link] the php.ini file.

2. Find [deprecated wiki link] the entry memory_limit.

  1. Change the value to 25M.

4. Save [deprecated wiki link] and exit [deprecated wiki link] php.ini.

  1. Restart your webserver.

6. Choose 1. Basic Configuration from the menu again to see if the error message is gone.

Example (php.ini):

memory_limit = 25M      ; Maximum amount of memory a script may consume (8MB)

"upload_max_filesize" and "post_max_size"

"upload_max_filesize" and "post_max_size" should have the same values, because they are connected.

1. Open [deprecated wiki link] the php.ini file.

2. Find [deprecated wiki link] the entry upload_max_filesize.

  1. Change the value to 10M.

4. Find [deprecated wiki link] the entry post_max_size.

  1. Change the value to 10M.

4. Save [deprecated wiki link] and exit [deprecated wiki link] php.ini

  1. Restart your webserver.

6. Choose 1. Basic Configuration from the menu again to see if the error message is gone.

Example (php.ini):

; Maximum allowed size for uploaded files.
upload_max_filesize = 10M
; Maximum size of POST data that PHP will accept.
post_max_size = 10M