PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old March 30th, 2004, 10:27 PM
Alicia Alicia is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 116 Alicia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 27 m 49 sec
Reputation Power: 5
editing php ini file

Hi guys,

my company currently is using an unmanaged dedicated server and i wish to edit the php.ini and httdp.conf file by myself... how can i do that ??

actually i able to ssh to the server... but i just dunno how to edit the file i found.. is it i need to download the file and upload it back after edited by using ssh ??? if that is the way, how could i download it then ?? is there any shell command i can use to download or upload the file to server ??

because when i use ftp programme, i just cant get to the directory i wanna go.. or can i edit the file directly from the ssh programme ?? i am using putty,,

please advise.

Reply With Quote
  #2  
Old March 31st, 2004, 07:41 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
You should be able to use vi or pico or nano over an ssh session to edit the file. Vi's the best of these editors, but pico and nano (they're the same thing, the best I can tell) are much easier to use because they give you editing instructions onscreen. Vi's stronger, but a little arcane. Try typing "pico <filename>." If that fails, try "nano <filename>." And if that fails, try "vi <filename>." These are all just plain text editors. You might want to test whichever editor you use on an unimportant file before opening a conf file and potentially screwing things up.
__________________
Please don't PM me asking for solutions outside the scope of a thread.
Keeping all responses in a thread stands to help others who come along later,
which is after all what this forum's all about.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > editing php ini file


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 5 hosted by Hostway