WordPress.org

Support

Support » Plugins and Hacks » WP Minify » [Resolved] [Plugin: WP Minify] PHP Fatal error – Undefined function curl_init()

[Resolved] [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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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 ‘[Resolved] [Plugin: WP Minify] PHP Fatal error – Undefined function curl_init()’ is closed to new replies.
Skip to toolbar