How to disable PHP functions?

P. For security reasons I need to disable some PHP functions. How to achieve it?

R. You must edit the php.ini file, find the disable_functions directive and specify the names of the functions separated by commas.

disable_functions = phpinfo,php_uname,phpversion,get_loaded_extensions

Lecturas recomendadas

The tutorials here on LibreByte are provided under a free software licence. if you like my work you should consider:
Buy a Hosting/VPS or Dedicated Server at MCKHost

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.