Page 1 of 1
php in linux platform
Posted: Wed Aug 27, 2003 10:41 pm
by irvine
hi,
usually we use the php with the windows platform, then is it possible the php intergrated with linux platform?
how about the code in windows platform , is it need to change some code or re - code it???
thank you.......
Posted: Wed Aug 27, 2003 11:00 pm
by McGruff
If you switch from Windows to Linux it's unlikely that you'll have to recode anything - but you might.
For example, Windows recognises \ and / as a path separator but (I think) you'd have to change any backslashes to forward slashes for Linux.
There's a minor issue with the fopen() function - see:
http://uk2.php.net/manual/en/function.fopen.php
AFAIK, differences are all pretty minor stuff like this relating to file systems - as you'd expect really. The php manual and user comments are worth a read (user comments may not always be correct, although the bad posts are usually picked up by someone).
Re: php in linux platform
Posted: Thu Aug 28, 2003 8:37 pm
by m3rajk
irvine wrote:hi,
usually we use the php with the windows platform, then is it possible the php intergrated with linux platform?
how about the code in windows platform , is it need to change some code or re - code it???
thank you.......
paths in posix are all /
ulike windows, you only need \n not \r\n but it'll honor that. umm... you can modify it to accept \ but otherwise it's only beneficial, the environment has no inherint memory leaks
Posted: Thu Aug 28, 2003 10:00 pm
by McGruff
Anyone else got some info on cross-platform issues? Might be good to build a definitive tutorial from this thread.