The MU forums have moved to WordPress.org

workaround for glob error on install? (2 posts)

  1. codesmith
    Inactive
    Posted 18 years ago #

    Trying to install and get:

    Fatal error: Call to undefined function: glob() in /***/wp-inst/wpmu-settings.php on line 62

    I understand this is because I'm running PHP 4.2.2 and glob was introduced in 4.3. Upgrading PHP is not an option. Is there a workaround for this? Barring that I guess I could do a search for all the glob functions and rewrite them. Are there any other 4.3 dependencies?

  2. jaseone
    Inactive
    Posted 18 years ago #

    There is a replacement for glob that is detailed here define that in one of the core WP includes and you should be good to go, just remember to add it back in if you upgrade WPMU and are still on the older version of PHP.

    However I don't know if there are any other compatibility problems.

About this Topic

  • Started 18 years ago by codesmith
  • Latest reply from jaseone