LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 02-28-2010, 10:27 AM   #1
condoace
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:

date.timezone="America/Denver".

Any ideas, I really need to access it and change some settings!!
 
Old 02-28-2010, 10:33 AM   #2
alunduil
Member
 
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:
Code:
find -type f -name 'php.ini'
.

Regards,

Alunduil

P.S. cPanel does things really strangely.
 
  


Reply


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 04:45 PM
PHP won't recognize my Configuration File (php.ini) path kriezo Programming 4 02-14-2008 02:31 AM
editing a php.ini file ilustrate Linux - General 4 07-13-2005 12:16 PM
Question about php.ini file. jon_k Linux - Software 0 08-07-2004 05:52 AM
php.ini and file uploads gblue Linux - Newbie 0 02-29-2004 05:28 PM


All times are GMT -5. The time now is 06:05 PM.

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