I am trying to get a Gallery2 installation running on my (upgraded) FreeBSD 8.1 machine. It used to be FreeBSD 6.2 and Gallery2 used to work there. My problem hopefully is not very Gallery2-related though.
What I am experiencing right now (besides other things which are - so I hope - unrelated) is that Apache (2.2.15) somewhen (when I (try to) navigate in Gallery2) tries to load a module called
pcre.so. It seems to be looking for this module in
/usr/local/lib/php/20090626-debug. Now that path indeed does not exist (anymore?). There is no (i.e. should not be) any debug build of php on the machine.
Here is the log entry from
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626-debug/pcre.so' - Cannot open "/usr/local/lib/php/20090626-debug/pcre.so"
I am wondering where that path comes from... There is the directory
/usr/local/lib/php/20090626/ for example but there is no
pcre.so in it either. Also the port
devel/php5-pcre was removed (apparently because pcre is in
I did build PHP in debug mode first (by mistake). But I have removed and reinstalled PHP (and all extensions) and even Apache in the meantime - still the same log entry keeps popping up.
There is a second type of log entry I cannot explain (from
<br /> <b>Warning</b>: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
But I cannot find anything referencing/using
magic_quotes_gpc (e.g. it is not in
/usr/local/etc/php.ini or more precise it is commented out there).
Can anybody provide a hint why Apache could be looking for a (deprecated) module in a deprecated/non existent path?