Skip to main content

PHP zend phpinfo different version

Comments

4 comments

  • JacobPerkins
    Hi Donovan, Those are two different PHP binaries you're looking at. The RPM for 'cpanel-php54' is for cPanels internal PHP, located at '/usr/local/cpanel/3rdparty/php/54/bin/php' When you run 'php -v', you're running '/usr/bin/php', which is built by EasyApache. I hope this helps!
    0
  • Donovan Brooke
    Hi Donovan, Those are two different PHP binaries you're looking at. The RPM for 'cpanel-php54' is for cPanels internal PHP, located at '/usr/local/cpanel/3rdparty/php/54/bin/php' When you run 'php -v', you're running '/usr/bin/php', which is built by EasyApache. I hope this helps!

    It does. So, I guess the solution for my problem is to rebuild Apache with a newer PHP version using EasyApache3. I'm a bit scared of that, since this is a production machine where I am the "new" administrator ...but I'll make a snapshot and move forward and see what breaks.. if anything. :-) Thanks, Donovan
    0
  • 24x7ss
    I doubt you will get PHP 5.3.7 version as it EOL. You can try multi PHP application to switch between PHP.
    0
  • Donovan Brooke
    I doubt you will get PHP 5.3.7 version as it EOL. You can try multi PHP application to switch between PHP.

    Right.. meant to say 5.3.7 or newer.. sorry. I installed 5.6x. It kindof broke a couple of old joomla forums, but all else seems okay.
    0

Please sign in to leave a comment.