PHP Linux server

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
weaponx
Forum Newbie
Posts: 2
Joined: Sat Mar 22, 2008 6:44 pm

PHP Linux server

Post 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?
User avatar
seodevhead
Forum Regular
Posts: 705
Joined: Sat Oct 08, 2005 8:18 pm
Location: Windermere, FL

Re: PHP Linux server

Post 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.
User avatar
DaveTheAve
Forum Contributor
Posts: 385
Joined: Tue Oct 03, 2006 2:25 pm
Location: 127.0.0.1
Contact:

Re: PHP Linux server

Post 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
weaponx
Forum Newbie
Posts: 2
Joined: Sat Mar 22, 2008 6:44 pm

Re: PHP Linux server

Post by weaponx »

Thanks for your help guys, i uploaded to a linux box and was successful, no problems what so ever.

ciao
Post Reply