Bug #62563

Index.php symlink causes error 500 (composer install on phpfpm)

Added by Kay Strobach 9 months ago. Updated 9 months ago.

Status:Closed Start date:2014-10-30
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:- Spent time: -
Target version:next-patchlevel
TYPO3 Version:6.2 Is Regression:No
PHP Version:5.5 Sprint Focus:
Complexity:

Description

Hello Guys,

during the installation of TYPO3 on several hosting providers using PHPFPM I discovered a weird problem.

We have a FS structure like this:

typo3_src -> symlinked to a source
index.php -> symlinked to typo3_src/index.php
typo3 -> symlinked to typo3_src/typo3 

Due to the fact, that they use FPM with some security mechanism you instantly get an error 500 if you access the frontend.

The problem is, that a called script itself is not allowed to be a symlink.

An easy solution would be to use a one liner which just includes / requires the before symlinked file for the composer install.

The problem occours on
- DF.eu (shared hosting)
- ...

Regards
Kay


Related issues

duplicates Core - Bug #52993: index.php in DOC_ROOT must be symlinked Accepted 2013-10-21

History

#1 Updated by Philipp Gampe 9 months ago

We should do this anyway to avoid problems with updates.

#2 Updated by Christian Kuhn 9 months ago

  • Status changed from New to Closed

Resolved as duplicate of #52993

Also available in: Atom PDF