State path: /var/lib/icinga2/icinga2.state Package data directory: /usr/share/icinga2 Platform version: 20.04.3 LTS (Focal Fossa)īuild host: runner-hh8q3bz2-project-298-concurrent-0 There is NO WARRANTY, to the extent permitted by law. This is free software: you are free to change and redistribute it. License GPLv2+: GNU GPL version 2 or later Icinga2 - The Icinga 2 network monitoring daemon (version: r2.13.2-1) Icinga-php-library icinga-php-thirdparty icingacli icingaweb2 icingaweb2-common icingaweb2-module-doc icingaweb2-module-monitoring php-json php8.1-cli php8.1-common php8.1-opcacheĠ upgraded, 13 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 58.6 MB of additional disk space will be used. The following NEW packages will be installed: Icinga-php-library icinga-php-thirdparty icingaweb2-common icingaweb2-module-doc icingaweb2-module-monitoring php-json php8.1-cli php8.1-common php8.1-opcache php8.1-phpdbg php8.1-readline The following additional packages will be installed: snip - # sudo apt install icingaweb2 icingacli libapache2-mod-php8.0 The command output that I am attempting to change.How do I get this apt command for installing icingaweb2 to install PHP 8.0 packages instead of PHP 8.1 packages? I hope you enjoy our tutorial, Let me know incase you encounter any error I would love to answer that.There are compatibility issues with PHP-8.1. Have you forgotten your MySQL root password? If yes, then in this article we will discuss on how to reset MySQL root password in centos or ubuntu in a few steps. Next Featured How To Reset MySQL 5.7 Root Password In Centos Or Ubuntu Just change the version of your current php that was installed, it will look like this for nginx: fastcgi_pass unix:/var/run/php/ And We're Done Folks. It might be pointed out to your old php-fpm proxy socket. Make sure to check your apache2 and nginx web server configuration if you're using php-fpm. Sudo update-alternatives -set php-config /usr/bin/php-config7.3 update-alternatives - is usually called from the postinst (configure) or prerm (install) scripts in Debian packages TIPS: Sudo update-alternatives -set phpize /usr/bin/phpize7.3 Sudo update-alternatives -set phar.phar /usr/bin/phar.phar7.3 Sudo update-alternatives -set phar /usr/bin/phar7.3 sudo update-alternatives -set php /usr/bin/php7.3 Or, if you're using nginx sudo service nginx restart Step 4.įinally to reflect your php 7.3 in your bash terminal just run these command below. If you are using apache2 you can restart it using this command sudo service apache2 restart sudo a2enmod php7.3 a2enmod - is a script that enables the specified module. We can now enable our php 7.3 using a2enmod. sudo a2dismod php7.4 a2dismod - disables a module by removing those symlinks. The next thing, we should do is to disable the installed PHP 7.4 using a2dismod. sudo apt-get install php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-mysql php7.3-mbstring php7.3-zip php7.3-fpm php7.3-intl php7.3-simplexml php7.3-bcmath php7.3-dev Step 3. if we are working with laravel you should install these modules. Like what we have right now, it will install the php 7.3 version.Īfter the installing the php 7.3 version we will now install some of the modules needed for our project. sudo apt-get install php7.3 apt-get install - will find the package in its database and it will download / install in your system. Once the update is finish, we will install our PHP 7.3 in our ubuntu. Then run a apt-get update which tells APT to update its database based on the available packages that can be installed in your ubuntu sudo apt-get update Step 2. sudo add-apt-repository ppa:ondrej/php add-apt-repository - is a Python script that allows you to add an APT repository which can easily look for the updates from a given sources. Login to your ubuntu server using your favorite shell command applications, for now i'm using my iTerm app on mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |