Jump to content
hasank

PHP Install Problem

Recommended Posts

Hi
When I try to install php (7.3) with the commands here, the system hangs and does not respond. (%51)

The same thing happens when I want to install another version (php 8.1, %52). 
What can I do for its solution?

 

Thank You

 

php-hata.jpg

php-8.1 hata.png

Share this post


Link to post
Share on other sites

I couldn't find a complete solution to the problem but here is one way to install:

sudo apt update
sudo apt -y upgrade
sudo apt install apache2
sudo apt install mariadb-server
sudo mysql_secure_installation
sudo apt install -y lsb-release ca-certificates apt-transport-https software-properties-common gnupg2
wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add -
sudo apt update
sudo apt install php8.1
------------------------------------------
when clogged press ctrl+z
------------------------------------------
sudo reboot
sudo dpkg --configure -a

sudo apt install php8.1-{bcmath,fpm,xml,mysql,zip,intl,ldap,gd,cli,bz2,curl,mbstring,pgsql,opcache,soap,cgi}
sudo apt -y upgrade

Apache + Mysql + Php 8.1

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...