[SOLVED] Nextcloud vs. -current = broken after PHP upgrade
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I upgraded -current on my NextCloud test server this morning, and of course immediately got an error. It seems that NC17 will not work with PHP > 7.3 and I now have 7.4 installed. NC18 should fix that, but the stable version of that won't be available until mid-January at the earliest, so I need to revert PHP back to the last 7.3 build, but have never done that before. What is the easiest way to get Slackpkg to back up to the older package? I suspect I need to shut down Apache, uninstall the 7.4 package and then manually install whatever was the last 7.3 build. But then how do I prevent it from automagically upgrading later, before I am ready for it?
I upgraded -current on my NextCloud test server this morning, and of course immediately got an error. It seems that NC17 will not work with PHP > 7.3 and I now have 7.4 installed. NC18 should fix that, but the stable version of that won't be available until mid-January at the earliest, so I need to revert PHP back to the last 7.3 build, but have never done that before. What is the easiest way to get Slackpkg to back up to the older package? I suspect I need to shut down Apache, uninstall the 7.4 package and then manually install whatever was the last 7.3 build. But then how do I prevent it from automagically upgrading later, before I am ready for it?
I had to do exactly the same thing. Go to the cumulative archive https://slackware.uk/cumulative/slac...slackware64/n/ . Grab the PHP 7.3.12 slackware package, and do an "upgradepkg php-7.3.12-x86_64-1.txz", restart Apache with "/etc/rc.d/rc.httpd restart" and you should be off and running.
Of course I'm presuming you are running slackware64-current, if not just navigate down to the regular slackware-current directory in the cumulative archive.
I had to do exactly the same thing. Go to the cumulative archive https://slackware.uk/cumulative/slac...slackware64/n/ . Grab the PHP 7.3.12 slackware package, and do an "upgradepkg php-7.3.12-x86_64-1.txz", restart Apache with "/etc/rc.d/rc.httpd restart" and you should be off and running.
Of course I'm presuming you are running slackware64-current, if not just navigate down to the regular slackware-current directory in the cumulative archive.
That solved it. Thank you for the quick response. I just wish that installing a pg_pdo was that easy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.