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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.