Your host needs to use PHP 5.3.10 or higher but there i PHP 5.5.12 installed

Discussion in 'General' started by leatherboy, Oct 24, 2014.

  1. leatherboy

    leatherboy New Member

    Hi.
    I use a webserver based on Centos 6.5 with ISPConfig 3.0.5.4p4.
    I had PHP 5.3.3 installed and 2 months ago I installed PHP 5.5.12.
    I already use 5.5.12 with PHP-FPM setting for 2 sites.
    Both use Joomla 2.5.14 and Virtuemart 2.6.10.
    Tody I tried to make a new Joomla 3.3.6 installation (a fullpackage that contains vm 2.9.9b) and I get the error message
    Your host needs to use PHP 5.3.10 or higher to run this version of Joomla
    I did choose in domain settings PHP 5.5.12 and PHP-FPM but i doesn't work.
    Is there a way to manually make this setting for the new site or is there anything else i couldtry to fix this?
    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    All you have to do is to choose the version in the site settings and press save. If the selected php version is not working afterwards, then there is something wrong with the php 5.5.12 install on your server. Check again our instructions for additional php versions and compare them with yur setup and test the compiled php binary if it is really working.
     
  3. leatherboy

    leatherboy New Member

    But the other 2 sites work fine.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. then check the folder /etc/httpd/conf/sites-available/ if there is a file with .err ending for this site and check the jobqueue in the ispconfig monitor, if there are any jobs listed.
     
  5. leatherboy

    leatherboy New Member

    There is an error file but no jobs.
    Do you want to see the error file?
     
  6. leatherboy

    leatherboy New Member

    the only difference i see between a file that work and the err file is this:

    in the error file

    ScriptAlias /cgi-bin/ /var/www/clients/web11/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # suexec enabled
    <IfModule mod_suexec.c>
    SuexecUserGroup web11 client1
    </IfModule>
    # Clear PHP settings of this website
    <FilesMatch "\.ph(p3?|tml)$">
    SetHandler None
    </FilesMatch>

    in the working site's file

    ScriptAlias /cgi-bin/ /var/www/clients/web29/cgi-bin/
    <FilesMatch "\.(cgi|pl)$">
    SetHandler cgi-script
    </FilesMatch>
    # suexec enabled
    <IfModule mod_suexec.c>
    SuexecUserGroup web29 client1
    </IfModule>
    # Clear PHP settings of this website
    <FilesMatch ".+\.ph(p[345]?|t|tml)$">
    SetHandler None
    </FilesMatch>
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    rename the .vhost file to .vhost.bak, then rename the vhost.err file to .vhost. then restart apache and check the error.log (and console output) why the config file was rejected.
     
  8. leatherboy

    leatherboy New Member

    I did the rename. I did service httpd restart.
    But unfortunatelly in apache error.log and domain's error.log files there is nothing.

    These are the lines in httpd error.log after restarting httpd and trying 3-4 times to enter the domain.

    [Fri Oct 24 18:55:22 2014] [notice] caught SIGTERM, shutting down
    [Fri Oct 24 18:55:24 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Fri Oct 24 18:55:24 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Fri Oct 24 18:55:24 2014] [notice] Digest: generating secret for digest authentication ...
    [Fri Oct 24 18:55:24 2014] [notice] Digest: done
    [Fri Oct 24 18:55:24 2014] [notice] mod_python: Creating 4 session mutexes based on 16 max processes and 0 max threads.
    [Fri Oct 24 18:55:24 2014] [notice] mod_python: using mutex_directory /tmp
    [Fri Oct 24 18:55:24 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Fri Oct 24 18:55:24 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.9 PHP/5.3.3 mod_python/3.3.1 Python/2.6.6 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
     
  9. leatherboy

    leatherboy New Member

    In the folder /etc/httpd/conf/sites-available/ now there is not a file with .err for the domain
     
  10. leatherboy

    leatherboy New Member

    How could i check if php version works ok as you told me before ?
     

Share This Page