mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Added chmod 777 for phpmyadmin tmp folder
Without chmod 777 for /var/lib/phpmyadmin/tmp, uploading a sql database through phpmyadmin generates the next errors: "Failed to load /etc/phpmyadmin/config-db.php Check group www-data has read access and open_basedir restrictions., PHP Warning: Unknown: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext) in Unknown on line 0 PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0"
This commit is contained in:
parent
76bf9030c1
commit
98a76e92cb
1 changed files with 1 additions and 0 deletions
|
@ -618,6 +618,7 @@ wget $CHOST/$VERSION/apache2-pma.conf -O /etc/phpmyadmin/apache.conf
|
|||
wget $CHOST/$VERSION/pma.conf -O /etc/phpmyadmin/config.inc.php
|
||||
ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
|
||||
mv -f /etc/phpmyadmin/config-db.php /etc/phpmyadmin/config-db.php_
|
||||
chmod 777 /var/lib/phpmyadmin/tmp
|
||||
|
||||
# Roundcube configuration
|
||||
wget $CHOST/$VERSION/apache2-webmail.conf -O /etc/roundcube/apache.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue