1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Directory issue when migrating

Discussion in 'Plesk for Linux - 8.x and Older' started by death, Sep 16, 2005.

  1. death

    death Guest

    0
     
    Hello!

    I'm migrating my customers from a RH9 box with PSA 7.5.3 to a debian box with 7.5.4

    Now I got the problem with paths. Plesk 7.5.4 under debian wants its users vhost under /var/www (which makes sense for debian). On the old RH9 Server with PSA 7.5.3, the vhost directory resides in /usr/local/psa/home

    Someone in this forum (sorry, can't find the thread anymore) proposed me to do a symlink from /usr/local/psa/home/vhosts to /var/www/vhosts which i did. This is because many scripts (mainly php) are pointing to /usr/local/psa/home/vhosts/...

    But now I get theses Error messages:
    fopen(/usr/local/psa/home/vhosts/***.ch/httpdocs/albums/.users/.htaccess): failed to open stream: Permission denied in /var/www/vhosts/...
    I get rid of the openbasedir errors by setting:
    php_admin_flag engine on
    php_admin_value safe_mode 0
    php_admin_value open_basedir none
    In this users httpd.include

    Any suggestions? How can I migrate this customers to the new server without having to go trough each single php script?
     
  2. death

    death Guest

    0
     
    Sorry folks. Posted too fast.

    Managed to get it working by setting the owner of albums/ (yes, its gallery) to www-data.www-data

    Plesk changed this to <user>.psacln during migration.
     
Loading...