Date: Fri, 9 Nov 2018 08:20:51 -0800 From: Ultima <ultima@ultimasbox.com> To: Odhiambo Washington <odhiambo@gmail.com> Cc: questions <questions@freebsd.org> Subject: Re: php70|php71 problems Message-ID: <CANJ8om5UBVckK3vf2_dt02q0M9S1KjXwoebdgstpD1X4DZqYwg@mail.gmail.com> In-Reply-To: <CAAdA2WOKyEnn0qJS0BSMow5QExOJChkhOAZoVFMWVUdybyL6yw@mail.gmail.com> References: <CAAdA2WOKyEnn0qJS0BSMow5QExOJChkhOAZoVFMWVUdybyL6yw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Odhiambo, This is probably related to linking to the other version of PHP and not all packages were rebuild for it. Anytime you make a major change like this you should also get in the habit of rebuilding your entire ports tree and force reinstalling all packages. If you do not do this, then you will likely run into these problems with other random ports as you are here. Best regards, Richard Gallamore On Fri, Nov 9, 2018, 4:34 AM Odhiambo Washington <odhiambo@gmail.com wrote: > I have scratched my head for two days trying to figure out this. > I had it with php70, which I uninstalled and replaced with php71 and now > the problem is worse, because apache24 still is trying to load modules from > the uninstalled php70. > > /usr/local/lib/php/20151012/ refers to php70 modules - which I already > uninstalled. > /usr/local/lib/php/20160303/ refers to php71 modules - which is what I > want to settle on. > > I am now literally stuck. > Why is it still looking for modules from php70?? > And why is mysql.so & pdo_mysql.so having this issue of "Unknown on line > 0"?? > > Ayudame, por favor :-) > > [09-Nov-2018 09:27:07 UTC] PHP Warning: Module 'pdo_mysql' already loaded > in Unknown on line 0 > [09-Nov-2018 09:28:59 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20151012/pdo_mysql.so' - Cannot open > "/usr/local/lib/php/20151012/pdo_mysql.so" in Unknown on line 0 > [09-Nov-2018 10:03:49 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20151012/mysql.so' - Cannot open > "/usr/local/lib/php/20151012/mysql.so" in Unknown on line 0 > [09-Nov-2018 10:05:05 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20151012/mysql.so' - Cannot open > "/usr/local/lib/php/20151012/mysql.so" in Unknown on line 0 > [09-Nov-2018 10:05:06 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20151012/mysql.so' - Cannot open > "/usr/local/lib/php/20151012/mysql.so" in Unknown on line 0 > [09-Nov-2018 10:05:07 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20151012/mysql.so' - Cannot open > "/usr/local/lib/php/20151012/mysql.so" in Unknown on line 0 > [09-Nov-2018 10:05:14 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20151012/mysql.so' - Cannot open > "/usr/local/lib/php/20151012/mysql.so" in Unknown on line 0 > [09-Nov-2018 10:05:44 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20151012/mysql.so' - Cannot open > "/usr/local/lib/php/20151012/mysql.so" in Unknown on line 0 > [09-Nov-2018 10:09:41 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20151012/mysql.so' - Cannot open > "/usr/local/lib/php/20151012/mysql.so" in Unknown on line 0 > [09-Nov-2018 12:01:16 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20160303/mysql.so' - Cannot open > "/usr/local/lib/php/20160303/mysql.so" in Unknown on line 0 > [09-Nov-2018 12:03:17 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20160303/mysql.so' - Cannot open > "/usr/local/lib/php/20160303/mysql.so" in Unknown on line 0 > [09-Nov-2018 12:06:30 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20160303/mysql.so' - Cannot open > "/usr/local/lib/php/20160303/mysql.so" in Unknown on line 0 > [09-Nov-2018 12:08:10 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20160303/mysql.so' - Cannot open > "/usr/local/lib/php/20160303/mysql.so" in Unknown on line 0 > [09-Nov-2018 12:15:45 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20160303/mysql.so' - Cannot open > "/usr/local/lib/php/20160303/mysql.so" in Unknown on line 0 > [09-Nov-2018 12:16:46 UTC] PHP Warning: PHP Startup: Unable to load > dynamic library '/usr/local/lib/php/20160303/mysql.so' - Cannot open > "/usr/local/lib/php/20160303/mysql.so" in Unknown on line 0 > > > How do I resolve this?? > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254 7 3200 0004/+254 7 2274 3223 > "Oh, the cruft." > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANJ8om5UBVckK3vf2_dt02q0M9S1KjXwoebdgstpD1X4DZqYwg>