Joomla + PHP-FPM

Discussion in 'General' started by BigJens, Mar 22, 2013.

  1. BigJens

    BigJens New Member

    Hi Everybody,

    as soon as I switch to PHP-FPM my Joomla Installations throw an error: The PHP temporary directory is not set.

    According to the php.ini the upload_tmp_dir is empty. Any help here?

    Regards
    Jens
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please set a value for upload_tmp_dir.
     
  3. BigJens

    BigJens New Member

    Hmmhh I tried to set it in the Custom php.ini settings, but that didn't work. The upload_tmp_dir still showed up as 'non value'.

    Where should I set the value then?
     
  4. BigJens

    BigJens New Member

    Nobody ?
     
  5. ressel

    ressel Member

    upload_tmp_dir = /var/www/clients/client1/web1/tmp
     
  6. BigJens

    BigJens New Member

    This is how my custom php.ini settings look now:
    Code:
    output_buffering = Off
    upload_tmp_dir = /var/www/clients/client1/web134/tmp
    And here is my PHP Information:

    Code:
    upload_tmp_dir	no value	no value
    Looks like that doesn't work here, but I don't know why. Any other suggestions?
    TIA
    J.
     
  7. ressel

    ressel Member

    Does phpinfo say following?

    Configuration File (php.ini) Path /etc/php5/cgi
    Loaded Configuration File /var/www/conf/web134/php.ini
     
  8. BigJens

    BigJens New Member

    No it says:
    Configuration File (php.ini) Path /etc/php5/cgi
    Loaded Configuration File /etc/php5/cgi/php.ini

    How come? Hmmmhh.
     
  9. falko

    falko Super Moderator Howtoforge Staff

    PHP-FPM websites don't have their own php.ini. They use the default one, and custom settings are written in the pool file of the PHP-FPM process. Please check the appropriate pool file (e.g. in /etc/php5/fpm/pool.d/).
     
  10. BigJens

    BigJens New Member

    Okay, I understand. And custom php.ini settings via ISPconfig are ignored then?
     
  11. falko

    falko Super Moderator Howtoforge Staff

    No - please read my previous post again.
     

Share This Page