vitalpax.blogg.se

Raspbian raspberry pi php5 has no installation candidate
Raspbian raspberry pi php5 has no installation candidate









So the only place the installers would differ then is in the paths for the extensions to be installed to, and once the package installer has been used to install “php” it is easy to query what has been installed and use that in the path eg PHP_VER=$(php -v | head -n 1 | cut -d " " -f 2 | cut -f1-2 -d"." ) The mariadb-client package is the default for either Buster or Stretch, since the “ mysql-client” package in Stretch installs the " default-mysql-client" which is mariadb, so again both can use “ mariadb-client” (all the links above are to the Stretch packages, use the release selector at the top right to view Buster versions)Īlso there isn’t any need for the sudo apt-get install -y libapache2-mod-phpĪs that is a dependency of php, so whether apache2 is installed or not, the libapache2-mod-php package will get installed with php. It seems only php-mcrypt doesn’t have a package for php7.3/Buster. They all (except mcrypt?) have virtual or dependency packages to facilitate thisĪs does php-mysql and php.

raspbian raspberry pi php5 has no installation candidate raspbian raspberry pi php5 has no installation candidate

The main “apt-get install” line could use all non-version specific package names like so sudo apt-get install -y php-gd php-opcache php-curl php-pear php-dev php-mcrypt php-common php-mbstring











Raspbian raspberry pi php5 has no installation candidate