Install Xampp on CentOS??

How to install Xampp on CentOS?

The very newest Xampp and newest CentOS (7)

Thank you
TheHappyTechAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DavidSysadminCommented:
is this a production or a development system? IMHO you should not use xampp on a production system.
0
xeroxzeroxCommented:
Hi,

First you need to download xampp package in your centos machine.
#yum install wget
#wget http://downloads.sourceforge.net/project/xampp/XAMPP%20Linux/1.8.3/xampp-linux-x64-1.8.3-3-installer.run 

Give the executable permission on script.
#chmod +x xampp-linux-x64-1.8.3-3-installer.run

Run XAMPP installer script
./xampp-linux-x64-1.8.3-3-installer.run

After allow ALL network to access XAMPP Server.
Edit the last section of file called httpd-xampp.conf.Add new line Require all granted and comment the line Require local by using # sign
#vi /opt/lampp/etc/extra/httpd-xampp.conf
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
    # Require local
    Require all granted
    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>

Restart service.
#/opt/lampp/lampp restart
Now open the XAMPP in Web browser

Open phpmyadmin
http://your-ip-address/phpmyadmin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dave BaldwinFixer of ProblemsCommented:
Why wouldn't you install the CentOS LAMP stack that is customized for CentOS?  This http://www.rackspace.com/knowledge_center/article/how-to-install-a-lamp-stack-on-centos-fedora-or-red-hat seems to be a good how-to on the subject.  I don't see any docs for CentOS-7 LAMP stack on the centos.org web site.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

SandyCommented:
Agree with Dave here.. use LAMP or install each component and manage it as per use

Apache
MySQL
PHP

TY/SA
0
TheHappyTechAuthor Commented:
It will be used for sending employees their work hours and location. No names or personal identifiable  iformation will be displayed, only their ID number.

CentOS will run in a VM on Xenserver and hopefully will use Xampp to load some Joomla templates.
Is there any issue with using Xampp specifically?
0
TheHappyTechAuthor Commented:
XeroXerox,

I have followed your steps exactly and I am at the part to edit:
    # Require local
    Require all granted

I figured out how to edit to match above, but now I dont know how to finish.
It just says " -- REPLACE -- " at the bottom and I am not sure what to do next.

HappyT
0
TheHappyTechAuthor Commented:
I think its working! Thank you XeroxXerox!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.