Page 1 of 1

PHP Linux server

Posted: Sat Mar 22, 2008 6:47 pm
by weaponx
I developed a very simple site using php in a windows environment. Can i now upload the site to a Linux server? are there any differences in the php configerations, between windows and linux?

Re: PHP Linux server

Posted: Sat Mar 22, 2008 6:52 pm
by seodevhead
I've been developing on a Windows (WAMP) and uploading to a Linux (LAMP) server just fine for the past 2 years. The only things I've had not work was in windows, the way filepaths are read are not case-sensitive, unlike *NIX based systems. So mod_rewrites and such are sometimes broken when case-sensitivity plays a role... but usually its only broken in windows.

The other big one would be anything having to do with changes to the filesystem. While I've never had problems... I would imagine functions that change directory ownerships and things like that would have trouble in Windows... but if it works in windows... most likely it works in linux.

... you're good.

Re: PHP Linux server

Posted: Sun Mar 23, 2008 8:59 am
by DaveTheAve
I agree with him, when I used to develop via a windows based workstation the only errors I'd have running my code on a LAMP would be case-sensitive filenames and the correct permissions on files and folders (chmod).

Now I just using Kubuntu Linux for my desktop and develop on that. :wink:

One last thing, welcome to the forums! :P

Re: PHP Linux server

Posted: Sun Mar 23, 2008 2:36 pm
by weaponx
Thanks for your help guys, i uploaded to a linux box and was successful, no problems what so ever.

ciao