![]() |
VOOZH | about |
The author selected Open Sourcing Mental Illness Ltd to receive a donation as part of the Write for DOnations program.
Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.
PHP is a popular server scripting language known for creating dynamic and interactive web pages.
Committed to helping software developers to be successful by solving challenges in both their careers and their parenting.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Nice reference
Great guide as ever. Thank you.
PS the composer hash seems to be out of date now.
I went through your βHow To Install Nginx on Ubuntu 20.04β and this βHow To Install PHP 7.4 and βSet Up a Local Development Environment on Ubuntu 20.04β on a clean Ubuntu 20.04 server installβ through just before the section on composer.
After the Nginx install, ufw app list was as you show.
However, after the PHP7.4 install I now have Apache also installed. Is this intended / as expected? I did not knowingly run a command that I would have expected to install apache.
Thanks.
its not working i did same thing but php 7.3 or 7.4 not getting installed i have unbuntu 22.10
root@lacasse-dev:~# sudo apt -y install php7.4
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package php7.4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php7.4' has no installation candidate
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.