hi guy I need help, I have installed Yii on my fedora 13 by running all the necessary commands on the terminal. When I try to access my newly created project I get this error
CException
Application runtime path "/var/www/html/testproject/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.
I have this same issue right now. I think it might be something in Fedora’s default httpd.conf. I’ll look into it tonight add see what I find. BTW I got 777 on everything in my /var/www folder since it’s a test server only. If anyone has already fixed this would be great to know before I spend allot of time tying.
Ok after playing with a few settings I found out quickly It’s not apache its SElinux. I disabled SElinux and low and behold everything works now. If your Linux distro has SElinux you can disable it and everything should work. For people worried about safety. I don’t know how to configure it to allow php or apache, but if your server is not “public” there should be no harm disabling it. However, if someone knows how to let php and apache though SElinux please tell.