-
- 3 Posts
I can’t seem to get through the ’/modx-2.0.0-beta/core/cache directory exists and is writable by the PHP process.’ message. I managed to install pdo_mysql and now don’t see any PDO related error messages. My core/cache and the index.html file inside all look writable.
Is there something I shall do at some php config file ?
Shall I make that file writable for any other user ?
I’m testing locally, in a Mac OS X, 10.5.8, Apache 2.2.11, mySQL 5.1.36, PHP 5.2.10
I’m using modx2.0.0 beta 3
-----------
Sorry if it’s a too "newbie" question.
-------------
Long story why I want to try modx not being an expert, but it’s for a site with substantial traffic that was made by "hand" and want to have a framework. Loved what I read about modx. Congratulations to ALL the modx team. I come from J!, and was totally hooked after reading the main site page about zero restrictions, xhtml/css/js templates. It was like whoever wrote that wrote if for me. Congratulations. I’ll start donating asap.
Can you be more specific on "look writable". The directory has to be writable by the process executing PHP, which is completely dependent on how you have Apache and PHP configured. Are you using MacPorts Apache/PHP or is this a manual installation of this software? What user is Apache running as? We’ll need more info to help.
-
- 3 Posts
Sorry for the lack of info. I meant for "looks writable":
drwxr-xr-x@ 14 cv cv 476 Sep 25 23:56 core/
I didn’t install Apache/PHP manually, I’m just using the default installs/setting that came with my Mac, and I assume the default settings after all the OS X updates till 10.5.8. I didn’t try login as admin, I’m just trying to run it within my user in OSX (’cv’) . For an hiper-newbie question: I would need (and appreciate very much) some orientation to figure out what user Apache is running as.
By default in OS X, I believe Apache runs as _www, but I’m not sure as I use the MacPorts installations. Just chmod the folder to 0777 or add _www as the group and chmod to 0775.
-
- 3 Posts
Thank you very much. I’m running now.
-
- 3 Posts
How did you finally solve the problem "Make sure your / root / www / core / cache directory exists and is writable by the PHP process." What to do? Thanks for the reply.. THX.
-
- 1 Posts
In Ubutu, I resolved this by simply ’chown’ing the cache directory to the Apache2 user: www-data (sudo chown -R www-data cache). Note: When trying the chmod 777 brute force method, I often forget to set the group/other permissions back to read-only after I’ve got it working.