PHP errors specific to Fedora

foz at techville.org foz at techville.org
Wed May 5 16:12:31 UTC 2004


> Hi.  I was wondering if anyone was familiar with the differences between
> Apache and PHP in Red Hat 8.0 and those same packages in Fedora Core 1.
>   Something seems to have changed, because I'm phasing out a RH8 web
> server and replacing it with FC1, but on the new server I get an error
> on one of my PHP pages.  It looks like this:
>
>   Warning: preg_match() expects parameter 2 to be string, array given in
> /var/www/squirrelmail-1.4.2/plugins/vacation/vacation.php on line 33

Checking the PHP site, there was a change to preg_match from 4.2 -> 4.3 so
I'll take a guess that function needs to be edited in vacation.php.  I may
be wrong though.

Ron





More information about the fedora-list mailing list