Title: Security &#8211; Dangerous PHP Functions
Last modified: September 10, 2020

---

# Security – Dangerous PHP Functions

 *  [wpnoob2](https://wordpress.org/support/users/wpnoob2/)
 * (@wpnoob2)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/security-dangerous-php-functions/)
 * I am setting up a server with wordpress. Reading on php security there are some
   functions which are recommended to be disabled in php.ini. Example being exec(),
   curl_exec()
 * However I can see these functions are being used in the wordpress codebase (wp-
   includes folder)
 * exec() (class-snoopy.php) & curl_exec() (class-wp-http-curl.php)
 * Would this mean I have no choice but to keep this functions enabled for wp to
   work?

Viewing 1 replies (of 1 total)

 *  [Liew Cheon-Fong](https://wordpress.org/support/users/lcf/)
 * (@lcf)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/security-dangerous-php-functions/#post-13399501)
 * yes
 * also, WordPress code is secure.
    -  This reply was modified 5 years, 7 months ago by [Liew Cheon-Fong](https://wordpress.org/support/users/lcf/).

Viewing 1 replies (of 1 total)

The topic ‘Security – Dangerous PHP Functions’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 1 reply
 * 2 participants
 * Last reply from: [Liew Cheon-Fong](https://wordpress.org/support/users/lcf/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/security-dangerous-php-functions/#post-13399501)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
