Title: [Plugin: WP Minify] PHP Fatal error &#8211; Undefined function curl_init()
Last modified: August 20, 2016

---

# [Plugin: WP Minify] PHP Fatal error – Undefined function curl_init()

 *  Resolved [arachma1](https://wordpress.org/support/users/arachma1/)
 * (@arachma1)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-minify-php-fatal-error-undefined-function-curl_init/)
 * I am not sure how to troubleshoot this problem.
 * I just got blank screen after I activated “WP Minify” and my Nginx error log 
   just shows something like below:
 * [error] 27538#0: *359 FastCGI sent in stderr: “PHP Fatal error: Call to undefined
   function curl_init() in /AAA/BBB/CCC/wp-content/plugins/wp-minify/wp-minify.php
   on line 391
    PHP Fatal error: Call to a member function get() on a non-object
   in /AAA/BBB/CCC/wp-includes/cache.php on line 112″ while reading response header
   from upstream, client: XXX.XXX.XXX.XXX, server: myweblog.info, request: “GET /
   HTTP/1.1”, upstream: “fastcgi://unix:/PPP/QQQ.sock:”, host: “myweblog.info”
 * WordPress version 3.3 (fresh installed)
    Database: SQLite3 (with PDO SQLite plugins
   v2.7.0) Web Server: Nginx 1.1.11 (with fastcgi via php5-fpm v5.3.8)
 * Everything is back to normal after deactivating “WP Minify”.
 * [http://wordpress.org/extend/plugins/wp-minify/](http://wordpress.org/extend/plugins/wp-minify/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [arachma1](https://wordpress.org/support/users/arachma1/)
 * (@arachma1)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-minify-php-fatal-error-undefined-function-curl_init/#post-2474964)
 * I just tried to activate and restore the default settings, and it works.
 * After enabling each of the settings as I used before, one by one, the problem
   only happens when I ticked on **Use “pretty” URL”** box. That is 100% reproducible.
 *  Thread Starter [arachma1](https://wordpress.org/support/users/arachma1/)
 * (@arachma1)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-minify-php-fatal-error-undefined-function-curl_init/#post-2475029)
 * Silly me!
 * It is quite obvious from the error message that there is no curl_init() function
   on my setup.
 * After installing php5-curl module and restarted php5-fpm, WP Minify works fine
   with **Use “pretty” URL” box** thicked.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WP Minify] PHP Fatal error – Undefined function curl_init()’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-minify.svg)
 * [WP Minify](https://wordpress.org/plugins/wp-minify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-minify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-minify/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [arachma1](https://wordpress.org/support/users/arachma1/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-minify-php-fatal-error-undefined-function-curl_init/#post-2475029)
 * Status: resolved