opt php for php fpm not working

Discussion in 'Installation/Configuration' started by pawan, Aug 5, 2013.

  1. pawan

    pawan Member HowtoForge Supporter

    I have installed additional php versions on ubuntu server 12.04 following the how to forge guide.

    The PHP FPM is running fine on the server. In ispconfig control panel I am able to select and assign the opt/php fpm to a website. The /etc/pool.d/ folder is correctly getting populated with conf file.

    The problem is when I am check in my joomla installation the default php version showing and there is no effect of the change.

    But if I apply the opt php for fast-cgi the changed are reflected in joomla installation without any problem.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. pawan

    pawan Member HowtoForge Supporter

    Ok Till sorry for not providing the details

    Server - ubuntu 12.04
    Apache - Apache/2.2.22 (Ubuntu)
    PHP default - 5.3.10-1ubuntu3.7

    Everything looks ok as I already stated, but the php info in joomla just stays to default php for PHP-FPM.
    But if I choose PHP Fast CGI for /opt php it works find.
    So the problem is just in using php fpm as /opt



    contents of vhost.conf created in pool.d

    listen =
    listen.allowed_clients =
    user = web13
    group = client2
    pm = dynamic
    pm.max_children = 50
    pm.start_servers = 20
    pm.min_spare_servers = 5
    pm.max_spare_servers = 35
    pm.max_requests = 0
    chdir = /
    php_admin_value[open_basedir] = /var/www/clients/client2/web13/web:/var/www/clients/client2/web13/tmp:/var/www/mywebsolutions.co.in/web:/srv/www/mywebsolutions.co.in/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/usr/share/php
    php_admin_value[session.save_path] = /var/www/clients/client2/web13/tmp
    php_admin_value[upload_tmp_dir] = /var/www/clients/client2/web13/tmp
    php_admin_value[output_buffering] = Off;
    php_admin_value[allow_url_include] = on;
    php_admin_value[max_execution_time] = 60;
    php_admin_value[error_reporting] = E_ALL;
    php_admin_value[display_errors] = On;
    Last edited: Aug 11, 2013

Share This Page