Unintentionally removed php

Discussion in 'Server Operation' started by macmillaninc, Mar 29, 2010.

  1. macmillaninc

    macmillaninc New Member

    I have unintentionally removed php. Now when I try to "yum install php" I get the following error;

    Running rpm_check_debug
    ERROR with rpm_check_debug vs depsolve:
    php-common = 5.2.11-2.fc11 is needed by (installed) php-mhash-5.2.11-2.fc11.i586
    Please report this error in http://yum.baseurl.org/report
    php-mhash-5.2.11-2.fc11.i586 has missing requires of php-common = ('0', '5.2.11', '2.fc11')

    What do I need to do?

    Running Fedora 12, Apache 2, ISPConfig 2
     
  2. macmillaninc

    macmillaninc New Member

    I cannot reinstall php because of this error. What can I do to get php reinstalled?

    ANY help would be great appreciated. I am not very good with Linux.
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Try to uninstall php-mhash and then reinstall php.
     
  4. macmillaninc

    macmillaninc New Member

    I did figure that out this morning.

    yum remove php-mhash
    yum remove php-common
    yum install php

    that worked! Now, I cannot get the mysql module to load.
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Please reinstall all the PHP modules, like php-mysql, for example.
     
  6. macmillaninc

    macmillaninc New Member

    did Yum install php-mysql

    It worked! Thank you Thank you Thank you!
     
  7. macmillaninc

    macmillaninc New Member

    Everything is fixed! Yey!
     

Share This Page