13, February 2012

upgrading PHP and MySQL - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server
Topic: upgrading PHP and MySQL
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: upgrading PHP and MySQL  (Read 2020 times)
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 886
1148 credits
Members referred : 4



« on: Oct 16, 2007, 10:12:25 am »

Recently I upgraded to a VPS server... the MySQL and PHP is very out of date and I know that I desperately need to upgrade the versions. What I need however is an opinion from you guys, which versions of both work best with eachother (preferabbly PHP4+ and MySQL 4+ right?). This will help me decide which direction to go  Cool

Current PHP: 4.3.2
MySQL: 3.23.58
« Last Edit: Oct 16, 2007, 10:14:18 am by Meth0d »


Last blog : phpHaze 1.59.1 in Development
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Oct 16, 2007, 10:28:07 am »

I use php5.2 and mysql 5.0

don't go for something older, the development of php4 stops in december


Last blog : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5778
46265 credits
Members referred : 3



« Reply #2 on: Oct 16, 2007, 01:48:15 pm »

Do you want to keep data from the mysql database to the new server? It will be a little problem to migrate it, because mysql 3 has a different way to login users.

For versions I would use mysql 5.0.x with php 4 and/or 5

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 886
1148 credits
Members referred : 4



« Reply #3 on: Oct 16, 2007, 06:13:21 pm »

yes I hope to be able to keep the data... I am not the one who is doing the actual migration, my host provider will be doing it for me


edit- btw what about Apache, does it need to be upgraded to? and what is the best way to check the version of apache  Cool


Last blog : phpHaze 1.59.1 in Development
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5778
46265 credits
Members referred : 3



« Reply #4 on: Oct 16, 2007, 06:37:35 pm »

You can check the version by the response headers. Apache should be upgraded to 2.0.x too

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 886
1148 credits
Members referred : 4



« Reply #5 on: Oct 16, 2007, 06:39:05 pm »

this was only thing I found in phpinfo:

Server API  Apache 2.0 Filter 


Last blog : phpHaze 1.59.1 in Development
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5778
46265 credits
Members referred : 3



« Reply #6 on: Oct 16, 2007, 06:42:16 pm »

You need to check the response headers. If you have the web developer extension loaded in your FF, click on Information => View Response Headers when you are in your site.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 886
1148 credits
Members referred : 4



« Reply #7 on: Oct 16, 2007, 06:47:13 pm »

Date: Tue, 16 Oct 2007 16:47:25 GMT
Server: Apache
Accept-Ranges: bytes
X-Powered-By: PHP/4.3.2
Keep-Alive: timeout=2, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

200 OK


Last blog : phpHaze 1.59.1 in Development
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5778
46265 credits
Members referred : 3



« Reply #8 on: Oct 16, 2007, 06:52:26 pm »

It looks changed Smiley

Go through SSH, locate your httpd.conf file and check the version, it should be written somewhere Smiley

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #9 on: Oct 16, 2007, 07:47:59 pm »

or try to get a 404 error page Wink


Last blog : A new Wordpress theme for our blog
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 886
1148 credits
Members referred : 4



« Reply #10 on: Oct 16, 2007, 08:13:12 pm »

changed? I have not changed the response headers.. it must be something from the default configuration of my VPS. I wasn't able to find anything with a version number in httpd.conf



Last blog : phpHaze 1.59.1 in Development
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5778
46265 credits
Members referred : 3



« Reply #11 on: Oct 16, 2007, 09:52:18 pm »

Check the manual. It is in the "manual" directory under the installation directory.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #12 on: Oct 16, 2007, 09:56:44 pm »

Method, upgrading mysql and php on a linux machine is not like an upgrade on some windows machines.

If you can't find version information you should ask someone to upgrade your server (or you need a possible total restart Wink)


Last blog : A new Wordpress theme for our blog
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 886
1148 credits
Members referred : 4



« Reply #13 on: Oct 16, 2007, 09:58:42 pm »

Method, upgrading mysql and php on a linux machine is not like an upgrade on some windows machines.

If you can't find version information you should ask someone to upgrade your server (or you need a possible total restart Wink)

I don't guess you read this did you:

Quote
I am not the one who is doing the actual migration, my host provider will be doing it for me

My host is doing it for me, but I want to be sure of which versions I should go to.


Last blog : phpHaze 1.59.1 in Development
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #14 on: Oct 16, 2007, 10:02:38 pm »

than its easy, just tell you provider what you need Smiley


Last blog : A new Wordpress theme for our blog
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 886
1148 credits
Members referred : 4



« Reply #15 on: Oct 16, 2007, 10:12:29 pm »

ok thanks for the advice Olaf, my host says Apache doesnt need upgrade.. I think i will go with PHP's latest version (which is 5.2.4 atm i think) and Mysql 5+, i'll let them decide what specific version.

thanks everyone for your help as always the great Webdigity!


Last blog : phpHaze 1.59.1 in Development
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #16 on: Oct 16, 2007, 10:19:25 pm »

you need to trust them since the upgrade need to be supported by the control panel


Last blog : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5778
46265 credits
Members referred : 3



« Reply #17 on: Oct 16, 2007, 11:36:14 pm »

Yeah that's true. Most of the people I know using cpanel have apache 1.3, and in most VPS accounts they also have outdated php versions. The bad thing for them is that they can't upgrade with yum or apt-get because Cpanel uses its own directory structure....

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 886
1148 credits
Members referred : 4



« Reply #18 on: Oct 17, 2007, 12:15:09 am »

these guys dont use cPanel, my shared hosting wasnt even on cpanel, it is something entirely different.. the shared hosting was hSphere, and im not sure what my VPS cp is, but its "h" something lol, not hSphere but cant remember specifically..


Last blog : phpHaze 1.59.1 in Development
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7249
Tags : php mysql Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server
Topic: upgrading PHP and MySQL
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Feb 13, 2012, 04:19:42 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.