Solved. 1 - I had to put "extension=libowphp.so" in /etc/php5/apache2/php.ini in the dynamic extensions section 2 - Reset enable-dl to false in the same php.ini. 3 - Remove 'load_php_OW.php' from my code.
On 03/19/2011 09:31 PM, William Brown wrote: > Found a partial answer to my dl() problem. Ubuntu 10.10 uses PHP5.3 and > has removed dl() from "SAPIs". Don't know what that means yet other than > it doesn't work with Apache2. I am looking for a solution but if you > have any suggestions please tell me. This issue needs to be resolved in > the owfs code for the future. > > > On 03/18/2011 12:47 AM, William Brown wrote: >> I have had this working since 2009. Only after install from scratch does >> it not work. Do you want ALL the code? >> >> On 03/17/2011 11:21 PM, Roberto Spadim wrote: >>> send your code >>> >>> 2011/3/18 William Brown<[email protected]>: >>>> I installed Ubuntu 10.10 and owfs 2.8;7 from scratch. Now my web page >>>> doesn't work unless I remove the line >>>> >>>> require (load_php_OW.php) >>>> >>>> Then the page works ok without any 1wire information. >>>> >>>> I also got avahi and bonjour modules missing messages. >>>> Mar 17 21:12:38 Irry OWFS[28024]: CONNECT: >>>> ow_avahi_link.c:OW_Load_avahi_library(99) No Avahi support. Library >>>> libavahi-common couldn't be loaded. >>>> Mar 17 21:12:38 Irry OWFS[28024]: CONNECT: >>>> ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf/Bonjour is disabled >>>> since >>>> dnssd library isn't found >>>> >>>> I created symlinks >>>> /usr/lib/lidns.so for /usr/lib/libdns.so.64 and >>>> /usr/lib/libavahi-common.so for /usr/lib/libavahi-common.so.3, >>>> >>>> I changed php.ini so now enable_dl=1. >>>> Owhttpd works and shows my devices. >>>> What else can I check to find my error? >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> Colocation vs. Managed Hosting >>>> A question and answer guide to determining the best fit >>>> for your organization - today and in the future. >>>> http://p.sf.net/sfu/internap-sfd2d >>>> _______________________________________________ >>>> Owfs-developers mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers >>>> >>>> >>> >> >> ------------------------------------------------------------------------------ >> Colocation vs. Managed Hosting >> A question and answer guide to determining the best fit >> for your organization - today and in the future. >> http://p.sf.net/sfu/internap-sfd2d >> >> >> _______________________________________________ >> Owfs-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Owfs-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/owfs-developers > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
