Welcome Guest, Not a member yet? Register   Sign In
PHP Version 4.2.2
#1

[eluser]jleequeen[/eluser]
Unfortunately I work in an environment that is ages behind in php upgrades (I have no control over this). We are stuck at 4.2.2 and it looks like the earliest that we could move to PHP5 will be six months from now. I'm anxious to use CI on a small project that will be perfect in size for my first application. I'm wondering since CI requirements are 4.3.2 what exactly would break if you tried to run it on 4.2.2?
#2

[eluser]opterons[/eluser]
I know it is not supported but it can't hurt to give it a try on your server and see what happens if it starts spitting out errors then more than likely you will just have to google the fix manually for that error then move on to the next error heh sorry i can't be more help on this problem.

PS: maybe we can develop a port for 4.2.2 for the ci community, just a thought.

-Bryan
#3

[eluser]opterons[/eluser]
Also if you are on a shared account with your hosting provider maybe you can work out a migration for that site to a server with php4.3.2 or newer. I know that the big names in hosting will do this for free (godaddy, lunarpages, ect.), just a thought.

-Bryan
#4

[eluser]jleequeen[/eluser]
Well, I appreciate your reply Bryan. I really don't want a port of any type. I realize how archaic it is to be using 4.2.2. I guess I'm just really wondering what exactly might break if I tried to run it on that version. Some features that might break I might not use anyway. And it would help me really get a big jump on development for when my shop does upgrade to a higher version of php. I thought it might be easy to find a list of features that wouldn't work in CI with an earlier version but I just haven't found it.

I might do like you said and just try it out and see what happens. I'm just afraid to get started and find some major functionality won't work for that version. Oh well, hopefully someone will chime in with some wisdom on the matter soon before I go down that path.

Thanks again for your reply Bryan.
#5

[eluser]Derek Allard[/eluser]
There isn't anything fundamental that I can think of... the inadequacies of that version of PHP will come from things like lack of support for certain functions that CodeIgniter relies on. If you wanted to try it, just ensure that your errors are turned on, and be sure to check every page you write. Its possible that you don't end up using any of the functions that require a higher version of PHP, but that said, its also possible that you'll invest large amounts of time getting 90% done, only to find that you can't build the last 10%.

Another thought... develop locally, and then release the website when PHP 5 becomes available.

Good luck! Please do report back here how it goes for you... you've got me curious Wink
#6

[eluser]jleequeen[/eluser]
Will do. Thanks for your reply Derek!




Theme © iAndrew 2016 - Forum software by © MyBB