Tag Archives: Install

TYPO3 Installation Fehlermeldung „PHP OpenSSL extension not working“

Bei der TYPO3 Installation (in meinem Fall unter Windows / XAMPP) gibt es manchmal die Fehlermeldung „PHP OpenSSL extension not working“. Dies tritt unter TYPO3 6.2 wie auch 7.5 auf.

Daran musste ich länger als gedacht feilen, bis ich diese Fehlermeldung weg hatte. Am Ende war es ganz einfach und irgendwie typisch.

TYPO3 PHP OpenSSL extension not working

Zu den gängigen Lösungen gehören folgende:

Was mir geholfen hat:
Ich habe in meinem Antivirus Firewall Modul (Norton) Port 443 für TCP freigeschaltet. Typisch, eigentlich hätte ich dort als erstes schauen müssen.

How to install TYPO3 version 7.5

Here a tutorial on how to install TYPO3 version 7.5 on a Windows machine with XAMPP.

1. Preparations in Apache and MySQL

Create a database with phpMyAdmin. Enter the URL to your phpMyAdmin installation.

call-phpmyadmin

Go to “Database” and then create a new database. Give the name you want. Collation should be “utf8_general_ci”.

create a new database

Create a directory in your web root folder in xampp. I installed xampp on partition “c” so for me that is “c:\xampp\htdocs\”. I named the new folder “vhost1” so that means “c:\xampp\htdocs\vhost1\”

Add a vhost entry to the apache configuration. The name of this file is “http-vhosts.conf” and you can find it in “c:\xampp\apache\conf\extra”.

apache conf add a vhost

Save the file and restart apache.

restart apache

Add a vhost entry to your Windows host file by opening Notepad++ or another editor in administration mode. You will need the admin mode later also when using mklink. Thus this screenshot shows the example for cmd.

open notepad++ in administration mode

Then open the host file in “C:\Windows\System32\drivers\etc\”. Add the vhost entry.

add vhost entry to host

At the start of a line you write “127.0.0.1” add a blank and then your host name. I named mine “vhost1.local”.

2. Installing TYPO3 – preparing files and folders

Download the package from http://typo3.org/download/ and unzip the files in the new folder which you created in “c:\xampp\htdocs\”.

Now you have to enter the files in correct order in your directory.

For Linux you do the following:

ln -s ../typo3_src-7.0.x typo3_src
ln -s typo3_src/index.php index.php
ln -s typo3_src/typo3 typo3

If you have problems with symlinks under Windows you can put all the files in the directory and copy index.php from folder “typo3” to the web root. In my case that would be “c:\xampp\htdocs\vhosts1”.

Or you create Windows symlinks.

Open cmd in admin mode.

Enter these commands…

mklink /D c:\xampp\htdocs\vhost1\typo3_src c:\xampp\htdocs\vhost1\typo3_src-7.5.0
mklink /D c:\xampp\htdocs\vhost1\typo3 c:\xampp\htdocs\vhost1\typo3_src-7.5.0\typo3
mklink c:\xampp\htdocs\vhost1\index.php c:\xampp\htdocs\vhost1\typo3_src-7.5.0\index.php

…in the cmd window.

cmd window

However they say that automatic updates are not working in Windows environment. So it should not be that important to work on this.

Rename “_.htaccess” to “.htaccess”.

Create a file named “FIRST_INSTALL” in the web root. This file shall be empty. It assures that you have appropriate access.

With symbolic links you should have got this file structure.

file structure

3. Starting TYPO3 installation procedure

Open the URL in your favorite browser.

browser location

And here you are in the installation procedure. If you haven’t created a “FIRST_INSTALL” file you will see a notice.

start install notice

Afterwards I have got several warnings.

install several warnings

Edit php.ini which you find under “c:\xampp\php\”. Update these vars:

upload_max_filesize=10M
post_max_size=10M
always_populate_raw_post_data=-1
max_input_vars = 1500

Take the comment out for this line:

extension=php_fileinfo.dll

And restart apache.

Go to Control Panel > System > Advanced tab > Environment Variables. Click on “New” and add a new variable named “OPENSSL_CONF”. Add the path “c:\ xampp\apache\conf\openssl.cnf” as value of the variable setting. Here a German post for more info about this issue

update sys variables

And in httpd.conf in the apache dir “c:\xampp\apache\conf\” you shall enter this at the end of the file.

<IfModule mpm_winnt_module>
ThreadStackSize 8388608
</IfModule>

And restart apache. I tried this also, but I can’t see any benefits.

In the next step enter the MySQL credentials.

MySQL credentials

Then select the database name or let the install procedure create a new database for you.

select database

Afterwards you can determine login credentials for the admin.

login credentials for the admin

If everything is ready, you get this notification.

installation done

If you want to use a distribution you can mark the check box at the bottom.

When you click on “Open the backend” you get routed to the backend login. If you want to do that later you can enter this URL in the browser “http://vhost1.local/typo3/”.

In my case I get problems to login. “Your login attempt did not succeed”.

At least I must go to the install configuration under “http://vhost1.local/typo3/install/” and create a file named “ENABLE_INSTALL_TOOL” and put it in the folder “typo3conf”. Or the install configuration wont start. Enter the above given admin password to login.

Under “All configuration” and “Backend” I had to set “[BE][loginSecurityLevel]” from “rsa” to “normal. Then I could login into the backend.

Install TYPO3 version 6.1

Hi friends,

after all the contradictory developments of the last years, now TYPO3 has a clear roadmap which helps to better understand, which branch one should use.

As you can see in the roadmap , TYPO3 CMS 6.2 LTS is the one which will have the upcoming Long Term Support (LTS), so is the one with the longest availability around.
Sadly it is not published at the Moment.

I am very curios what exactly changed from TYPO Version 4.x to 6.x and how it can be installed, so I want to go through an installation.

If you have ssh on your server than wget is the best option to download TYPO3 source and dummy package.

wget http://sourceforge.net/projects/typo3/files/
TYPO3%20Source%20and%20Dummy/
TYPO3%206.1.0/blankpackage-6.1.0.tar.gz

I put two line breaks in this command, otherwise my layout gets broken.

Then you must unzip it

tar xzf blankpackage-6.1.0.tar.gz

remove the tar file

rm blankpackage-6.1.0.tar.gz

Then you create an install control file with

touch typo3conf/ENABLE_INSTALL_TOOL

I had several problems to start the installation. First the index.php was a link to the one in the source directory. So I copied an index.php from another installation.

Second: I have got an error message:

syntax error, unexpected T_STRING in index.php on line 37

And checked it with Google. The PHP version should be 5.30. It is nice that I can change the PHP Version in the settings of my provider.

Then it worked. I point my browser to the directory, where I have copied the files.

1-start-installation

I have entered the infos for my database

2-auswahl-db

In the next step I had to select the name of the database.

Afterwards I imported the data into the database.

And he we are the install process is gone through.

3-congrulations

But what is here very important: click on the given links to “Configure TYPO3” and “Login to the backend” and change these credentials.

First the Install Tool.

4-install-tool

Second: Log in to the backend with “admin” and “password”

5-first-login-to-backend

Then click on “User settings” on the left and change the credentials.

7-change-backend-pwd

It is more appropriate to change also the username. Which you can do in “Backend users” on the left.

And don’t forget to delete the file “ENABLE_INSTALL_TOOL” in typo3conf.

The problem is that the installation doesn’t install a website but only a blank web cms. So you need to configure the rest.

Byetheway: If you want to start with a complete website try the introduction package.

I will sum up the rest configuration in a new post.