Reputation: 33
I have nginx installed, and I want to install php, but when I install php with yum install php
, it requires httpd. Is there a way I can install php without installing httpd?
Upvotes: 1
Views: 3638
Reputation: 1089
When you call (skip sudo
when calling under root
)
$ sudo yum install php
yum
does want to install httpd
(Apache web-server) as a dependency. In your case, since you are planning to use nginx
you definitely do not need httpd
. In order avoid httpd
installation, but still have a working php
call
$ sudo yum install php-fpm php-common php-cli
Upvotes: 1