Issues related to applications and software problems
-
Windows
- Posts: 59
- Joined: 2021/06/16 13:20:01
Post
by Windows » 2022/04/14 13:24:50
hi,
I have this:
Code: Select all
[root@localhost ]# cat /etc/centos-release
CentOS Linux release 7.9.2009 (AltArch)
[root@localhost ]#
[root@localhost]# lscpu
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Model: 4
Model name: ARMv7 Processor rev 4 (v7l)
CPU max MHz: 1400.0000
CPU min MHz: 600.0000
BogoMIPS: 38.40
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
[root@localhost]#
do you know the commands for I install PHP + MySQL ?
when I try the "conventional" all fail:
viewtopic.php?f=48&t=78940
TrevorH suggest to me install OTHER OS, but...
again:
do you know the commands for I install PHP + MySQL over
this OS + this HW?
-
Windows
- Posts: 59
- Joined: 2021/06/16 13:20:01
Post
by Windows » 2022/04/14 13:30:44
also I have this:
Code: Select all
[root@localhost]# cat /etc/redhat-release;getconf LONG_BIT;
CentOS Linux release 7.9.2009 (AltArch)
32
[root@localhost]#
[root@localhost]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Mar 24 2022 14:58:21
[root@localhost]#
but me only have
LA yet I can't install MySQL + PHP... yet I don't have
MP
:'(
-
TrevorH
- Site Admin
- Posts: 33202
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
Post
by TrevorH » 2022/04/14 13:33:34
CentOS 7 contains all that you need to install a LAMP stack. But what you were attempting to do in your other thread was to install the latest versions of everything and many of those are not available for CentOS 7. Just run and you will get the CentOS 7 versions of all these:
yum install httpd php mariadb-server
-
Windows
- Posts: 59
- Joined: 2021/06/16 13:20:01
Post
by Windows » 2022/04/14 13:49:25
TrevorH wrote: ↑2022/04/14 13:33:34
...
yum install httpd php mariadb-server
thanks, when I run
Code: Select all
yum -y install php mariadb-server >> /home/detail.php
then I obtain
Code: Select all
[root@localhost ~]# php -v
PHP 5.4.16 (cli) (built: Apr 1 2020 06:27:24)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
[root@localhost ~]#
this is the LOG:
Code: Select all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.cedia.org.ec
* centos-kernel: centosc6.centos.org
* extras: centosc6.centos.org
* updates: mirror.cedia.org.ec
Resolving Dependencies
--> Running transaction check
---> Package mariadb-server.armv7hl 1:5.5.68-1.el7 will be installed
--> Processing Dependency: mariadb(armv7hl-32) = 1:5.5.68-1.el7 for package: 1:mariadb-server-5.5.68-1.el7.armv7hl
--> Processing Dependency: perl-DBI for package: 1:mariadb-server-5.5.68-1.el7.armv7hl
--> Processing Dependency: perl-DBD-MySQL for package: 1:mariadb-server-5.5.68-1.el7.armv7hl
--> Processing Dependency: perl(Data::Dumper) for package: 1:mariadb-server-5.5.68-1.el7.armv7hl
--> Processing Dependency: perl(DBI) for package: 1:mariadb-server-5.5.68-1.el7.armv7hl
--> Processing Dependency: libaio.so.1(LIBAIO_0.4) for package: 1:mariadb-server-5.5.68-1.el7.armv7hl
--> Processing Dependency: libaio.so.1(LIBAIO_0.1) for package: 1:mariadb-server-5.5.68-1.el7.armv7hl
--> Processing Dependency: libaio.so.1 for package: 1:mariadb-server-5.5.68-1.el7.armv7hl
---> Package php.armv7hl 0:5.4.16-48.el7 will be installed
--> Processing Dependency: php-common(armv7hl-32) = 5.4.16-48.el7 for package: php-5.4.16-48.el7.armv7hl
--> Processing Dependency: php-cli(armv7hl-32) = 5.4.16-48.el7 for package: php-5.4.16-48.el7.armv7hl
--> Running transaction check
---> Package libaio.armv7hl 0:0.3.109-13.el7 will be installed
---> Package mariadb.armv7hl 1:5.5.68-1.el7 will be installed
---> Package perl-DBD-MySQL.armv7hl 0:4.023-6.el7 will be installed
---> Package perl-DBI.armv7hl 0:1.627-4.el7 will be installed
--> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.armv7hl
--> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.armv7hl
---> Package perl-Data-Dumper.armv7hl 0:2.145-3.el7 will be installed
---> Package php-cli.armv7hl 0:5.4.16-48.el7 will be installed
---> Package php-common.armv7hl 0:5.4.16-48.el7 will be installed
--> Processing Dependency: libzip.so.2 for package: php-common-5.4.16-48.el7.armv7hl
--> Running transaction check
---> Package libzip.armv7hl 0:0.10.1-8.el7 will be installed
---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Running transaction check
---> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
--> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
--> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
--> Running transaction check
---> Package perl-Compress-Raw-Bzip2.armv7hl 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.armv7hl 1:2.061-4.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
mariadb-server armv7hl 1:5.5.68-1.el7 base 11 M
php armv7hl 5.4.16-48.el7 base 1.2 M
Installing for dependencies:
libaio armv7hl 0.3.109-13.el7 base 24 k
libzip armv7hl 0.10.1-8.el7 base 45 k
mariadb armv7hl 1:5.5.68-1.el7 base 8.8 M
perl-Compress-Raw-Bzip2 armv7hl 2.061-3.el7 base 31 k
perl-Compress-Raw-Zlib armv7hl 1:2.061-4.el7 base 55 k
perl-DBD-MySQL armv7hl 4.023-6.el7 base 135 k
perl-DBI armv7hl 1.627-4.el7 base 795 k
perl-Data-Dumper armv7hl 2.145-3.el7 base 46 k
perl-IO-Compress noarch 2.061-2.el7 base 260 k
perl-Net-Daemon noarch 0.48-5.el7 base 51 k
perl-PlRPC noarch 0.2020-14.el7 base 36 k
php-cli armv7hl 5.4.16-48.el7 base 2.4 M
php-common armv7hl 5.4.16-48.el7 base 553 k
Transaction Summary
================================================================================
Install 2 Packages (+13 Dependent packages)
Total download size: 25 M
Installed size: 118 M
Downloading packages:
--------------------------------------------------------------------------------
Total 873 kB/s | 25 MB 00:29
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : perl-Data-Dumper-2.145-3.el7.armv7hl 1/15
Installing : perl-Net-Daemon-0.48-5.el7.noarch 2/15
Installing : 1:perl-Compress-Raw-Zlib-2.061-4.el7.armv7hl 3/15
Installing : 1:mariadb-5.5.68-1.el7.armv7hl 4/15
Installing : libaio-0.3.109-13.el7.armv7hl 5/15
Installing : libzip-0.10.1-8.el7.armv7hl 6/15
Installing : php-common-5.4.16-48.el7.armv7hl 7/15
Installing : php-cli-5.4.16-48.el7.armv7hl 8/15
Installing : perl-Compress-Raw-Bzip2-2.061-3.el7.armv7hl 9/15
Installing : perl-IO-Compress-2.061-2.el7.noarch 10/15
Installing : perl-PlRPC-0.2020-14.el7.noarch 11/15
Installing : php-5.4.16-48.el7.armv7hl 12/15
Installing : perl-DBI-1.627-4.el7.armv7hl 13/15
Installing : perl-DBD-MySQL-4.023-6.el7.armv7hl 14/15
Installing : 1:mariadb-server-5.5.68-1.el7.armv7hl 15/15
Verifying : perl-Compress-Raw-Bzip2-2.061-3.el7.armv7hl 1/15
Verifying : 1:mariadb-server-5.5.68-1.el7.armv7hl 2/15
Verifying : libzip-0.10.1-8.el7.armv7hl 3/15
Verifying : libaio-0.3.109-13.el7.armv7hl 4/15
Verifying : perl-DBD-MySQL-4.023-6.el7.armv7hl 5/15
Verifying : php-5.4.16-48.el7.armv7hl 6/15
Verifying : php-common-5.4.16-48.el7.armv7hl 7/15
Verifying : perl-Data-Dumper-2.145-3.el7.armv7hl 8/15
Verifying : php-cli-5.4.16-48.el7.armv7hl 9/15
Verifying : perl-PlRPC-0.2020-14.el7.noarch 10/15
Verifying : 1:mariadb-5.5.68-1.el7.armv7hl 11/15
Verifying : 1:perl-Compress-Raw-Zlib-2.061-4.el7.armv7hl 12/15
Verifying : perl-Net-Daemon-0.48-5.el7.noarch 13/15
Verifying : perl-IO-Compress-2.061-2.el7.noarch 14/15
Verifying : perl-DBI-1.627-4.el7.armv7hl 15/15
Installed:
mariadb-server.armv7hl 1:5.5.68-1.el7 php.armv7hl 0:5.4.16-48.el7
Dependency Installed:
libaio.armv7hl 0:0.3.109-13.el7
libzip.armv7hl 0:0.10.1-8.el7
mariadb.armv7hl 1:5.5.68-1.el7
perl-Compress-Raw-Bzip2.armv7hl 0:2.061-3.el7
perl-Compress-Raw-Zlib.armv7hl 1:2.061-4.el7
perl-DBD-MySQL.armv7hl 0:4.023-6.el7
perl-DBI.armv7hl 0:1.627-4.el7
perl-Data-Dumper.armv7hl 0:2.145-3.el7
perl-IO-Compress.noarch 0:2.061-2.el7
perl-Net-Daemon.noarch 0:0.48-5.el7
perl-PlRPC.noarch 0:0.2020-14.el7
php-cli.armv7hl 0:5.4.16-48.el7
php-common.armv7hl 0:5.4.16-48.el7
Complete!
is possible I get PHP 8.1 in this HW + this OS ?, how?
-
TrevorH
- Site Admin
- Posts: 33202
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
Post
by TrevorH » 2022/04/14 14:01:09
You will not get php 8.x on CentOS7 - this is what I told you in your other thread. CentOS 7 does not have and will never have bleeding edge components. If you need such things then you are running the wrong distro.
The version in the CentOS 7 base/updates repo is 5.4.16 and still receives security updates from RH until RHEL 7 goes EOL in 2024.
-
Windows
- Posts: 59
- Joined: 2021/06/16 13:20:01
Post
by Windows » 2022/04/14 14:13:27
TrevorH wrote: ↑2022/04/14 14:01:09
You will not get php 8.x on CentOS7...
Thanks master, you save hours and hours of my LIFE!
TrevorH wrote: ↑2022/04/14 14:01:09
this is what I told you in your other thread
sorry, my english is VERY bad yet.
regards