Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Still getting parse error at line 9 after installing PHP 6.0
  • Hi, Just started using fuel today .....after downloads and install, I still get this error Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /C/Appserve/www/fuel/public/index.php on line 9 I have Appserver with PHP 6.0 installed what could possibly be the trouble with this Regards
  • PHP 6.0? Where did you get that from? Are you sure you're not using something lower than 5.3? Because the error you get is on the closure, which is not supported in PHP until version 5.3. Fuel needs PHP 5.3+ to run.
  • Thanks for reply...
    I got PHP 6.0 from here http://www.appservnetwork.com/. That was on window XP But when i move the file to my ubuntu 11 linux laptop it worked. But whats the next step from here.....
    /
    fuel/
    app/
    core/
    packages/
    public/
    .htaccess
    assets/
    index.php
    oil because the CLI never worked for any way. Just manual installation, so how do I start a project
  • It's not PHP 6 but "PHP 5.2.6" Fuel require >= PHP 5.3
  • NADA both are there, my phpinf() tells me PHP 6.0
    AppServ 2.5.10
    Apache 2.2.8
    PHP 5.2.6
    MySQL 5.0.51b
    phpMyAdmin-2.10.3
    Download
    Sourceforge.net : http://prdownloads.sourceforge.net/appserv/appserv-win32-2.5.10.exe?download MD5SUM : 279c0c39866fbecb8a3904969fd5d0f4 AppServ 2.6.0
    Apache 2.2.8
    PHP 6.0.0-dev
    MySQL 6.0.4-alpha
    phpMyAdmin-2.10.3
    Download
    Sourceforge.net : http://prdownloads.sourceforge.net/appserv/appserv-win32-2.6.0.exe?download MD5SUM : e3a108c9b17f3572e53c07f52d236481
  • PHP 6.0 isn't released, it a development version, with a state-unknown. We can not give any support on that environment, only with official PHP releases, 5.3 and up.
  • Actually it's an out-of-devepment version with a state that read "Rest in peace". PHP6 is an abandoned attempt at making PHP fully UTF8, an attempt that failed and put development in a state of confusion for some time. PHP 5.4 is the next version and after that they'll probably skip PHP6 and go for 7 to avoid confusion with this failed attempt.
  • Okay. Thanks you guyz. I will ger 5.3. lets c how it goes.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion