Slackware - ARM This forum is for the discussion of Slackware ARM. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-21-2022, 04:41 AM
|
#1
|
Senior Member
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, FreeDOS, Illumos, NetBSD, OpenBSD, DragonflyBSD, Replicant, Plan9, Inferno, HURD
Posts: 1,228
|
SlackwareARM 15 PHP xmlrpc mismatch
My SlackwareARM 15 server (up-to-date minutes ago) says the below trying to run PHP stuff (GNU Social.)
Code:
PHP Warning: PHP Startup: xmlrpc: Unable to initialize module
Module compiled with module API=20190902
PHP compiled with module API=20210902
These options need to match
I want to upgrade it to 64-bit so am hoping for a stable release...
|
|
|
04-22-2022, 07:11 AM
|
#2
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,645
|
Quote:
Originally Posted by dchmelik
My SlackwareARM 15 server (up-to-date minutes ago) says the below trying to run PHP stuff (GNU Social.)
Code:
PHP Warning: PHP Startup: xmlrpc: Unable to initialize module
Module compiled with module API=20190902
PHP compiled with module API=20210902
These options need to match
|
What does this report?
and
Code:
php -i | egrep -i '(extension|API)'
Quote:
I want to upgrade it to 64-bit so am hoping for a stable release...
|
You'll have to wait a bit for 15.1! However, -current AArch64 will be quite stable. If you've built a lot of local packages from source a stable release definitely makes sense, but if not -current is typically a stable forward-moving OS.
|
|
|
04-22-2022, 07:39 AM
|
#3
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,645
|
I think the issue is that you have the php package from /extra installed.
Try
Code:
removepkg php80 php81
upgradepkg --install-new --reinstall slackwarearm-15.0/patches/packages/php-*z
and restart httpd too if you're using it.
Code:
/etc/rc.d/rc.httpd restart
Last edited by drmozes; 04-22-2022 at 07:49 AM.
|
|
1 members found this post helpful.
|
04-22-2022, 09:18 AM
|
#4
|
Senior Member
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, FreeDOS, Illumos, NetBSD, OpenBSD, DragonflyBSD, Replicant, Plan9, Inferno, HURD
Posts: 1,228
Original Poster
|
Fixed it for now but I thought I needed PHP8 for something...
|
|
|
04-22-2022, 01:15 PM
|
#5
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,645
|
Quote:
Originally Posted by dchmelik
Fixed it for now but I thought I needed PHP8 for something...
|
I uploaded a new version of the php package anyway since I built it for debugging purposes.
If you want to use the newer PHP releases (8.0/8.1) you need to edit httpd's php module loader config -- the instructions are within the changelog for the last batch.
If you're using slackpkg to update, you'll want to configure it not to install these packages from /extra otherwise this will happen again.
There's probably a regex you can use to prevent it - I don't use slackpkg but I'm sure someone else can jump in who knows how to configure it if you need a hand.
|
|
1 members found this post helpful.
|
04-22-2022, 03:47 PM
|
#6
|
Slackware Contributor
Registered: May 2015
Distribution: Slackware
Posts: 1,926
|
It's pretty straight forward to black list all the php packages with:
Or just php80 / 81:
Or both php 8 but not the php 7 package:
Or only php 7:
Just drop whichever you need into /etc/slackpkg/blacklist. Then run slackpkg update.
|
|
2 members found this post helpful.
|
All times are GMT -5. The time now is 01:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|