Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP

1,198 views
Skip to first unread message

Lee Blue

unread,
Feb 10, 2014, 11:51:23 AM2/10/14
to f3-fra...@googlegroups.com
Using PHP version 5.4.3, I am trying to get a basic 'hello world' style page going. I am getting the error:
Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP

If I switch to PHP version 5.3.13 everything works great. Is the FatFree Framework not compatible with PHP 5.4?

Here is the code:

<?php

// Retrieve instance of the framework
$f3 = require('app/lib/base.php');

$f3->route('GET /example', function() {
  echo "The example page";
});

// Execute application
$f3->run();


ikkez

unread,
Feb 10, 2014, 11:54:31 AM2/10/14
to f3-fra...@googlegroups.com
F3 is compatible with PHP 5.4 and 5.5... check your server config / php.ini and search for this faulty allow_call_time_pass_reference setting.
I bet that removing it will solve your problem.
Reply all
Reply to author
Forward
0 new messages