[FLOW3-general] Uncaught Exception in FLOW3 (#1297263663)
Max-Milan Stoyanov
max.stoyanov at mmslab.de
Mon May 14 20:17:19 CEST 2012
I've changed the flow3 file at root level to #!/usr/bin/php5.3 php and
the settings.yaml to this:
---
# #
# Example Settings #
# #
# This file contains settings for various parts of the application. #
# Copy this file to Settings.yaml, and adjust as necessary. #
# #
# Please refer to the default settings file(s) or the manuals for #
# possible configuration options. #
# #
TYPO3:
FLOW3:
persistence:
# It is good practice to not specify user name and password of
the database
# connection in this global Settings.yaml file. Rather specify
them in the
# settings of the respective context (Production / Development ...).
backendOptions:
host: '127.0.0.1' # adjust to your database host
# On Windows, you might need to uncomment the following lines and specify
# the location of the PHP binary manually.
core:
phpBinaryPathAndFilename: '/usr/bin/php5.3'
Put attention to 4 and 6 spaces indention.
Greetings
Max
Am 11.05.2012 12:48, schrieb Max-Milan Stoyanov:
> Thanks to all suggests. I really think that this is a realistic solution
> for this behaviour. I will try it but first I have to find out the right
> path which is on a system without SSH as root not trivial.
> The support will likely know the solution.
>
> Greetings
>
> Am 11.05.2012 11:04, schrieb Thomas Allmer:
>> I also had this problem, but setting it in the Settings.yaml didn't help
>> at all for me :/ (for using it on the command line) as FLOW3 won't even
>> come to the part of parsing some yaml.
>>
>> so what I had to do was change the first line of the flow3 shell script.
>> #!/usr/bin/env php
>> becomes
>> #!/usr/bin/env /path/to/php53/bin/php
>>
>> I didn't even set the phpBinaryPathAndFilename... stillt works... let's
>> see if it has to be set at some point :p
>>
>> On 10.05.2012 18:58, "Christian Müller (FLOW3 Team)" wrote:
>>> FLOW3 runs a command line subrequest to compile stuff it needs for AOP
>>> and DI. It seems the default CLI php binary is 5.2.17, so not the same
>>> as web. You should actually fix that in any case as that's bad anyway.
>>>
>>> If you have SSH access to the machine, just try
>>> php -v
>>> on command line and see what you get. Should be 5.2.17.
>>> You can of course also configure the path to the 5.3.10 php binary if
>>> needed., for that see
>>> TYPO3.FLOW3.Core.phpBinaryPathAndFilename setting in Settings.yaml
>>>
>>> Cheers,
>>> Christian
>>>
>>> On 10/05/12 18:45, Max-Milan Stoyanov wrote:
>>>> Hello Pankaj,
>>>>
>>>> thanks for quick reply. phpinfo() shows me a PHP 5.3.10 version.
>>>>
>>>>
>>>> Am 10.05.2012 18:11, schrieb Pankaj Lele:
>>>>> Hi Max-Milan,
>>>>>
>>>>>> What could be a solution?
>>>>>
>>>>> The error is valid as FLOW3 cannot be run on PHP 5.2. It needs PHP
>>>>> 5.3.2
>>>>> minimum. See
>>>>> http://flow3.typo3.org/documentation/guide/partii/requirements.html
>>>>>
>>>>>
>>>>>
>>>
>>>
>>
>>
More information about the FLOW3-general
mailing list