• Resolved danroc

    (@danroc)


    Hi, I am using WP 2.8.2 and I get a

    Fatal error: Call to undefined function: preg_match() in /home/xxxxxxxxxx/public_html/xxxxxx/wp-settings.php on line 64

    Line 64 says

    // Fix for IIS when running with PHP ISAPI
    if ( empty( $_SERVER['REQUEST_URI'] ) || ( php_sapi_name() != 'cgi-fcgi' && preg_match( '/^Microsoft-IIS\//', $_SERVER['SERVER_SOFTWARE'] ) ) ) {

    I really don’t know what could be happening as everything was working ok.

    Thank you
    Danroc

  • The topic ‘Fatal Error preg_match() in wp-settings.php using WP 2.8.2’ is closed to new replies.