RE: php --with apache error log
Looks like you are mixing debug and non-debug builds of php. Do a port update to make sure your makefile is clean. Deinstall php and all of the modules. Reinstall php Reinstall the modules. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vizion Sent: Wednesday, September 07, 2005 10:32 AM To: Kevin Kinsey Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: Re: php --with apache error log On Wednesday 07 September 2005 08:54, the author Kevin Kinsey contributed to the dialogue on- Re: php --with apache error log: >Vizion wrote: >>I tried changing to : >>extension_dir = //usr/local/lib/php/20041030 >>but that made no difference --still got the same error: >>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 >>"/usr/local/lib/php/20041030-debug/xml.so" >> >>Puzzled >> >>david > >I suspect that a call to phpinfo() would reveal that you >built a debug build? Never having done this myself, I >can't say exactly what you'd want to do to fix it; however, >an obvious kluge would be to create the directory >it seems to want to have, and copy the object files to it. > >Kevin Kinsey I am sure you are right -- maybe there is something odd in the Makefile.. I wonder if the debug build version of xml.so and pcre.so are identical? Umph.. I will change the directories,as you suggest.. and see what happens - in the meantime I will make a bug report david -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php --with apache error log
On Wednesday 07 September 2005 08:54, the author Kevin Kinsey contributed to the dialogue on- Re: php --with apache error log: >Vizion wrote: >>I tried changing to : >>extension_dir = //usr/local/lib/php/20041030 >>but that made no difference --still got the same error: >>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 >>"/usr/local/lib/php/20041030-debug/xml.so" >> >>Puzzled >> >>david > >I suspect that a call to phpinfo() would reveal that you >built a debug build? Never having done this myself, I >can't say exactly what you'd want to do to fix it; however, >an obvious kluge would be to create the directory >it seems to want to have, and copy the object files to it. > >Kevin Kinsey I am sure you are right -- maybe there is something odd in the Makefile.. I wonder if the debug build version of xml.so and pcre.so are identical? Umph.. I will change the directories,as you suggest.. and see what happens - in the meantime I will make a bug report david -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php --with apache error log
Vizion wrote: I tried changing to : extension_dir = //usr/local/lib/php/20041030 but that made no difference --still got the same error: 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 "/usr/local/lib/php/20041030-debug/xml.so" Puzzled david I suspect that a call to phpinfo() would reveal that you built a debug build? Never having done this myself, I can't say exactly what you'd want to do to fix it; however, an obvious kluge would be to create the directory it seems to want to have, and copy the object files to it. Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php --with apache error log
On Tuesday 06 September 2005 15:40, the author Vizion contributed to the dialogue on- Re: php --with apache error log: >On Tuesday 06 September 2005 15:22, the author Kevin Kinsey contributed to >the dialogue on- > > Re: php --with apache error log: >>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 >> >> >> >>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. > >That you very much > >The line extension dir line in the php.ini is: > >extension_dir = "./" > >What value should this have? > >How come it is looking for: >20041030-debug >in the first place when extension_dir is ./? >Where does it get that value from? > >The directory /usr/local/lib/php/20041030 > >dns1# cd /usr/local/lib/php/20041030 >dns1# ls -l >total 130 >-r--r--r-- 1 root wheel 89839 Sep 3 18:50 pcre.so >-r--r--r-- 1 root wheel 40993 Sep 3 18:51 xml.so > I tried changing to : extension_dir = //usr/local/lib/php/20041030 but that made no difference --still got the same error: 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 "/usr/local/lib/php/20041030-debug/xml.so" Puzzled david -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php --with apache error log
On Tuesday 06 September 2005 15:22, the author Kevin Kinsey contributed to the dialogue on- Re: php --with apache error log: >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 > > > >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. That you very much The line extension dir line in the php.ini is: extension_dir = "./" What value should this have? How come it is looking for: 20041030-debug in the first place when extension_dir is ./? Where does it get that value from? The directory /usr/local/lib/php/20041030 dns1# cd /usr/local/lib/php/20041030 dns1# ls -l total 130 -r--r--r-- 1 root wheel 89839 Sep 3 18:50 pcre.so -r--r--r-- 1 root wheel 40993 Sep 3 18:51 xml.so Thanks again david -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php --with apache error log
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 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"