Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-28-2010, 11:27 AM   #1
LQ Newbie
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Cant access php.ini file, is there some cPanel restrictions?

I am having a really annoying problem. I have a VPS service, not shared.

I am trying to access my php.ini file though PuTTy and the location is /usr/local/lib/php.ini

I do the following command

pico /usr/local/lib/php.ini

the file seems to be empty, all that is brought up:


Any ideas, I really need to access it and change some settings!!
Old 02-28-2010, 11:33 AM   #2
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
You could make sure that isn't the only php.ini file on the system. Some systems will not use the /usr/local/lib/php.ini and instead use something like /etc/php/php-apache/php.ini. To find out try the following:
find -type f -name 'php.ini'



P.S. cPanel does things really strangely.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Package for php.ini file bkcreddy17 Programming 3 05-30-2008 05:45 PM
PHP won't recognize my Configuration File (php.ini) path kriezo Programming 4 02-14-2008 03:31 AM
editing a php.ini file ilustrate Linux - General 4 07-13-2005 01:16 PM
Question about php.ini file. jon_k Linux - Software 0 08-07-2004 06:52 AM
php.ini and file uploads gblue Linux - Newbie 0 02-29-2004 06:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration