Announcement

Collapse
No announcement yet.

PHP Selector issues

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP Selector issues

    Hi,
    Today I was excited to learn that the PHP selector was moved fr om beta to production. So I installed it on one of my servers to try it out. PHP 5.3 and 5.4 works fine, but Im experiencing issues with PHP 5.2.
    The request to a page after changing PHP version to 5.2 produce Apache 500 error (Internal server error). In error_log:

    > /usr/bin/php: error while loading shared libraries: libmhash.so.2: cannot open shared object file: No such file or directory
    > [Sat Dec 08 09:00:58 2012] [warn] [client XX.XX.XX.XX] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
    > [Sat Dec 08 09:00:58 2012] [error] [client XX.XX.XX,XX] Premature end of script headers: index.php

    Perhaps there are some missing dependencies or problems with symlinks?
    The server:

    > Linux xx.xxxx.xxx 2.6.32-379.11.1.lve1.1.9.8.2.el6.x86_64 #1 SMP Mon Nov 19 09:22:34 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
    > Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_bwlim ited/1.4 mod_fcgid/2.3.6
    > native PHP - 5.4.9
    > cPanel - WHM 11.34.0 (build 11)

  • #2
    Most likely that file is missing from cagefs skeleton, and needs to be added.

    Comment

    Working...
    X