php --with apache error log

Kevin Kinsey kdk at daleco.biz
Tue Sep 6 15:24:32 PDT 2005


Vizion wrote:

>Hi
>It seems that php is looking for a directory 20041030-debug when there is only 
>a directory 20041030.
>
>Here is the output from http-error.log
>
>Is this a config error?
>
>Does anyone know foe to fix the problem?
>
>Help appreciated
>
>david
>----
>Quote from log:
>-----------------
>[Tue Sep 06 14:26:20 2005] [notice] Apache/2.0.54 (FreeBSD) PHP/5.0.4 
>configured -- resuming normal operations
>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
>'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open 
>"/usr/local/lib/php/20041030-debug/pcre.so"
>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
>'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open 
>  
>
<snip>

Try adjusting the value for "extension_dir" in the appropriate
php.ini file.

Note that this has moved, I think, from /usr/local/lib/php/php.ini
to /usr/local/etc/php.ini for most installations.

HTH,

Kevin Kinsey


More information about the freebsd-questions mailing list