I came across a problem with a combination of three supermarket cookbooks, and am wondering if this is a bug or I am doing something wrong. I am using the httpd cookbook (0.1.5) and the php cookbook (1.5.0). The php cookbook also includes mysql (6.0.3). I actually don’t need that mysql cookbook directly. All this is on CentOS 6.5, although I suspect the problem will affect all OS.
When I just install httpd without php, Apache starts up flawlessly. When I add the php cookbook (and thus indirectly the mysql cookbook), /etc/httpd/conf/http.conf uses an invalid PidFile location; it uses a location that would be valid for mysql, but not for httpd. Since I’m not installing mysql, that directory doesn’t exist.
My suspicion is that both the mysql and httpd cookbooks use the same name “pid_file” at some point, and thus clash. Either that, or I’m making a mistake that I’m just not seeing.
Here is the generated httpd.conf
Our values: Privacy, Liberty, Justice