Timeline for Getting $craftPath error on server trying to get Craft running
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 17, 2014 at 3:16 | vote | accept | markstewie | ||
Sep 17, 2014 at 3:15 | comment | added | Brad Bell♦ | No problem! Now all you have to do is mark this as the answer. :) | |
Sep 17, 2014 at 3:14 | comment | added | markstewie |
Yep.. that's it. Got it working running sudo chown -R www-data:www-data htdocs . Thanks for your help man!
|
|
Sep 17, 2014 at 3:12 | comment | added | Brad Bell♦ | Hrm... looks like it's running as www-data. If you chance the permissions of the craft folder to 777 and it starts working, then that means www-data doesn't have write permissions. You can chmod -R www-data:www-data the craft folder and you should still be able to run with 775. | |
Sep 17, 2014 at 3:10 | comment | added | markstewie |
When I run ps axo user,group,comm | grep apache I get this dropbox.com/s/oj7ioyr36plxz6b/…. So looks like it's running as root .. right?
|
|
Sep 17, 2014 at 3:07 | comment | added | markstewie |
Ran this ps aux | egrep '(apache|httpd)' and got this -> dropbox.com/s/2n0h35jsp61t8ob/…. Doesn't make a lot of sense to me but if you can make anything out that would be great. Really appreciate your help!!
|
|
Sep 17, 2014 at 3:03 | comment | added | Brad Bell♦ | What's the user:group Apache is running as? serverfault.com/questions/125865/… | |
Sep 17, 2014 at 3:00 | comment | added | markstewie | Looks like 775 permission on the folder.. and I'm the owner dropbox.com/s/k3a47rq1jniszcd/… | |
Sep 17, 2014 at 2:54 | comment | added | Brad Bell♦ | What are the permissions on the folder and who's the user:group owner? | |
Sep 17, 2014 at 2:53 | comment | added | markstewie | It's not open_basedir... just checked php.ini and it's commented out. How would I ensure or check if php has permissions to open the craft folder? | |
Sep 17, 2014 at 2:49 | comment | added | markstewie | Ok, thanks Brad. Will double check these things. | |
Sep 17, 2014 at 2:40 | history | answered | Brad Bell♦ | CC BY-SA 3.0 |