|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
||||
|
||||
|
We are moving from a Windows server to a Linux box. What problems could I run into with my programmed code. I will be running PHP 4.2.1. All I am looking for is for some general information. Thanks.
__________________
Every man is a fool for at least five minutes every day; wisdom consists of not exceeding the limit.-- Elbert Hubbard |
|
#2
|
|||
|
|||
|
Are you talking about your PHP code?If so,you will maybe need to change some path (if there are any in your code) since stuff like "C:\test.test" wont work in Linux.Other than that I think it should work.Never had any problems so far with my php code on Linux <=> Windows.
|
|
#3
|
|||
|
|||
|
there is really only few differences that i know of
- on usage of the system functions system(), exec(), passthru() ... - on usage of slashes. for winxx you sometimes even need double-backslashes on php (like in c) and sometimes you get them from functions (file upload eg.) - on linux you have to deal with file and directory permissions now. this is not related to php directly, but is a UNIX thing. if you create / copy / move files in your scripts, they probably won´t work out-of-the-box. - no COM support for linux (who needs this anyway?) in general i think moving from windows to linux will make things work better. afaik php runs best and supports the most libraries on linux. yes, look out for installing the same libraries! (gd, mysql, ...)
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Question about moving from Windows to Linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|