shortysbest Posted May 31, 2010 Share Posted May 31, 2010 title says all. thanks Quote Link to comment https://forums.phpfreaks.com/topic/203442-building-website-on-windows-localhost-will-it-work-on-linux-server/ Share on other sites More sharing options...
PFMaBiSmAd Posted May 31, 2010 Share Posted May 31, 2010 Probably, if you use current recommend php.ini settings, don't use any old deprecated features, and your development system has at least the same php version as your live server (assuming that your live server is at least php5.) About the only thing you should need to worry about is if you use a php language extension that is uncommon and is not present on your live server. Quote Link to comment https://forums.phpfreaks.com/topic/203442-building-website-on-windows-localhost-will-it-work-on-linux-server/#findComment-1065805 Share on other sites More sharing options...
shortysbest Posted May 31, 2010 Author Share Posted May 31, 2010 Probably, if you use current recommend php.ini settings, don't use any old deprecated features, and your development system has at least the same php version as your live server (assuming that your live server is at least php5.) About the only thing you should need to worry about is if you use a php language extension that is uncommon and is not present on your live server. ok thanks, and yeah i'm using php 5.3 on my localhost. and as far as i know im not using any old features. Quote Link to comment https://forums.phpfreaks.com/topic/203442-building-website-on-windows-localhost-will-it-work-on-linux-server/#findComment-1065807 Share on other sites More sharing options...
gerkintrigg Posted June 9, 2010 Share Posted June 9, 2010 Try downloading something like WAMP server and testing it. WAMP is very fussy with syntax so if it works on that, it should work on anything. Quote Link to comment https://forums.phpfreaks.com/topic/203442-building-website-on-windows-localhost-will-it-work-on-linux-server/#findComment-1069875 Share on other sites More sharing options...
trq Posted June 9, 2010 Share Posted June 9, 2010 WAMP is very fussy with syntax so if it works on that, it should work on anything. WAMP uses the same php as (most of) the rest of us. Quote Link to comment https://forums.phpfreaks.com/topic/203442-building-website-on-windows-localhost-will-it-work-on-linux-server/#findComment-1069878 Share on other sites More sharing options...
steviewdr Posted June 18, 2010 Share Posted June 18, 2010 Make sure you don't mix capital letters and small. Windows treats them the same, linux doesn't. Also, I'd recommend avoiding spaces in filenames. -steve Quote Link to comment https://forums.phpfreaks.com/topic/203442-building-website-on-windows-localhost-will-it-work-on-linux-server/#findComment-1073908 Share on other sites More sharing options...
Mchl Posted June 18, 2010 Share Posted June 18, 2010 There are a few Windows specific extensions so obviously avoid using those. Some care is in order when working with paths (you can actually use / as path separator on Windows, so that you don't have to fuss with \ ). You might also want to use realpath function. Quote Link to comment https://forums.phpfreaks.com/topic/203442-building-website-on-windows-localhost-will-it-work-on-linux-server/#findComment-1073928 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.