Community Forums
Connect with us on LinkedIn
Community Notice
  
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Feb 2010
    Posts
    5

    Unhappy /usr/lib/

    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. #2
    Member
    Join Date
    Jul 2005
    Location
    Edinburgh, Scotland
    Posts
    43

    Default

    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. #3
    Member
    Join Date
    Feb 2010
    Posts
    5

    Default

    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. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,159
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Quote Originally Posted by survivor08 View Post
    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

    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. #5
    Member
    Join Date
    Feb 2010
    Posts
    5

    Default

    How do I determine if I have root shell access?

  6. #6
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,159
    cPanel/Enkompass Access Level

    Root Administrator

    Question

    Can you login to WHM using the username root?

  7. #7
    Member
    Join Date
    Feb 2010
    Posts
    5

    Default

    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....

    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.

    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!

  8. #8
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,159
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    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. #9
    Member
    Join Date
    Feb 2010
    Posts
    5

    Default

    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.........

    Thanks again and have a great day.

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 07-07-2009, 03:08 PM
  2. /usr/lib/rpm/rpmq -q frontpage
    By nitaish in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-26-2008, 06:45 AM
  3. cron /usr/lib/sa/sa1 1 1
    By compunet2 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 02-21-2004, 05:11 PM
  4. /usr/lib/rpm/rpmv -V --all what is this command?
    By hkewell in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-08-2004, 06:43 PM
  5. /usr/lib/sa/sa1 1 1
    By remal in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-02-2003, 02:32 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube