DirectAdmin and multicraft

talidorn

New member
Joined
Feb 7, 2013
Messages
3
Hello all,

I have a server running Ubuntu (10.x).
It is running DirectAdmin 1.42.1

I have an admin user that is running my default domain.

In my public_html I have deployed the php front end of multicraft (http://www.multicraft.org/site/page?view=home).

I get the following (edited to remove domain references):

CException

Application runtime path "/home/admin/domains/AAA/public_html/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.

/home/admin/domains/AAA/public_html/protected/yii/base/CApplication.php(271)


Currently I have tried using admin and www-data as the users/owners for the install... but neither allows me to get past the CException. What user should I be using in the setup.sh for apache(httpd)? Does DirectAdmin use some other user for apache?

Now... on another note... I would prefer to run all my sites from /srv/www/AAA. Is there somewhere that I (a first time DirectAdmin user) can read that will tell me how to change the path? Or if I do this will it create some great issue with DirectAdmin? I'm not using the host to resell... there will ALWAYS only be one domain and user (me) on the server.

Thanks,

Talidorn
 
Why do you want to host in /srv/www that path is sooo wrong. Not sure where you learned to use that folder structure.

I am sure you could follow this guide, but you are looking at a ton of other problems along the way I am sure: http://help.directadmin.com/item.php?id=3

If you use mod_php then you have to make sure apache user has access. If you use mod_ruid or suphp or php-fpm then the files are run by whatever the user is that the domain is on.
 
I took a bit of what you said and did something just a bit different.

When I searched the forums here for mod_php I found this link http://forum.directadmin.com/showthread.php?t=41965

It took a bit but I got it done and now everything seems to be working well.

I got multicraft for minecraft installed and I really appreciate the input on mod_php.

If anyone has any questions I'll gladly answer them.
 
Back
Top