MX on Linux: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
 
PHP is not the only script language available, but it is quite comprehensive being able to be used either in a fairly simple way or in an object-oriented way for those trying to achieve more complex scripts. The instruction to install it is <tt> sudo apt install php -y</tt>, which version you get depends on your Pi and its operating system.
 
I don't advise it, but you can install just the main php components with <tt>php7-fpm php7-cgi php7-cli php7-common</tt>, if you are short of space, and you are only going to use simple PHP without a database.
 
You may wish to create a index.php web page at /var/www/html which is the web server root for browsing, or of course you may wish to copy or FTP here all your existing web pages.
5,838

edits

Navigation menu