PHP Linux server
Moderator: General Moderators
PHP Linux server
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?
- seodevhead
- Forum Regular
- Posts: 705
- Joined: Sat Oct 08, 2005 8:18 pm
- Location: Windermere, FL
Re: PHP Linux server
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.
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.
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact:
Re: PHP Linux server
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.
One last thing, welcome to the forums!
Now I just using Kubuntu Linux for my desktop and develop on that.
One last thing, welcome to the forums!
Re: PHP Linux server
Thanks for your help guys, i uploaded to a linux box and was successful, no problems what so ever.
ciao
ciao