I have a PHP box which was running NagiosQL on PHP4, and all of a sudden it stopped serving PHP pages.<br><br>I went to <a href="http://boxIP/nagiosQL/testQL.php">http://boxIP/nagiosQL/testQL.php</a> (that application's test page) and got the following error<br>
<br>"PHP without mysql support, please install mysql module to php!"<br><br>Not knowing what was broken, I attempted a "yum install php-*", but got the following message:<br><br>---> Package mhash.i386 0:0.9.2-4 set to be updated<br>
---> Downloading header for autoconf to pack into transaction set.<br>autoconf-2.59-5.noarch.rp 100% |=========================|  17 kB    00:00<br>---> Package autoconf.noarch 0:2.59-5 set to be updated<br>---> Downloading header for unixODBC to pack into transaction set.<br>
unixODBC-2.2.12-1.el4s1.1 100% |=========================|  26 kB    00:00<br>---> Package unixODBC.i386 0:2.2.12-1.el4s1.1 set to be updated<br>---> Downloading header for libssh2 to pack into transaction set.<br>libssh2-0.12-1.2.el4.rf.i 100% |=========================| 2.9 kB    00:00<br>
---> Package libssh2.i386 0:0.12-1.2.el4.rf set to be updated<br>---> Downloading header for libtidy to pack into transaction set.<br>libtidy-0.99.0-9.20051025 100% |=========================| 5.5 kB    00:00<br>---> Package libtidy.i386 0:0.99.0-9.20051025.el4.centos.3 set to be updated<br>
---> Downloading header for syck to pack into transaction set.<br>syck-0.55-4.el4.rf.i386.r 100% |=========================| 3.5 kB    00:00<br>---> Package syck.i386 0:0.55-4.el4.rf set to be updated<br>---> Downloading header for automake to pack into transaction set.<br>
automake-1.9.2-3.noarch.r 100% |=========================|  23 kB    00:00<br>---> Package automake.noarch 0:1.9.2-3 set to be updated<br>---> Downloading header for libc-client to pack into transaction set.<br>libc-client-2002e-14.i386 100% |=========================| 5.5 kB    00:00<br>
---> Package libc-client.i386 0:2002e-14 set to be updated<br>--> Running transaction check<br>--> Processing Conflict: php-pecl-apc conflicts php-eaccelerator<br>--> Processing Dependency: libsqlite.so.0 for package: php-sqlite<br>
--> Processing Dependency: php = 4.3.9 for package: php-syck<br>--> Processing Dependency: rrdtool = 1.0.50 for package: php-rrdtool<br>--> Processing Dependency: php = 4.3.9 for package: php-sqlite<br>--> Processing Dependency: php-pecl(Xdebug) for package: php-pear-PHPUnit2<br>
--> Processing Conflict: php-pecl-apc conflicts php-mmcache<br>--> Processing Dependency: php = 4.3.9 for package: php-mmcache<br>--> Processing Conflict: php-eaccelerator conflicts php-mmcache<br>--> Finished Dependency Resolution<br>
Error: php-pecl-apc conflicts with php-eaccelerator<br>Error: Missing Dependency: libsqlite.so.0 is needed by package php-sqlite<br>Error: Missing Dependency: php = 4.3.9 is needed by package php-syck<br>Error: Missing Dependency: rrdtool = 1.0.50 is needed by package php-rrdtool<br>
Error: Missing Dependency: php = 4.3.9 is needed by package php-sqlite<br>Error: Missing Dependency: php-pecl(Xdebug) is needed by package php-pear-PHPUnit2<br>Error: php-pecl-apc conflicts with php-mmcache<br>Error: Missing Dependency: php = 4.3.9 is needed by package php-mmcache<br>
Error: php-eaccelerator conflicts with php-mmcache<br><br>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.<br>
<br>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? <br>