Comments on How to install Apache, PHP 7.1 and MySQL on CentOS 7.3 (LAMP)
This tutorial shows how you can install an Apache webserver on a CentOS 7 server with PHP (mod_php with PHP 5.4, PHP 7.0, or PHP 7.1) and MySQL support. This setup is often referred to as LAMP which stands for Linux - Apache - MySQL - PHP.
23 Comment(s)
Comments
Thank you.!
Thanks, but this doesn't work. PHP 5.4 is installed instead.
I installed my server with this tutorial and I got PHP 7.1 at the end, so you must have done something wrong when you got 5.4. The guide shows to install 3 different PHP versions, use the option for the PHP version that you want to get only.
Awesome. Thanks!
Thank you bud. Worked Flawlessly
Thanks for your good service!
thanks , very helpful
Thank you!!!! very very nice
Excellent tutorial!!! I have installed phpmyadmin succesfully. I had been trying many things helpless, but I have found the final solution here. Thank you very much. This tutorial works.!!! God bless you.
thanks for not-so-ancient versions
Thank you, this is the ONLY tutorial that I have ever got to work 100% without any errors during the process. I have used many different tutorials for creating a lamp server and have always had to change at least one command. This is on point, I apprieciate that.
How can I fully hide my IP when redirecting my domain to my web server?
Thanks but cannot get Php to work, even 5.4 . Can I get Php 7 to work with Centos 7.2 ? I need bcmaths which is not available on Php 5.4 .
Thank you!!! No error, minimal steps and works like a charm.
Cannot instal phpmyadmin via yum it drains php 5.4 deps
it is really very nice tutorial, many thanks.
just wanted to know if i have a server and i wan to:
- redirect the Server_IP:Port to a spesific folder insude the server /var/www/html/website1
- mandg to set the Server port so Port=1234 redirect user to website1; Port:2345 redirect user to website2 etc
"someone will say google-it, the question; what is this named to google it???
and many thanks
Thank you.!
a whole week trying to configure my virtual machine with LAMP, but always errors, especially mysql with php7 ... Thanks! everything runs well for Centos 7 VPS of GoDaddy
Thank you for your effort and time
Excellent job as usual. I have to tell it like it is, EXCELLENT ARTICLE. Not a flaw anywhere.
Thanks. Worked 7.1
Flawless walkthrough. Thank you for saving my time- now I just walk out to the real life!
Thanks for great manual.
Thanks, it works!
everything works great till I try to install myadmin. I ran yum -y remove php* before doing anything above. When I get to phpmyadmin install I get this error
--> Processing Dependency: php-zip for package: phpMyAdmin-4.4.15.10-2.el7.noarch
Package php72w-common-7.2.2-1.w7.x86_64 is obsoleted by php-common-7.2.2-1.el7.remi.x86_64 which is already installed
--> Finished Dependency Resolution
Error: Package: phpMyAdmin-4.4.15.10-2.el7.noarch (epel)
Requires: php-zip
Available: php-common-5.4.16-42.el7.x86_64 (base)
php-zip
Available: php-common-5.4.16-43.el7_4.x86_64 (updates)
php-zip
Available: php-pecl-zip-1.15.1-1.el7.remi.7.0.x86_64 (remi-php70)
php-zip = 1:1.15.1-1.el7.remi.7.0
Available: php-pecl-zip-1.15.1-1.el7.remi.7.1.x86_64 (remi-php71)
php-zip = 1:1.15.1-1.el7.remi.7.1
Available: php-pecl-zip-1.15.1-2.el7.remi.7.2.x86_64 (remi-php72)
php-zip = 1:1.15.1-2.el7.remi.7.2
Available: php-pecl-zip-1.15.2-1.el7.remi.7.0.x86_64 (remi-php70)
php-zip = 1:1.15.2-1.el7.remi.7.0
Available: php-pecl-zip-1.15.2-1.el7.remi.7.1.x86_64 (remi-php71)
php-zip = 1:1.15.2-1.el7.remi.7.1
Available: php-pecl-zip-1.15.2-1.el7.remi.7.2.x86_64 (remi-php72)
php-zip = 1:1.15.2-1.el7.remi.7.2
Available: php55w-common-5.5.38-1.w7.x86_64 (webtatic)
php-zip
Available: php56w-common-5.6.33-1.w7.x86_64 (webtatic)
php-zip
Available: php70w-common-7.0.27-1.w7.x86_64 (webtatic)
php-zip
Available: php71w-common-7.1.13-1.w7.x86_64 (webtatic)
php-zip
Available: php71w-common-7.1.14-1.w7.x86_64 (webtatic)
php-zip
Available: php72w-common-7.2.1-1.w7.x86_64 (webtatic)
php-zip
Available: php72w-common-7.2.2-1.w7.x86_64 (webtatic)
php-zip
Installed: php-common-7.2.2-1.el7.remi.x86_64 (@remi-php72)
Not found
Available: php-common-7.0.26-1.el7.remi.x86_64 (remi-php70)
Not found
Available: php-common-7.0.27-1.el7.remi.x86_64 (remi-php70)
Not found
Available: php-common-7.1.13-1.el7.remi.x86_64 (remi-php71)
Not found
Available: php-common-7.1.14-1.el7.remi.x86_64 (remi-php71)
Not found
Available: php-common-7.2.1-1.el7.remi.x86_64 (remi-php72)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest