B
B
blabs2017-01-08 00:27:33
PHP
blabs, 2017-01-08 00:27:33

Where is the php.ini file in Debian 8 ISP Manager 5 lite OS?

Where is the key php.ini file where limits are set in Debian 8 ISP Manager 5 lite OS?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Sokolov, 2017-01-08
@jimquery

php can use different configuration files depending on the mode of operation.
point to the config used in the server console (ssh)
to determine the config used by apache create a php file in the root directory of the working site and write a phpinfo() call in it

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>

Open mysite.com/phpinfo.php in a browser . Search
for php.ini lines.
Other php.ini configs, for example, those used by CGI, can be searched using console utilities (also via ssh), for example, locate:
$updatedb            ## обновляем список файлов ОС
$locate php.ini     ## ищем php.ini (в ОС Ubuntu $mlocate php.ini)

A
Alexander Sisyukin, 2017-01-08
@Caarl

Again we connect to the server via ssh, go to cd /ect/php and there are your php.ini

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question