Loading...

Knowledge Base

Powered By Network Solutions: Scripting - How to Disable PHP Functions

Learn how to turn off PHP functions step-by-step through your Account Manager for improved website security. This guide walks you through accessing your php.ini file, modifying the disable_functions directive, and understanding the impact on WordPress and other PHP-based platforms.

This article will discuss the step-by-step process for turning off PHP functions.

  1. Log in to https://www.networksolutions.com/my-account/login.
  2. On the left pane, click on Hosting.

  3. Under Hosting Packages, click the MANAGE button next to the package you want to access.


  4. Under Scripting Configuration, click on the Manage PHP Scripting.

  5. Under PHP Scripting Config, access the Manage php.ini.

  6. Locate the following block of code within your php.ini file:

  7. After 'disable_functions = ', write out the functions you want to disable (exec, passthru, popen). Here is a list of functions that are commonly turned off as a means to improve security:
    • exec
    • passthru
    • shell_exec
    • system
    • proc_open
    • popen
    • curl_exec
    • curl_multi_exec
    • parse_ini_file
    • show_source

  8. Once done, click the Save button.

Important: Some themes, plugins, and features for popular PHP-based website builders (such as WordPress) may rely on one or more functions. Turning off these functions may cause certain features to stop working (notably, some WordPress automatic backup plugins).

 

 

 

 

Did you find this article helpful?

 
* Your feedback is too short

Loading...