lional Posted January 23, 2007 Share Posted January 23, 2007 Hi allI have a situation where my service provider runs php versions ranging from 3 to 5.Are there any compatibility issues as I would like to run 5 on my development machine, and will it then run with previous versions of phpThanksLional Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 23, 2007 Share Posted January 23, 2007 you can use htaccess to direct it to use a certain version, or end the file with .php5 Quote Link to comment Share on other sites More sharing options...
lional Posted January 23, 2007 Author Share Posted January 23, 2007 What I wanted to do was to load php on my development, and depending on what I had done, download it unchanged to my service provider and will it run on previous versions, I am aware that certain functions are specific to php5 and they would not work. is this possible.ThanksLional Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted January 23, 2007 Share Posted January 23, 2007 I currently develop on PHP5 and run in PHP4 environments. As long as you know which functions work with which versions you should be fine.Ken Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 23, 2007 Share Posted January 23, 2007 "I am aware that certain functions are specific to php5 and they would not work."There's your answer. You're asking if something you just said won't work, will work. I gave you a way to make sure it runs on 5, if you want to know if your code built for 5 will run on 3, then no, you will likely have a lot of issues. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.