I've searched this site but don't find a clear answer to my problem/question. Perhaps someone can respond and clarify for me? I need to start using PHP 5.2 because the CiviMail module only works on PHP 5x and I need CiviMail.
Currently running
PHP 4.4.4
MySQL 4.1.21
Drupal 5.0
CiviCRM 1.6
Must update to
PHP 5.2
MySQL 4.1.21
Drupal 5.0
CiviCRM 1.
So, what I'm not clear on is what is the update process to do this.
* Is there a script to update the MySQL database to make it compatible with PHP5.2?
* If I simply switch to PHP5.2 is there anything I have to do to the Drupal/CiviCRM code?
* What is the order that these updates (if any) should occur?
What am I missing here? I just don't want to screw up the current site which is working well at the moment.
Thank you very much for any insight anyone can offer!
Comments
Upgrading to PHP5.2
If your not hosting your website on your one servers you have to ask your hosting firm if it's possible to update to php 5.2. Depending on your hosting it might be impossible to upgrade. For instance, when you have a shared hosting your hosting firm won't be to eager to upgrade because all the other accounts on the same server get upgraded to with possibly lots of problems.
There is AFAIK nothing you
There is AFAIK nothing you have to do, just upgrade PHP and don't forget to enable modules like GD, MySQL etc. in your php.ini (and of course copy all the other customizations you've made in your old php.ini). I changed from PHP4 to PHP5 yesterday (because the Release Monitor only works with PHP5), and everything still works like a charm.
Greetings
MySQL settings
Thank you for the very quick response. I think I understand perfectly now. You said check to be sure modules are enabled like GD, MySQL, etc. in my php.ini file.
The following is what's in my php.ini file as it relates to MySQL:
[MySQL]
mysql.allow_persistent = Off
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
Is there something I should do to this to make it compatible with PHP5.2 (which is what my host has installed for me to use)?
Looking to goto PHP5.x too
I noticed that CiviCRM has a php4 install and a php5 install. At the time I installed php4. Do I (can I) upgrade?
Stu