LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cant access php.ini file, is there some cPanel restrictions? (https://www.linuxquestions.org/questions/linux-newbie-8/cant-access-php-ini-file-is-there-some-cpanel-restrictions-792138/)

condoace 02-28-2010 10:27 AM

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

alunduil 02-28-2010 10:33 AM

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.


All times are GMT -5. The time now is 09:21 PM.