By apachelion on
I've heard of some problems with PHP 5.3, but it's been quite a while since it was released, so I wonder if it is now OK for me to upgrade. I'm using the latest version of Drupal and some basic functionality from the most popular modules like CCK and Views. Will I have any trouble with that?
P.S. I just want to get rid of the nagging phpMyAdmin warning "Your PHP MySQL library version 5.0.51a differs from your MySQL server version 5.1.45...", but I can't find any new mysql connectors; on mysql.com it's stated that PHP 5.3 now comes with the latest extensions out of the box.
Thanks.
Comments
According to the system
According to the system requirements - http://drupal.org/requirements
PHP 5.3 is not yet supported by Drupal 5.x, but is supported by Drupal 6.14 core and higher (see the release notes for 6.14) and also by Drupal 7.x. Note that some contributed modules may not be compatible with PHP 5.3, and that some PHP 5.3 configurations still show warnings with Drupal 6.14; work is ongoing to resolve the latter in #360605: PHP 5.3 Compatibility.
Yes, I read that. I hoped
Yes, I read that. I hoped someone who made the switch would post a recommendation or some caveats.
I guess I will have to find out myself.
I did the upgrade
I upgrage Ubuntu to version 10.04 and it come with PHP 5.3.2-1. Now, I have plenty of warning on my Drupal Web sites (over 10 000 warnings in some pages) and I'm currently trying to find out how to switch back to PHP 5.2. I don't recommend you to install PHP 5.3 without a good reason. If you do, turn off the warnings in php.ini:
I didn't try it with warning off so I can't tell you if it's good or not.
I don't recomend on upgrading to 5.3.2 yet!
I also upgraded to Ubuntu 10.04 and found myself with php 5.3.2, plenty of warnings and not being able to install new Drupal sites.
I came across this post in Ubuntu forum that includes a script to downgrade php back to 5.2. That seamed to solve all my problems.
The post: http://ubuntuforums.org/showthread.php?p=9152778
That Worked!
ami7878, the script worked for me as well, thank you for posting it.