Hi all, Ispconfig is working very well with PHP 5.2.x But I have updated PHP, to PHP 5.3.3 and now, i have a lot of PHP Notices popping on Ispconfig. BUT, the functions of the panel are working fine. I have changed, in the PHP.INI => error_reporting = E_ALL & ~E_DEPRECATED TO error_reporting = E_ALL & ~E_NOTICE And now ... i have no errors, BUT, the Monitor Tab is no longer working. in my php log, i have : [02-Dec-2010 16:34:22] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199 [02-Dec-2010 16:34:22] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199 [02-Dec-2010 16:34:27] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199 [02-Dec-2010 16:34:27] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199 [02-Dec-2010 16:51:31] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199 [02-Dec-2010 16:51:31] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199 [02-Dec-2010 16:51:34] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199 [02-Dec-2010 16:51:34] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199 [02-Dec-2010 16:54:27] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199 [02-Dec-2010 16:54:30] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199 [02-Dec-2010 16:54:34] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199 line 199 : _processDbState($record['type'], $serverId, &$serverState, &$messages); I will try to put : error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE To correct the problem, but i don't think that is a smart solution. Regards Sanjay
ISPConfig requires the following error reporting setting: error_reporting = E_ALL & ~E_NOTICE It works with that setting for all php 5.x releases. If you have problems with the monitor, then you have most likely not all required php modules installed. Please ensure that you installed all php modules as described in the perfect setup guide.
Hello, I have all required php modules. Difference between php 5.2 / 5.3, there is a lot of change. If a function is "deprecated", it's not a required module. &$serverState => must be $serverState in PHP 5.3, pass by reference is no longer working in PHP 5.3
I know and ispconfig is developed under php 5.3 for some time now and working fine. I know that You get this notice because you had set the wrong error level. Deprecated means that you should not use a function anymore as it will be removed in future versions, it does not mean that a function is not working anymore... Thats wrong. It still works in php 5.3 but will be removed in a future version and for that reason php 5.3 will throw a deprecated warning. See php manual.