D
D
Dmitry Bay2015-02-16 22:20:20
Apache HTTP Server
Dmitry Bay, 2015-02-16 22:20:20

Where to find php.ini in cent os?

Given: vps on centos , default vesta panel with everything that comes with it.
+ I'm a little more noob in administration.
Initially, php.ini in centos is stored in /etc/php.ini, right? I set the necessary settings there, including the maximum script execution time and the timezone parameter.
Of course, I updated apache with a request - service httpd restart .
But in the output of phpinfo() there is a line:
Loaded Configuration File /etc/php.ini Does
it refer to the current php ini?
But it contains completely different data compared to what I saved in /etc/php.ini
max_execution_time 30 30
So the question is, where to dig php.ini ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Alyakimov, 2015-02-16
@kawabanga

/etc/php.ini - main config
/etc/php.d - module configs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question