[Pmwiki-users] Problems with PHP 5.0

Patrick R. Michaud pmichaud
Mon Sep 6 07:45:50 CDT 2004


On Mon, Sep 06, 2004 at 08:12:28PM +1200, Robin wrote:
> Is PmWiki supposed to work with PHP 5 yet? 


Yes, PmWiki is supposed to work with PHP 5, and has worked with PHP 5
in a number of installations.

> If so, I get:
> Warning: preg_match: internal pcre_fullinfo() error -3 
> in /var/www/html/wiki/pmwiki.php on line 222
> [...]

Hmm.  I suspect a problem with the PHP5 build, especially with
respect to the pcre library.  The call that it's complaining about
is very straightforward:

    SDV($EnablePathInfo,!preg_match("/^cgi/",php_sapi_name()));

...which is just about as simple a call to preg_match as one could
construct.

Pm



More information about the pmwiki-users mailing list