The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/usr/lib/

Discussion in 'General Discussion' started by survivor08, Feb 9, 2010.

  1. survivor08

    survivor08 Member

    Joined:
    Feb 9, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I am learning PHP and I want to find the php.ini file. According to my phpinfo.php it is located in "/usr/lib/" and for the life of me, I cannot figure out where this is. I assumed it would be in "File Manager" but there is no folder "usr" or "lib".

    I am sure it is something easy and obvious, but I need help. Thanks!
     
  2. nimrodx

    nimrodx Active Member

    Joined:
    Jul 24, 2005
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Edinburgh, Scotland
    This will only be available to the server admins or 'root' user.

    I'm guessing you're an end user? You should speak to your hosting provider.
     
  3. survivor08

    survivor08 Member

    Joined:
    Feb 9, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I buy server space from Blackwire Hosting. So then I suppose I dont need to know how to edit the php.ini file then?

    Thanks for such a prompt reply :)
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:

    You won't find system files via cPanel File Manager, you'll need root shell access. You should be able to locate your php.ini with this command:

    php -i |grep php.ini

    If you have root access and new and want an easy way to get to system files sans the command line, you might like this WHM addon, CSE:
    ConfigServer Explorer

    Of course, you'll need root shell access to install it.
     
  5. survivor08

    survivor08 Member

    Joined:
    Feb 9, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    How do I determine if I have root shell access?
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Can you login to WHM using the username root?
     
  7. survivor08

    survivor08 Member

    Joined:
    Feb 9, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    First, let me thank you for your willingness to help me and second, I thank you for your patience. The only way I will learn is to continue to ask so here goes......what is "WHM"? Is it "web host manager"? If it is and its diff from CPanel then the answer is "no" unless it is "yes" and I just didnt know I could....:D

    Let me tell you what I know I can do: I can go to CPanel and I have "CPanel Accelerated"
    version 11.24.5-STABLE
    cPanel Build 38506
    Apache version 1.3.41 (Unix)
    PHP version 5.2.11
    MySQL version 4.1.22-standard
    Architecture i686
    Operating system Linux
    Shared Ip Address 65.98.60.90
    Path to sendmail /usr/sbin/sendmail
    Path to PERL /usr/bin/perl
    Kernel version 2.6.24.2.dn.p4
    cPanel Pro 1.0 (RC1)


    I have not attempted to learn what "Apache" is, but I have successfully created a few data bases and installed a blog and a forum.

    I know how to use all the "mail" programs and I have successfully created a form that goes to the cgi-bin, then e-mails the results.

    And that is as far as I have gotten. I am "tackling" this stuff one thing at the time, and right now I am "tackling" PHP. :cool:

    So What I guess I am saying is I probably wont know abbreviations.....I am sorry to be a pain, but I so appreciate the help!:eek:
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Well I'm happy to help where I can, N/P (no problem) there. ;)


    But, your host you pay for the services is really the one to be asking for assistance. cPanel Docs is also another area you might want to poke around in a bit. cPanel/WHM Documentation Intro

    Yes, WHM means WebHost Manager.

    Not sure if I'm helping at all here either by mentioning that you should be very careful with emailing scripts placed in the CGI-BIN if you're not sure of what you're doing. If the script is not secured properly you could run into problems.

    If you have a reseller account some things are on you alone to figure out in that case. But, if you only have cPanel access, then your host is the one who should be assisting you.

    Either way, lots of reading to do if you're just starting out and no one can read all the manuals and documents for you, you'll need to do that yourself.

    From a quick peek at blackwire it appears they are ready for your questions with lots of help.
    /http://blackwirehosting.com/support.html

    Good luck to you.
     
  9. survivor08

    survivor08 Member

    Joined:
    Feb 9, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    You have been a very big help, thank you. I do remember reading or seeing CPanel WHM so I will go back and look for that doc. And I will go to blackwire for assistance. I didnt think about doing that.........:confused:

    Thanks again and have a great day.
     
Loading...

Share This Page