php:disabling_dangerous_php_functions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
php:disabling_dangerous_php_functions [2016/10/14 23:13] – peter | php:disabling_dangerous_php_functions [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 61: | Line 61: | ||
</ | </ | ||
- | You'd get "Configuration File (php.ini) Path => /etc/php.ini" or any other different location, such as /usr/local/lib/php.ini. | + | Returns something like |
+ | |||
+ | < | ||
+ | Configuration File (php.ini) Path => /etc/php/7.0/cli | ||
+ | Loaded Configuration File => /etc/php/7.0/cli/php.ini | ||
+ | </ | ||
Now edit the file using your favourite editor : | Now edit the file using your favourite editor : | ||
<code bash> | <code bash> | ||
- | vi / | + | vi /etc/ |
</ | </ | ||
Search for the following text within that configuration file & modify **disable_functions = "" | Search for the following text within that configuration file & modify **disable_functions = "" | ||
- | <file php / | + | <file php /etc/ |
disable_functions = " | disable_functions = " | ||
</ | </ |
php/disabling_dangerous_php_functions.1476486826.txt.gz · Last modified: 2020/07/15 09:30 (external edit)