faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 4 people (75%) answered Yes
Recently 3 of 4 people (75%) answered Yes

Entry

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 
doing.
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 )
hth.
[jason]
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com