[Bug 225600] [NEW] [Hardy][Regression] PHP 5.2.4 symlink bug breaks TYPO3 default setup

Jakob Unterwurzacher jakobunt at gmail.com
Fri May 2 10:32:04 BST 2008


Public bug reported:

Binary package hint: php5

>From http://bugs.php.net/bug.php?id=42587 :
php-5.2.4 changed the behaviour for the current working directory (cwd) which php scripts see when the requested php file is a symlink which points to a php file in another directory.

This change breaks the default TYPO3 setup (index.php is a symlink) - you will get a whitescreen instead of your website. This is detailed here (see comments): http://bugs.typo3.org/view.php?id=6158 .
The workaround is to copy index.php instead.

This was fixed in PHP 5.2.5:
>From http://www.php.net/ChangeLog-5.php :
Fixed #42587 (behavior change regarding symlinked .php files). (Dmitry)

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- [Hardy][Regression] PHP 5.2.4 symlink bug breaks TYPO3
+ [Hardy][Regression] PHP 5.2.4 symlink bug breaks TYPO3 default setup

** Description changed:

  Binary package hint: php5
  
  From http://bugs.php.net/bug.php?id=42587 :
  php-5.2.4 changed the behaviour for the current working directory (cwd) which php scripts see when the requested php file is a symlink which points to a php file in another directory.
  
  This change breaks the default TYPO3 setup (index.php is a symlink) - you will get a whitescreen instead of your website. This is detailed here (see comments): http://bugs.typo3.org/view.php?id=6158 .
  The workaround is to copy index.php instead.
  
  This was fixed in PHP 5.2.5:
  From http://www.php.net/ChangeLog-5.php :
- Fixed bug #42587 (behavior change regarding symlinked .php files). (Dmitry)
+ Fixed bug42587 (behavior change regarding symlinked .php files). (Dmitry)

** Description changed:

  Binary package hint: php5
  
  From http://bugs.php.net/bug.php?id=42587 :
  php-5.2.4 changed the behaviour for the current working directory (cwd) which php scripts see when the requested php file is a symlink which points to a php file in another directory.
  
  This change breaks the default TYPO3 setup (index.php is a symlink) - you will get a whitescreen instead of your website. This is detailed here (see comments): http://bugs.typo3.org/view.php?id=6158 .
  The workaround is to copy index.php instead.
  
  This was fixed in PHP 5.2.5:
  From http://www.php.net/ChangeLog-5.php :
- Fixed bug42587 (behavior change regarding symlinked .php files). (Dmitry)
+ Fixed #42587 (behavior change regarding symlinked .php files). (Dmitry)

-- 
[Hardy][Regression] PHP 5.2.4 symlink bug breaks TYPO3 default setup
https://bugs.launchpad.net/bugs/225600
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list