I have a PHP box which was running NagiosQL on PHP4, and all of a sudden it stopped serving PHP pages. I went to http://boxIP/nagiosQL/testQL.php (that application's test page) and got the following error "PHP without mysql support, please install mysql module to php!" Not knowing what was broken, I attempted a "yum install php-*", but got the following message: ---> Package mhash.i386 0:0.9.2-4 set to be updated ---> Downloading header for autoconf to pack into transaction set. autoconf-2.59-5.noarch.rp 100% |=========================| 17 kB 00:00 ---> Package autoconf.noarch 0:2.59-5 set to be updated ---> Downloading header for unixODBC to pack into transaction set. unixODBC-2.2.12-1.el4s1.1 100% |=========================| 26 kB 00:00 ---> Package unixODBC.i386 0:2.2.12-1.el4s1.1 set to be updated ---> Downloading header for libssh2 to pack into transaction set. libssh2-0.12-1.2.el4.rf.i 100% |=========================| 2.9 kB 00:00 ---> Package libssh2.i386 0:0.12-1.2.el4.rf set to be updated ---> Downloading header for libtidy to pack into transaction set. libtidy-0.99.0-9.20051025 100% |=========================| 5.5 kB 00:00 ---> Package libtidy.i386 0:0.99.0-9.20051025.el4.centos.3 set to be updated ---> Downloading header for syck to pack into transaction set. syck-0.55-4.el4.rf.i386.r 100% |=========================| 3.5 kB 00:00 ---> Package syck.i386 0:0.55-4.el4.rf set to be updated ---> Downloading header for automake to pack into transaction set. automake-1.9.2-3.noarch.r 100% |=========================| 23 kB 00:00 ---> Package automake.noarch 0:1.9.2-3 set to be updated ---> Downloading header for libc-client to pack into transaction set. libc-client-2002e-14.i386 100% |=========================| 5.5 kB 00:00 ---> Package libc-client.i386 0:2002e-14 set to be updated --> Running transaction check --> Processing Conflict: php-pecl-apc conflicts php-eaccelerator --> Processing Dependency: libsqlite.so.0 for package: php-sqlite --> Processing Dependency: php = 4.3.9 for package: php-syck --> Processing Dependency: rrdtool = 1.0.50 for package: php-rrdtool --> Processing Dependency: php = 4.3.9 for package: php-sqlite --> Processing Dependency: php-pecl(Xdebug) for package: php-pear-PHPUnit2 --> Processing Conflict: php-pecl-apc conflicts php-mmcache --> Processing Dependency: php = 4.3.9 for package: php-mmcache --> Processing Conflict: php-eaccelerator conflicts php-mmcache --> Finished Dependency Resolution Error: php-pecl-apc conflicts with php-eaccelerator Error: Missing Dependency: libsqlite.so.0 is needed by package php-sqlite Error: Missing Dependency: php = 4.3.9 is needed by package php-syck Error: Missing Dependency: rrdtool = 1.0.50 is needed by package php-rrdtool Error: Missing Dependency: php = 4.3.9 is needed by package php-sqlite Error: Missing Dependency: php-pecl(Xdebug) is needed by package php-pear-PHPUnit2 Error: php-pecl-apc conflicts with php-mmcache Error: Missing Dependency: php = 4.3.9 is needed by package php-mmcache Error: php-eaccelerator conflicts with php-mmcache While dependency issues aren't too bad (e.g. "yum provides MISSING_FILE"), what is the best way to start going through and finding these conflicts? While this is just a test box, I'd like to get a handle on how to solve this sort of thing before I have the same problem on a production server. I see that CentOS plus in on here. Might that have to do with PHP 4 dependencies not being on? Or does PHP 5 solve those dependencies? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080311/f340635c/attachment-0002.html>
On Tue, Mar 11, 2008 at 4:36 PM, Rogelio <scubacuda at gmail.com> wrote:> Error: php-pecl-apc conflicts with php-mmcache > Error: Missing Dependency: php = 4.3.9 is needed by package php-mmcache > Error: php-eaccelerator conflicts with php-mmcache > > While dependency issues aren't too bad (e.g. "yum provides MISSING_FILE"), > what is the best way to start going through and finding these conflicts? > While this is just a test box, I'd like to get a handle on how to solve this > sort of thing before I have the same problem on a production server. > > I see that CentOS plus in on here. Might that have to do with PHP 4 > dependencies not being on? Or does PHP 5 solve those dependencies?Sanity would suggest not using a wildcard on install. Dependencies are turned on, your issue is a package conflict because you chose to install two separate methods for doing the same thing, which don't agree. Use a sane install command and it'll work. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell