Can you upgrade PHP version ?

Status
Not open for further replies.
Messages
3
Reaction score
0
Points
0
Hi,

I'm engineer and I want to show my diploma project created locally with PHP 5.3.2, I uploaded on my free webhosting via FTP but the page shows empty (it recognize style.css and it colorize background).

I want to show how the project works on server not localhost...

Can you upgrade PHP version to 5.3 please?

Thank you very much
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
There have been discussions about upgrading, but there are no current plans to do so.
 

joemgap

Member
Messages
68
Reaction score
0
Points
6
Most of the famous scripts still supported the lower version of php. Because newer php makes a huge server load. So it is still safe to use the lower version. By the way, what script that requires you to use php 5.3+?
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
I wouldn't look for a PHP upgrade until CentOS is upgraded. CentOS 6 was just released, and it has a new PHP version -- but an OS upgrade isn't something one does to a working complex system on a whim; compatibility with the load-leveling architecture, cPanel and so forth have to be tested (you never go with anything a vendor puts on a fact sheet without testing, unless you like running with scissors), and it's something that's far more likely to happen in response to a problem than to the "latest and greatest" being out there. As for modifying the current setup: there's more than enough weirdness involved trying to put together a massively-shared hosting environment without monkeying with the stuff that came in the box as well.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
We'll most likely upgrade by the end of the summer, however as stated previously in this thread it is not something we can just do. There will be many days of testing when it is time to upgrade.
 

Anna

I am just me
Staff member
Messages
11,755
Reaction score
583
Points
113
Eventually it will be updated, as stated by Corey probably towards the end of the summer.
We have to make sure everything will work smoothly before upgrading all servers to the new version, which means there'll have to be a period of extensive testing before putting it live.
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
@OP: The reason you're getting a blank page is most likely because of your SQL syntax - and not the PHP itself.

If you'd like to post the entire script for me to take a look at, please use the programming forum down below.
 
Messages
3
Reaction score
0
Points
0
there are not SQL errors, I assure you. I tested my project on localhost and it works perfectly. The problem is the new PHP version. I worked with 5.3 version . In my admin panel of x10hosting, I saw PHP 5.2 version.

If you are going to update at end of summer then I have to find other service which support a newer version of PHP and/or MySQL.

Thank you anyway
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
Again, this is not the area for this kind of support, but if you would turn on error reporting and check your error log/output, you could find out what the problem is, then ask how to fix it in http://x10hosting.com/forums/programming-help

My guess is that this is not related to PHP 5.3.X because none of the functions you use have anything in the PHP changelog from 5.1.X to 5.3.X. Don't rely on the $_SERVER variables being what the PHP manual says they'll be. You never check what $_SERVER['REMOTE_ADDR'] actually is. It could be "Because Squid is proxying this request, REMOTE_ADDR isn't set." which will break your query. If mysql_query() returns FALSE, you'll have many errors in your code, so you should check the value of $view1 before using it. "data_expirare" seems like it should be "date_expires" or at least "data_expires".

I'll try and look out for your reply in the programming help forum, but if I don't get to it, someone else will.
 
Status
Not open for further replies.
Top