MX on Linux: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
== Install PHP Hypertext Pre-processor ==
 
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.
 
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.
 
The main php.ini is found at /etc/php/7.n/apache2/php.ini (where 'n' depends on your Raspberry OS version and therefore what PHP version gets installed). Your own .ini file gets stored at /usr/lib/php/7.n/php-production.ini. For PhpMyAdmin your php modules loaded in the .ini file need to include at least mysqli and mbstring.
 
== Install Maria database ==
5,838

edits

Navigation menu