View Single Post
  #6  
Old 25th May 2012, 07:17
dreamsky dreamsky is offline
Junior Member
 
Join Date: May 2012
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default

do this

Quote:
Originally Posted by falko View Post
Please change
Code:
php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname
to
Code:
php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname:/usr/share/php
and this

try to remove php_value include_path .

so your /etc/apache2/conf.d/squirrelmail.conf

like this

PHP Code:
<Directory /usr/share/squirrelmail>
  
Options FollowSymLinks
  
<IfModule mod_php5.c>
    
AddType application/x-httpd-php .php
    php_flag magic_quotes_gpc Off
    php_flag track_vars On
    php_admin_flag allow_url_fopen Off
    php_admin_value upload_tmp_dir 
/var/lib/squirrelmail/tmp
    php_admin_value open_basedir 
/usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname:/usr/share/php
    php_flag register_globals off
  
</IfModule>
  <
IfModule mod_dir.c>
    
DirectoryIndex index.php
  
</IfModule

TY to Mr. Anton

Last edited by dreamsky; 25th May 2012 at 08:18.
Reply With Quote