Learning from my own mistakes

I was looking for a hosting provider for yourclients.co.uk and I decided to go with UK based namesco.co.uk.

Everything was fine for the first 10 minutes - they do both PHP4 and PHP5, and MySQL5.

Sounds good, doesn’t it?

After signing up for the account and receiving my details I run phpinfo(); and it states: PHP4.4.1

What?

Where’s my PHP5?

After a quick email to support@ I received an answer that to run PHP5 scripts the files need to have .php5 extensions.

That’s obviously rubbish and I need to find another host…

Or do I?

My system will run off the main index.php acting as a PageController, so effectively no other files will be “ran”.

What I should be able to do is to rename my index.php to index.php5 and… That’s it!

I hope that works, but I don’t see a reason it shouldn’t, after all when the file is executed it already knows which version of the interpreter to use.

So - 1:0 for me, my system will work even on not-optimal hosting configurations :-D

Leave a Comment

You must be logged in to post a comment.