Apache2 virtual domain specifig directives php.ini

Discussion in 'Installation/Configuration' started by u4david, Aug 26, 2010.

  1. u4david

    u4david New Member

    I have ispconfig3.

    Several domains.
    SuPhp enabled.

    I need to add specific directives to one domain to access additional php.ini and get some settings from there.

    Does not mater what i do the additional php.ini is ignored at all the times(i'm restarting apache2 after changes)

    My instructions that I try to fallow are here:
    http://www.faqforge.com/linux/controlpanels/ispconfig2/how-to-use-a-custom-php-ini-with-suphp/

    but no luck.

    I'm positive that i head it working in past and it just quit working and now i tried to fix it.I'm not aware what I changed that could cose this problem.

    I'm posting here link info.php to the test site where i try to implement the changes:
    http://gallery.u4server.com/info.php

    read on and let me know if you see something there that helps me to figure this one out.

    Thank you.
     
  2. u4david

    u4david New Member

    Bumping it agein

    i'm pumping it ageing to see if something comes up
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    The suphp instructions are working fine, I use them on several servers. Please check again that you set a correct path to a directory that contains the php.ini and not the full path to the php.ini and that this php.ini is readable by the apache server.
     
  4. u4david

    u4david New Member

    The path

    What would be the path?
    If i have WEB as browser accessible

    /var/www/thedomain/WEB/etc/php.ini

    is the path in this case

    /WEB/etc/

    Or should I put it in non web accessible location like in:
    /var/www/thedomain/etc/php.ini

    and the location would be
    /etc/

    Thank you
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The path that you use for the config directive would be something like /var/www/clients/client1/web5 and then you put the php.ini file in the directory /var/www/clients/client1/web5/
     
  6. u4david

    u4david New Member

Share This Page