Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old May 24th, 2002, 09:17 AM
bnow's Avatar
bnow bnow is offline
Charge into the Knight
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Orlando, FL
Posts: 276 bnow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Question Question about moving from Windows to Linux

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

Reply With Quote
  #2  
Old May 24th, 2002, 10:54 AM
Tuxie Tuxie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Inside the GNU/Hurd kernel
Posts: 492 Tuxie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 1 m
Reputation Power: 7
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.

Reply With Quote
  #3  
Old May 24th, 2002, 04:51 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Question about moving from Windows to Linux


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway