Jump to content

Building website on windows localhost, will it work on linux server?


shortysbest

Recommended Posts

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.

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.

  • 2 weeks later...
  • 2 weeks later...

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.