Posted by tejasdarji on December 6, 2011 at 5:23am
My drupal-6 is hosted on ubuntu 9.10.
Now ubuntu is stop support for 9.10 Because ubuntu support only 2years. Currently ubuntu 11.04 is release.
My problem is ubuntu 10+ is come with php-5.3, We can downgrade php-5.3 to 5.2 but its not work properly some php libraries are not working.
I have tried with drupal 6 and php-5.3 but some warning and errors are occur.
Posted by drupal-id.com on January 3, 2012 at 5:50pm
Drupal 6.22 (when this post written) still not yet fully compatible to PHP 5.3. What the patch does only supressing the error message, that's why on certain server you still see this incompatible error message.
To be details see this bootstrap.inc code from Drupal 6.22:
Comments
Its almost perfect..
Drupal 6.14 and above does work with PHP 5.3 but there are still some contributed modules that might not work, and will throw warnings messages.
I would recommend 5.2.x for Drupal core 6.
More info at http://drupal.org/requirements
Drupal 6.14's release notes. http://drupal.org/node/579476
I have same problem
My drupal-6 is hosted on ubuntu 9.10.
Now ubuntu is stop support for 9.10 Because ubuntu support only 2years. Currently ubuntu 11.04 is release.
My problem is ubuntu 10+ is come with php-5.3, We can downgrade php-5.3 to 5.2 but its not work properly some php libraries are not working.
I have tried with drupal 6 and php-5.3 but some warning and errors are occur.
I met with the same problem
I was having Drupal 6.14 and php 5.3 does not support drupal 6.14, so I updated my core version to
Drupal 6.22 and it was working fine for php 5.3.
Please try updating your core version if it works.
Only supressing error message
Drupal 6.22 (when this post written) still not yet fully compatible to PHP 5.3. What the patch does only supressing the error message, that's why on certain server you still see this incompatible error message.
To be details see this bootstrap.inc code from Drupal 6.22:
// Hide E_DEPRECATED messages.if (defined('E_DEPRECATED')) {
error_reporting(error_reporting() & ~E_DEPRECATED);
}
Above code mean not show any error related to deprecated :)
So, if you now how to replace any deprecated function then use PHP 5.3, otherwise stuck on 5.2.
@tejasdarji: you need to edit your PHP 5.3 php.ini file. Just use E_DEPRECATED, read this article for detail http://www.electrictoolbox.com/php-prevent-e-deprecated-error-messages/