Bug #33158
Problems setting PHP binary path on Windows
0%
Description
Windows Server 2008 R2 SP1
Apache 2.2 PHP 5
I still set FLOW3.core.phpBinaryPathAndFilename in Configuration/Settings.yaml
I tries with:
core:
phpBinaryPathAndFilename: 'C:\\www\\bin\\php\\php.exe'
and
core:
phpBinaryPathAndFilename: 'C:/www/bin/php/php.exe'
It seems like the PHP binary "C:\php/php" cannot be executed by FLOW3. Set the correct path to the PHP executable in Configuration/Settings.yaml, setting FLOW3.core.phpBinaryPathAndFilename.
3 TYPO3\FLOW3\Core\Bootstrap::initializeForRuntime()
2 TYPO3\FLOW3\Core\Bootstrap::handleWebRequest()
1 TYPO3\FLOW3\Core\Bootstrap::run()
Please include more helpful information!
Updated by Mattias Nilsson almost 9 years ago
The flow3.bat also has a path to php.exe. So you should also change this to your local php path to make this work.
Updated by Karsten Dambekalns almost 9 years ago
- Subject changed from TYPO3\FLOW3\Exception thrown in file Bootstrap.php to Problems setting PHP binary path on Windows
- Category changed from - Error Handler Report - to Core
- Status changed from New to Needs Feedback
- Assignee set to Rens Admiraal
- Priority changed from -- undefined -- to Could have
Rens, could you check this?
Updated by Rens Admiraal almost 9 years ago
Giovanni: are you sure you've no indent errors in your Settings.yaml? I've a 2008 IIS environment using:
TYPO3: FLOW3: core: phpBinaryPathAndFilename: 'C:/map2/php.exe'
This works fine for me, and let's me switch between PHP versions without any problem.
Updated by Adrian Föder almost 9 years ago
just as a feedback; in my case also the even worse varation with spaces and backward slashes works:
TYPO3: FLOW3: core: phpBinaryPathAndFilename: 'C:\Program Files\Zend\ZendServer\bin\php.exe'
Updated by Adrian Föder almost 9 years ago
Rens Admiraal wrote:
Giovanni: are you sure you've no indent errors in your Settings.yaml? I've a 2008 IIS environment using:
[...]
This works fine for me, and let's me switch between PHP versions without any problem.
caution Rens: now you have an indentation error in your sample, core:
is only preceded by one space. So beware when copying this :)
Updated by Rens Admiraal over 8 years ago
Problem can't be reproduced, probably a configuration issue. Giovanni: if you still experience this problem, can you let me know? Then we can see if we have to reopen this issue