Installing LAMP (Linux, Apache, MySQL/MariaDB, and PHP/PhpMyAdmin) in Arch Linux

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

22 Responses

  1. Giacomo Rossi says:

    Hi, thanks for the great guide! I’ve tried to enable ssl but my site is not responding…
    I’ve used localhost as ServerName because I’ve activated a noip account: but when I try to reach https://mydomain.ddns.net the site isn’t available, but http://mydomain.ddns.net is ok…

    • Matei Cezar says:

      Does the server responds on localhost with ssl,port 443. run netstat to confirm it binds on 443. are you behind a router? if yes, forward ports on the router side. Also, does ddns record replay on port 80.

  2. Mikkel windfeld says:

    Great post, Thanks!

  3. ryan says:

    after completing the configuration, I try to make the applications using CodeIgniter framework, but at run time instead of blank page is opened, I use PHP version 5.9 is okay, but the current version of PHP 5.6 there is a problem, whether the issue of versions of PHP or from the wrong configuration …

  4. ElectricPrism says:

    I had 2 problems getting PhpMyAdmin installed

    #1 – the code to create a vhost alias in localhost.conf didn’t work, I had to add the code to httpd.conf for it to work

    #2 – PhpMyAdmin created a bad symlink
    /usr/share/webapps/phpMyAdmin/config.inc.php pointed to [ lowercase ] /usr/share/webapps/phpmyadmin/config.inc.php

    Replacing config.inc.php with config.sample.inc.php fixed the problem

    Hope this helps someone.

    http://pastebin.com/H29CYShX

  5. EP says:

    The whole /etc/httpd/conf/mods-enabled/php.conf file wasn’t working for me.

    I had to comment out “mpm_event_module” in the httpd.conf file and below it put in the

    LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

    # Followed later at the end of the modules by# Use for PHP 5.x:
    LoadModule php5_module modules/libphp5.so
    AddHandler php5-script php
    Include conf/extra/php5_module.conf

    ## Took me some doing just to get PHP running, otherwise the article is solid.

  6. UK Paul says:

    Absolutely amazing post, thanks Matei.

  7. Hadi Rezaee says:

    aa ok, I think my previous comment was… not written well? I don’t see my code. please read the link above that i posted, and correct step 5.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?