Hello, I recently upgraded to Lion and Drupal is no longer working.

I see several of these warnings at the top of the page:

Warning: preg_match() [function.preg-match]: Compilation failed: unknown option bit(s) set at offset 0 in /Library/WebServer/Documents/drupalsite/includes/bootstrap.inc on line 1365

Further, when I go into the installer, the form elements are there (like a radio button) but the form labels next to the button is blank, so I have no idea what I'm clicking.

phpinfo() reports:
PHP Version 5.3.4
PCRE: 8.02 2010-03-19

The PCRE thing is kind of strange. I suspect that Lion installed a version of PHP and it jacked up a custom compile of PHP I had. The flag for PCRE is '--with-pcre-regex=/src/pcre/pcre-local/usr/local' and in that directory, the binaries report 8.11.

Before I go recompiling, is my suspicion correct or are others seeing the same thing?

Thanks!

Comments

Snap E Tom’s picture

Ah, yes. Looks like my custom PHP install is hosed. The default PHP install works fine.