A beginner here , trying to install / update PHP in my CentOS (virtual machine).
Existing PHP version : 5.3
Need to update to : 5.5+
I tried a lot of things, may be not enough but I am unable to reach to the conclusion.
I even tried
yum update I got the following error:
Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Error: File contains no section headers. file: file:///etc/yum.repos.d/remi-php56.repo, line: 1 "name=Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - x86_64\n"
I checked the file and this is the first line in the file
name=Remi's PHP 5.6 RPM repository for Enterprise Linux $releasever - $basearch Getting the above error for all the methods I tried. Losing brains now. Pleas help! Thank you.