Bug #33158
Problems setting PHP binary path on Windows
Status: | Closed | Start date: | 2012-01-13 | |
---|---|---|---|---|
Priority: | Could have | Due date: | ||
Assigned To: | Rens Admiraal | % Done: | 0% |
|
Category: | Core | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | FLOW3 1.0.2 |
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!
History
#1 Updated by Mattias Nilsson over 3 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.
#2 Updated by Karsten Dambekalns over 3 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
- Assigned To set to Rens Admiraal
- Priority changed from -- undefined -- to Could have
Rens, could you check this?
#3 Updated by Rens Admiraal over 3 years ago
Sure, will have a look this week
#4 Updated by Rens Admiraal over 3 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.
#5 Updated by Adrian Föder over 3 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'
#6 Updated by Adrian Föder over 3 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 :)
#7 Updated by Rens Admiraal over 3 years ago
thanks for noticing ;-) and fixed the example... :)
#8 Updated by Rens Admiraal about 3 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
#9 Updated by Rens Admiraal about 3 years ago
- Status changed from Needs Feedback to Closed