• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Plesk add extra $_SESSION var for uploaden to mount (disk)

dataconnect

New Pleskian
I have added a new disk and setup a mount in linux. Everything is working and I can write files in linux to the disk.
The thing is.

There is a $_SESSION var that is called HOME. it's pointing to the home dir of the domain (its working fine). In my home dir I have the uploads directory. So that it is outside httpdocs. So far so good.

However de disk is almost full so I want to move every upload dir to the new disk.

the idea;

$_SESSION['UPLOADS'] > /mnt/VHOST/

/mnt/domain-example1/
/mnt/domain-example2/
/mnt/domain-example3/
/mnt/domain-example4/

Is there a way to get that working per domain php or apache?
 
I think it would be far easier to just mount --bind those upload dirs into your domain directories.
 
Back
Top