Results 1 to 2 of 2

Thread: Postfixadmin... setup.php gives blank page with error_log included.

  1. #1

    Default Postfixadmin... setup.php gives blank page with error_log included.

    running 12.1
    postfixadmin-2.3.4-5.1.noarch.rpm

    I tried
    Code:
    a2enmod pear
    here is the error.

    Code:
    [Mon Jan 09 14:46:39 2012] [error] [client xx.xx.xx.xx] PHP Warning:  Unknown: open_basedir restriction in effect. File(/srv/www/htdocs/postfixadmin/setup.php) is not within the allowed path(s): (/srv/www/roundcubemail:/etc/roundcubemail:/tmp) in Unknown on line 0
    [Mon Jan 09 14:46:39 2012] [error] [client xx.xx.xx.xx] PHP Warning:  Unknown: failed to open stream: Operation not permitted in Unknown on line 0
    [Mon Jan 09 14:46:39 2012] [error] [client xx.xx.xx.xx] PHP Fatal error:  Unknown: Failed opening required '/srv/www/htdocs/postfixadmin/setup.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in Unknown on line 0
    I also did
    Code:
    php -l /srv/www/htdocs/postfixadmin/setup.php
    and it came back with No Syntax errors...
    basically phpmyadmin works, roundcube is installed and waiting for postfix.....
    any help appreciated.

  2. #2

    Default Re: Postfixadmin... setup.php gives blank page with error_log included.

    I managed to figure out the directive to pass along to apache2
    Code:
    <Directory /srv/www/htdocs/postfixadmin>
    php_admin_value open_basedir none
    </Directory>
    
    <Directory /srv/www/htdocs/postfixadmin>
    php_admin_value open_basedir /srt/www/htdocs/postfixadmin:/srv/www/htdocs/postfixadmin:/tmp
    </Directory>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •