Menu

Migration problem

Help
gaborpor
2005-07-14
2012-10-11
  • gaborpor

    gaborpor - 2005-07-14

    Hi,

    I am new to phpwiki so bear with me. I am attempting to migrate a phpwiki installation form one serevr to another. I zipped up the whle thing at the old place, unzipped at the new one.
    Now I get this error when trying to open at the new place
    Warning: dba_open(./db/wikipagesdb): failed to open stream: Permission denied in /usr/www/users/USERNAME/wiki/lib/dbalib.php on line 58

    I compared the permission on the 'wikipagesdb' and it is 544 on both server. The only difference I see that on the old server it is owned by 'apache', while at the new one by 'USERNAME'. So my question does it have to be owned by root/apache? If yes I am in trouble, because I don't have the right to chown to it. Or what am I missing? Thank you.

     
    • gaborpor

      gaborpor - 2005-07-14

      BTW: I changed the permissions to 777 for all files in the ../db directory and that way I avoided the error mentioned above, but now the index.php page simply doesn't load. It just keeps loading and doesn't even time out. I waited two minutes. Tested several times. I don't get error message and this way it is difficult for me troubleshoot.

      (My whole phpwiki is under .htaccess, so that provides some security against the highly insecure 777 permissions.)

       
    • Reini Urban

      Reini Urban - 2005-07-14

      it has to be owned by the user the webserver is running as. apache, www-user, httpd,
      whatever is defined in your httpd.conf

       
      • gaborpor

        gaborpor - 2005-07-14

        Thanks, that's what I was afarid of. If it is on an ISP's shared host there is no (or very little) chance that the ISP will allow that kind of access. :-(

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.