There is no JSON component now as it's built in so any references to the file php8.0-json will ERROR.Done Building dependency tree Reading state information. I enabled the phppgsql extension and tried to install the extension using apt-get install php-pgsql but I get the following error. Pi 1 / zero / zero W) - you would need to compile the source yourself. Apr 13, 2022, 8:23 AM I have an AppService PHP 8.0 instance running. I do not believe v8.x will run on early ARMv6 chip sets (e.g.Update-alternatives -config php to switch between them. I have not tried both versions together, nor have I tried sudo.You should remove earlier versions of PHP first using sudo apt purge '^php7.x.*' where 'x' is the sub-version of 7 installed (often 7.3 on Zeros and 7.4 on 2+ boards) The above does not replace earlier versions and may cause your scripts to fail if they are version dependant.for cURL and zip: sudo apt install -y php8.0-curl php8.0-zipįor Apache use one / both of: sudo apt install -y libapache2-mod-php8.0 Then install the required modules: sudo apt install -y php8.0-extension_nameĮ.g. Then install the base and cli: sudo apt install -y php8.0-common php8.0-cli To install php 8.0 add the repository: sudo wget -O /etc/apt//php.gpg Įcho "deb $(lsb_release -sc) main" | sudo tee /etc/apt//php.list Version 8 has moved json into core code and it is no longer a separate module.įull details can be seen on PHP Watch hereĪs for getting PiHole running fully, you may find their forum more help as it's not a Pi specific program / issue as PHP 8 is not shipped by default yet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |