Can i use PHP aplication wrtiten in Win2000 on linux ???? whats need to be changed???
Mar 15th, 2008 18:19
ha mo, Jason Ross, Peter Wechtersbach,
the short answer is "yes". the things that need to change depend a lot
on how you have coded your application, and what types of things you're
Most notably, the pathing will be quite different.
For one thing, the slashes will all need to switched from '\' to '/',
and there is no 'C:' type directory structure, etc.
Other than that, you may need to convert line endings from the MS
format to the Unix format. Any decent text editor can handle doing
that, including a number of free ones. ( I like scite personally, it's
available at http://www.scintilla.org/SciTE.html )
If you are in charge of the php setup and configuration, there's
additional things to change in the php.ini ( include paths, mail
config, and .dll's to load are the big ones that come to mind )