• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Unable to access data folder -php 5.3.3

D

Diatodan

Guest
Hi,

After upgrading to PHP 5.3.3, I am unable to access (with php scripts) the data folder I created above httpdocs .
I have been searching for an answer for a week :-(

Here is what worked before the update :

1. Create file in /var/www/vhosts/domainname.com/conf/vhost.conf

2.
<Directory /var/www/vhosts/domainname.com/httpdocs/>
php_admin_value open_basedir /var/www/vhosts/domainname.com/httpdocs:/tmp:/var/www/vhosts/domainname.com/data
</Directory>

3.
# /usr/local/psa/admin/sbin/websrvmng -u --vhost-name=domainname

4.
# chown user.psacln /var/www/vhosts/domainname.com/data

5. restart apache

I don't know what I'm doing wrong.
Any advice would be great !

Cheers
 
Back
Top