I have created my application's RPM
file and trying to install it on CentOS 6.6
. My Application requires PHP >= 5.4
which I mentioned as Requires: php >= 5.4
in the SPEC
file of RPM
. But when I try to install the RPM
, I get the following error
Error: Package: myApp-1.0-1.x86_64 (myapp)
Requires: php >= 5.4
Available: php-5.3.3-40.el6_6.x86_64 (base)
php = 5.3.3-40.el6_6
Available: php-5.3.3-46.el6_6.x86_64 (updates)
php = 5.3.3-46.el6_6
The server where I am installing this does not have any PHP installed before.
[root@license /]# php --version
-bash: php: command not found
So I am not able to find the root cause. Can someone please help.
Thanks.