oceans Posted June 12, 2007 Share Posted June 12, 2007 Dear People, I developed my php codes in windows based wamp, and now I was told to move to linux server. Will it be difficult? I think php by itself should not be a problem, but what about handling files is it the same as for windows. Like c:\parent\blabla\image.jpg Thanks, I do not know how am I going to do it. Please comment, thanks. Link to comment https://forums.phpfreaks.com/topic/55226-moving-from-windos-to-linux/ Share on other sites More sharing options...
Caesar Posted June 12, 2007 Share Posted June 12, 2007 You should try to use relative paths in your code as much as possible. It's good practice...and it makes for moving your scripts from one server to another much easier. Also...good move on going to Linux. Especially, if the server is running PHP as an Apache module. Link to comment https://forums.phpfreaks.com/topic/55226-moving-from-windos-to-linux/#findComment-272983 Share on other sites More sharing options...
oceans Posted June 12, 2007 Author Share Posted June 12, 2007 Dear Caser, I will be doing it pretty soon, I will be at the mercy of this room, I hope I will do it ok with rooms help. Link to comment https://forums.phpfreaks.com/topic/55226-moving-from-windos-to-linux/#findComment-272987 Share on other sites More sharing options...
kritical Posted June 12, 2007 Share Posted June 12, 2007 Like you have already guessed the major problem is with the file structure and file permissions... Instead of C:\Whatever\Directory You now have to deal with \Whatever\Directory Everything else should be pretty similar, there are a lot of support forums around to help you get started with linux. Link to comment https://forums.phpfreaks.com/topic/55226-moving-from-windos-to-linux/#findComment-272989 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.