|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-03-25 11:33 UTC] rasmus@php.net
[2012-03-25 11:33 UTC] rasmus@php.net
-Status: Open
+Status: Feedback
[2012-03-25 12:53 UTC] rodush at gmail dot com
-Status: Feedback
+Status: Open
[2012-03-25 12:53 UTC] rodush at gmail dot com
[2012-03-25 13:01 UTC] rasmus@php.net
-Status: Open
+Status: Not a bug
[2012-03-25 13:01 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 18:00:01 2025 UTC |
Description: ------------ After upgrading to php5.4 on my Debian (configured to "testing" sources for apt) none of my local website works. After upgrade I used option "maintainer's version of php.ini" for all php.ini files (apache, fpm, cli). Version of Apache: 2.2.22 Here what I see in one of my error log files (Apaches's): [Sun Mar 25 13:32:54 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function (null)() in /home/web/ccc/frontend/index.php on line 4 Actually, this is regular Yii fremework's frontpage. Nothing was changed and worked perfect before upgrade. Test script: --------------- 1<?php 2 3 // change the following paths if necessary 4 $yii=dirname(__FILE__).'/../framework/yii.php'; 5 $config=dirname(__FILE__).'/protected/config/main.php'; 6 7 // remove the following lines when in production mode 8 defined('YII_DEBUG') or define('YII_DEBUG',true); 9 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); Expected result: ---------------- dirname() must be called without error producing and should return full path to the current file. Actual result: -------------- PHP Fatal error: Call to undefined function (null)() in /home/web/ccc/frontend/index.php on line 4