Tidak dapat menemukan paket php7 1

Partkeepr (kebanyakan) adalah aplikasi web, karena server Anda sendiri menyediakan juru bahasa untuk menjalankan kode PHP. Jika Anda menginstal PHP8 dan distribusi Anda mengaktifkannya, itu akan digunakan. Partkeepr tidak memiliki pengaruh terhadap proses ini

Ini adalah versi CLI dari PHP. Partkeepr diakses menggunakan server web Anda, jadi Anda perlu memeriksanya di sana. Anda dapat membuat phpinfo()-File[1] dan memeriksa melalui browser Anda versi PHP mana yang sebenarnya aktif, namun jika PartKeepr mengatakan itu 8 kemungkinan besar adalah. Dalam hal ini Anda harus menonaktifkan/menghapus konfigurasi PHP8 dan memuat/mengonfigurasi PHP7. 1 di sana. Untuk apache2 ini harus a2dismod php8. 0 && a2enmod php7. 1 && systemctl restart apache2 [2]

> perusahaan saya membutuhkannya untuk bekerja

Anda mungkin ingin meluangkan waktu untuk membangun sistem pengembangan/pementasan kecil dan mendapatkan cadangan yang tepat. Biasanya membutuhkan waktu kurang dari dua minggu dan akan menyelamatkan Anda dari masalah serupa dan lebih banyak lagi di masa mendatang

Saya ingin menginstal tambahan PHP 7. 1 tetapi tidak berhasil. saya mengikuti. Inilah hasilnya

Kode

E: Unable to locate package php7.1-opcache
E: Couldn't find any package by glob 'php7.1-opcache'
E: Couldn't find any package by regex 'php7.1-opcache'
E: Unable to locate package php7.1-fpm
E: Couldn't find any package by glob 'php7.1-fpm'
E: Couldn't find any package by regex 'php7.1-fpm'
E: Unable to locate package php7.1-common
E: Couldn't find any package by glob 'php7.1-common'
E: Couldn't find any package by regex 'php7.1-common'
E: Unable to locate package php7.1-gd
E: Couldn't find any package by glob 'php7.1-gd'
E: Couldn't find any package by regex 'php7.1-gd'
E: Unable to locate package php7.1-mysql
E: Couldn't find any package by glob 'php7.1-mysql'
E: Couldn't find any package by regex 'php7.1-mysql'
E: Unable to locate package php7.1-imap
E: Couldn't find any package by glob 'php7.1-imap'
E: Couldn't find any package by regex 'php7.1-imap'
E: Unable to locate package php7.1-cli
E: Couldn't find any package by glob 'php7.1-cli'
E: Couldn't find any package by regex 'php7.1-cli'
E: Unable to locate package php7.1-cgi
E: Couldn't find any package by glob 'php7.1-cgi'
E: Couldn't find any package by regex 'php7.1-cgi'
E: Unable to locate package php-auth
E: Unable to locate package php7.1-mcrypt
E: Couldn't find any package by glob 'php7.1-mcrypt'
E: Couldn't find any package by regex 'php7.1-mcrypt'
E: Unable to locate package php7.1-curl
E: Couldn't find any package by glob 'php7.1-curl'
E: Couldn't find any package by regex 'php7.1-curl'
E: Unable to locate package php7.1-intl
E: Couldn't find any package by glob 'php7.1-intl'
E: Couldn't find any package by regex 'php7.1-intl'
E: Unable to locate package php7.1-pspell
E: Couldn't find any package by glob 'php7.1-pspell'
E: Couldn't find any package by regex 'php7.1-pspell'
E: Unable to locate package php7.1-recode
E: Couldn't find any package by glob 'php7.1-recode'
E: Couldn't find any package by regex 'php7.1-recode'
E: Unable to locate package php7.1-sqlite3
E: Couldn't find any package by glob 'php7.1-sqlite3'
E: Couldn't find any package by regex 'php7.1-sqlite3'
E: Unable to locate package php7.1-tidy
E: Couldn't find any package by glob 'php7.1-tidy'
E: Couldn't find any package by regex 'php7.1-tidy'
E: Unable to locate package php7.1-xmlrpc
E: Couldn't find any package by glob 'php7.1-xmlrpc'
E: Couldn't find any package by regex 'php7.1-xmlrpc'
E: Unable to locate package php7.1-xsl
E: Couldn't find any package by glob 'php7.1-xsl'
E: Couldn't find any package by regex 'php7.1-xsl'
E: Unable to locate package php7.1-zip
E: Couldn't find any package by glob 'php7.1-zip'
E: Couldn't find any package by regex 'php7.1-zip'
E: Unable to locate package php7.1-mbstring
E: Couldn't find any package by glob 'php7.1-mbstring'
E: Couldn't find any package by regex 'php7.1-mbstring'

Apakah saya melakukan kesalahan?

OS Ubuntu 18. 04 LTS
ISPConfig 3. 1

 

Ini adalah hasil yang diharapkan, perilaku tampaknya direproduksi hanya pada rilis EOL (End Of Life)— ini dengan asumsi Anda menggunakan Ubuntu 14. 04 karena Anda menandainya 14. 04

Dirilis pada 17 April 2014 dan telah mencapai End Of Life (EOL) pada April 2019

Jadi ondrej telah menjatuhkan dukungan untuk 14. 04, artinya Anda harus memutakhirkan Ubuntu atau menginstal PHP dari sumber

Saya rasa Anda segera memutakhirkan Ubuntu Anda, 16. 04 adalah pilihan yang bagus tapi ada juga 18. 04 yang didukung lebih lama karena dirilis pada 2018

Jika Anda memutuskan untuk tetap dengan 14. 04, maka Anda dapat mengkompilasi PHP dari sumber, untuk menemukan versi php yang Anda inginkan, kunjungi php ini. net/releases— ini akan bekerja sebagian besar waktu bahkan pada rilis lama

Cara menginstal PHP7. 4 di Ubuntu?

Instal PHP 7. 4 di Ubuntu 18. 04/Ubuntu 16. 04 .
Langkah 1. Tambahkan Repositori PHP PPA. Kami akan menambahkan ppa. ondrej/php Repositori PPA yang memiliki paket build PHP terbaru. .
Langkah 2. Instal PHP7. 4 di Ubuntu 18. 04/16. 04. Instal PHP7. 4 di Ubuntu 18. 04/19. 04/16. 04 menggunakan perintah. sudo apt -y instal php7. 4

Cara menginstal PHP7. 2 di Ubuntu?

Cara Memasang PHP 7. 2 di Ubuntu 16. 04 / 18. 04 / 18. 10 .
Prasyarat. Memiliki Ubuntu 16. 04 x64 / 18. 01 x64 / 18. 10 contoh x64. .
Langkah 1. Instal PPA Ondřej Surý. .
Langkah 2. Instal PHP7. 2 & Ekstensi PHP. .
Langkah 3. Periksa instalasi PHP. .
Langkah 4. Mulai ulang Apache2

Bagaimana cara menginstal PHP di Server Ubuntu?

Instal PHP dengan Apache di Ubuntu . Di bawah ini Anda akan menemukan instalasi untuk PHP 7. 4 dan PHP8. 1. Jika paket sudah tersedia, lanjutkan ke langkah berikutnya. Setelah PPA dimuat, tekan Enter untuk mengonfirmasi penambahan repositori. install PHP with the Apache module. Below you will find installations for both PHP 7.4 and PHP 8.1. If the package is already available, continue to the next step. After the PPA loads, press Enter to confirm adding the repository.