Jump to content

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


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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.