Bug #54617

Problem with phpBinaryPathAndFilename

Added by Marcin Sągol over 1 year ago.

Status:New Start date:2013-12-27
Priority:Could have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:Base Distribution - 1.x

Description

Hi,

i had beta version installed and upgrade to 1.x failed so i decided to do fresh setup. Using composer all files were fetched and i decided to copy Settings.yaml file from previous installation (DB was emptied but the credentials stayed the same).

The problems begin when i wanted to run installer. Environment check always returned that my phpBinaryPathAndFilename is invalid in Settings.yaml. I tried various combination for php (cgi, fast-cgi, fpm) but nothing helped.

During small conversation on #typo3-neos radmiraal suggested to comment out line 133 in file Packages/Application/TYPO3.Setup/Classes/TYPO3/Setup/Core/RequestHandler.php but this also didn't help. Finally i have changed phpBinaryPathAndFilename to /usr/bin/php5 and inside Packages/Application/TYPO3.Setup/Classes/TYPO3/Setup/Core/RequestHandler.php set function checkAndSetPhpBinaryIfNeeded() to just return TRUE without any checks. This way i was able to finish setup proccess without any problems.

I'm not sure where the problem was exactly and hope for some checks in this area.

Also available in: Atom PDF