System () disabled error message

I copied the Wordpress website to the correct domain, but when I view it, the following error message appears:

Warning: system() has been disabled for security reasons in /home/paddocch/public_html/wildlionmedia.co.uk/wp-includes/cron.php on line 262 

http://www.wildlionmedia.co.uk/

Any idea how to solve it?

+5
php wordpress
source share
1 answer

The system() function is used to allow PHP to execute commands at the command prompt. Your new hosting service has disabled this feature because it could be a vulnerability.

You want to check your php.ini and find an entry called disable_functions . There is a list of features that have been disabled. You can remove everything you want from the list (including the system() function.

If you do not have access to your php.ini , you need to talk to your hosting provider and ask them to enable this function (or disable the restriction).

For more information - http://www.php.net/manual/en/ini.core.php#ini.disable-functions

+8
source share

All Articles