Linux, Apache, MySQL/MariaDB, PHP: In short LAMP, a complete Open Source solution for web-developer. Apache Web Server,Often referred to as simply Apache, a public-domain open source Web server developed by a loosely-knit group of programmers which runs roughly 50% of the servers in the world.
Here i show you the simple steps to install LAMP on your Arch System:
Install php,php-apache,apache and mariadb:
(note: use your favorite text editor, am using “gedit”)
$sudoPacman-Sphp-apacheapachemariadb
Now configure apache:
$sudogedit/etc/httpd/conf/httpd.conf#> comment the line .i.e. put a # before it.LoadModuleunique_id_modulemodules/mod_unique_id.so#> restart apache$sudosystemctlrestarthttpd
then configure mariadb:
$sudosystemctlstartmysqld$sudomysql_secure_installation#> press enter and then "yes" to all.
Lastly configure php and php-apache:
$sudogedit/etc/httpd/conf/httpd.conf#> add the following lines at the end of the filesLoadModulephp5_modulemodules/libphp5.soAddHandlerphp5-scriptphpIncludeconf/extra/php5_module.conf#> save and exit .$sudogedit/srv/http/info.php#> add this in your php file:<?phpphpinfo();?>