DataRater Posted August 29, 2009 Share Posted August 29, 2009 Hi, I've sent a php5 php file to my webhost and there is an error. I have made changes to the file and it doesn't make any difference. I then renamed the file on the server to something else and it still says there is an error in the original filename. So my hunch is apache is holding on to the last version and not refreshing itself. How do i make it see the latest version? Steve Quote Link to comment https://forums.phpfreaks.com/topic/172382-solved-php-files-not-being-updated-by-apache-at-webhost/ Share on other sites More sharing options...
deansatch Posted August 29, 2009 Share Posted August 29, 2009 Sounds like you are altering the wrong file to me. Are you sure you are looking at the right fileand filepath? Quote Link to comment https://forums.phpfreaks.com/topic/172382-solved-php-files-not-being-updated-by-apache-at-webhost/#findComment-908886 Share on other sites More sharing options...
DataRater Posted August 29, 2009 Author Share Posted August 29, 2009 Yes because my FTP is still pointing at the original location. I had the Error straight after ftping it and then testing. An so I updated the file and there was no difference and then i renamed it to something else on the hosts site and it still says the error is in the original file. It's wierd! Quote Link to comment https://forums.phpfreaks.com/topic/172382-solved-php-files-not-being-updated-by-apache-at-webhost/#findComment-908887 Share on other sites More sharing options...
oni-kun Posted August 29, 2009 Share Posted August 29, 2009 What error does it exactly show you? You may want to use FileZilla to force hidden files, remove the old PHP file from apache and retest. To be curtain as well, enter the url and ... whatever.php? with the question mark, to make sure it'll not use cache. Quote Link to comment https://forums.phpfreaks.com/topic/172382-solved-php-files-not-being-updated-by-apache-at-webhost/#findComment-908890 Share on other sites More sharing options...
DataRater Posted August 29, 2009 Author Share Posted August 29, 2009 I've solved it. The URL was pointing me at my development site so I was getting the error from there and so changing the file in Prod wasn't doing anything. Thanks for your help. Steve Quote Link to comment https://forums.phpfreaks.com/topic/172382-solved-php-files-not-being-updated-by-apache-at-webhost/#findComment-908894 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.