Conflict Error in PHP PostgreSQL Setup -
I am trying to connect to a PostgreSQL database with PHP .. PHP was already installed. When I tried to execute the following code on the command line (Centos), then the error below
install yum php-pgsql check the transaction error: file /etc/php.ini Php-common-5.3.3-27 .file with file from el6_5.x86_64 package php54-common-5.4.24-1.ius.centos6.x86_64 file /usr/lib64/php/modules/curl.so php-common From the installation -5.3.3-27.el6_5.x86_64 package conflict with file from php54-common-5.4.24-1.ius.centos6.x86_64 file /usr/lib64/php/modules/fileinfo.so php-common - 5.3.3-27.el6_5.x86_64 Package conflict with file php54-common-5.4.24-1.ius.centos6.x86_64 file / usr / lib64 / p Php54-common-5.4.24-1.ius.centos6.x86_64 file / usr / lib64 / conflict with file from .3-27.el6_5.x86_64 package by installing hp / modules / json.so php-common-5.3. From the installation of php / modules / phar.so php-common-5.3. Clash with file from 3-27.el6_5.x86_64 package -5.3 from the installation of php54-common-5.4.24-1.ius.centos6.x86_64 file /usr/lib64/php/modules/zip.so php-common. 3-27.el6_5.x86_64 Package conflict with file php54-common-5.4.24-1.ius.centos6.x86_64 I also
Yum erase php54 and install it again
Install php54 with yg pgsql but It gives the same error.
I could not understand what should I fix?
By that yum error, it seems that you have PHP 5.3 installed and installing PHP 5.4 package Are trying. yum erase php54 will do nothing if you have PHP 5.3 installed. Do you want PHP 5.3 or 5.4? Depending on that, you'll need to make sure that your repo has the proper package for your desired version, and then try to install the php-pgsql package.
Comments
Post a Comment