kenwvs Posted August 20, 2006 Share Posted August 20, 2006 I have been working on a page that I finally got to work properly on my local apache server and then when I uploaded it to my internet provider (server) it won't work. I have my errors all turned on, and am not getting any errors, just a couple of notices. Is there a big difference between what php version my apache uses, and what the server provider would use, that I would have problems with pages not working at all?I had been struggling getting my isset() set up to work properly, and finally got it, and now it won't work on the actual web.... I am getting the same error I was getting locally earlier....I know this is vague, but not sure how to explain it any better........any ideas what my next step should be, seeing as I am not getting any errors?[b]ADD ON COMMENT[/b]My local apache is running PHP 5.1.4 and MySQL 5.0.22 - Community -ntand my service provider is running PHP 4.4.2 and MySQL 4.1.19-Standardnot sure if this will make a difference. If it does, is it possible to use on the local system the same versions as what my service provider uses?Ken Link to comment https://forums.phpfreaks.com/topic/18124-page-was-working-on-local-system-but-wont-work-on-the-net/ Share on other sites More sharing options...
448191 Posted August 20, 2006 Share Posted August 20, 2006 What, is your code a state secret? Your notices copyright protected? How the hell are we supposed to know what you're talking about? ??? Link to comment https://forums.phpfreaks.com/topic/18124-page-was-working-on-local-system-but-wont-work-on-the-net/#findComment-77687 Share on other sites More sharing options...
448191 Posted August 20, 2006 Share Posted August 20, 2006 Ah, I see, your trying to run php5 scripts on a php4 server. That no worky.Either move to a php5 host or downgrade your testing server to php4. Link to comment https://forums.phpfreaks.com/topic/18124-page-was-working-on-local-system-but-wont-work-on-the-net/#findComment-77688 Share on other sites More sharing options...
kenwvs Posted August 20, 2006 Author Share Posted August 20, 2006 Codes are no secret, just didn't know if they would make a difference since it worked on the local system and then not on the internet itself.I will post the code in a separate message.I just got your message about php 5 and php4 while typing this. Is there a way to only run php4 on my local system then?Ken Link to comment https://forums.phpfreaks.com/topic/18124-page-was-working-on-local-system-but-wont-work-on-the-net/#findComment-77689 Share on other sites More sharing options...
448191 Posted August 20, 2006 Share Posted August 20, 2006 [quote author=kenwvs link=topic=104977.msg419027#msg419027 date=1156102038]Codes are no secret, just didn't know if they would make a difference since it worked on the local system and then not on the internet itself.I will post the code in a separate message.I just got your message about php 5 and php4 while typing this. Is there a way to only run php4 on my local system then?Ken[/quote]Sure, just remove php, download the latest php4 and install that. It's not very difficult. You'll manage.Just know that you might not be able to use some of the functions (not many, unless you're using OOP) you used before. So you'll probably get some errors wich you'll need to fix. Link to comment https://forums.phpfreaks.com/topic/18124-page-was-working-on-local-system-but-wont-work-on-the-net/#findComment-77690 Share on other sites More sharing options...
kenwvs Posted August 20, 2006 Author Share Posted August 20, 2006 Thanks for the help.Ken Link to comment https://forums.phpfreaks.com/topic/18124-page-was-working-on-local-system-but-wont-work-on-the-net/#findComment-77692 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.