![]() When that's saved, run sudo apt-get update and then you should be able to install things again. so I have tried downloading the source to build it myself, but I need to install php7.3-dev, and this is either available. But I get: E: Package php7.3-gd has no installation candidate. Stick those in the right place with sudoedit /etc/apt/sources.list (you might as well ditch those lines about hardy). I run command: apt-get install php7.3-gd. NOTE: If you have this message add-apt-repository: command not found run : apt-get install software-properties-common. ![]() ) sudo apt-get install python-software-properties sudo add-apt-repository ppa:ondrej/php5-oldstable sudo apt-get update sudo apt-get install -y php5. I would suggest using a tool like RepoGen to get the basics in but failing that, here are the most essential: deb trusty main restricted universe multiverseĭeb trusty-security main restricted universe multiverseĭeb trusty-updates main restricted universe multiverseĭeb trusty-proposed main restricted universe multiverseĭeb trusty-backports main restricted universe multiverse Install PHP 5.4 On linux (Debian, Ubuntu, Mint. ![]() Your first step is getting your repos back on track. I suspect you've followed an old tutorial and it has broken things. And I've got no explanation for why you have a Hardy repo installed. This occurs when following the second step on the instructions on the following link (just after Install all dependencies:) sudo apt-get install apache2 mysql-server mysql-client php5 libapache2-mod-php5 php5-mysql php5-curl php-pear php5-dev php5-mcrypt php5-json git-core redis-server build-essential ufw. If that's really the whole of your /etc/apt/sources.list file, that explains your current situation. Package php5 has no installation candidate.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |