The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Moving to PHP5
My site is currently running on PHP4 and MYSQL4 and I wanted to move my site to PHP5 and to MYSQL5. For the move to PHP5 do I need to do anything with the site? Will everything still work fine from moving from 4 to 5?
On regards to mysql, can I just take a mysql dump of mysql4 and import that dump in the new mysql 5 database? |
#2
|
||||
|
||||
request to your hosting service the migration, on my case just 2 external scripts, non-vBulletin stopped working, but I fixed them...
So don't hesitate and take the step Maybe a backup will give you peace |
#3
|
|||
|
|||
Quote:
I then plan to download a copy of the whole site just in case. Upgrade to mysql5 and change the script to point to the new database. Once everything checks out I plan to switch to php5 and also backing up the database again. The hosting company will make the switch to php5 I just have to make sure everything that I am running can run on php5. Is there anything wrong with the process I plan on doing? |
#4
|
|||
|
|||
You should be fine. Your plan is correct. Be sure to do a full back up of everything before you start the switch. I use the system backup provided in my cpanel. It gets everything and is accessible if something doesn't go right.
HTH, mikesz |
#5
|
|||
|
|||
Thanks mike, but I should have no problem switching from php4 to php5 because I see that it the recommended version to use.
|
#6
|
||||
|
||||
You may have small compatibility issues from modifications (most common is the array_merge() error, but can be easily fixed).
|
#7
|
|||
|
|||
I just tried to do the switch from mysql4 to mysql5 and it couldn't connect to the database. Here is the process I did.
1. Create another database 2. import the database 3. changed my config.php file in the includes directory to point to the new database 4. after import was complete it said that it could not connect to the database. Is there somewhere else I need to make the change? |
#8
|
|||
|
|||
What is the exact error message?
|
#9
|
|||
|
|||
Doesn't give any specifics. Just a standard message. I attached a screenshot.
Database error The database has encountered a problem. |
#10
|
|||
|
|||
Either check the error message in your technical email, or right-click on the error page, select "View Source" and you will also get the full error message.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|