Q&A for How to Install XAMPP on Linux

Return to Full Article

Search
Add New Question
  • Question
    After I install XAMPP on Linux OS, where should I put all PHP script files to execute them?
    Community Answer
    By default you should put it on /opt/lampp/htdocs/. You can create a folder inside it and execute php files via localhost/{folder_name}/{file_name}
  • Question
    What do I do if I installed XAMPP but I can't access phpmyadmin?
    HaXng Buddha
    Community Answer
    Make sure Apache is running first in the dashboard, then you should be able to access phpmyadmin.
  • Question
    After I install this according to the given instructions, how can I access it from another computer in my local area network?
    Community Answer
    You can access it by changing the "localhost" part of "localhost/foldername/" to your computer IP (ex: 192.xxx.x.xxx/foldername) at your local network.
  • Question
    How do I install XAMPP on Linux if I get a syntax error message and the installer quits?
    Community Answer
    You may be installing the wrong version. The latest XAMPP installations are for x64 computers. Your computer may actually be x32. If you go to the Sourceforge website XAMPP page, you can look for a version that does not have x64 in the title and download that version. That is what I had to do after I got that syntax error message; I downloaded the the latest x32 version and it worked.
  • Question
    I am running Fedora 29 on my x64 machine. How do I install XAMPP?
    Community Answer
    Fedora is a Linux distro; therefore, you can easily follow the same steps as above and successfully install XAMPP.
  • Question
    What do I do if i try to run xampp through terminal but it says permission denied?
    Community Answer
    You forgot to run XAMPP server with sudo. Sudo temporarily runs commands as root, and you ran XAMPP as a normal user that does not have access.
  • Question
    I go to directory opt/lamp/ and then I type command sudo ./manager-lampp-x64.run and an error appears and says "Unknown error in application".
    Christian Elliott
    Community Answer
    That is happening because that is not the right line of code to use. Here is the right code: ./manager-lampp-x64.run.
  • Question
    How do you solve "insufficient disk space" when installing XAMPP?
    Top Answerer
    You will need to make the partition that XAMPP is being installed to larger, install to a different drive/partition (on Windows), delete unnecessary files and try again, or buy a larger disk drive for your computer and clone your operating system to it.
Ask a Question

      Return to Full Article