PHP·98 questions

How to install PHP on Linux?

Answer
Ubuntu/Debian: sudo apt install php.
With modules: sudo apt install php-mysql php-mbstring php-xml.
CentOS: sudo yum install php.
Check: php -v.
Configuration: /etc/php/8.x/.
Was this answer helpful?

More questions in this topic

Related questions from other topics