PHP


Error Apache PHP Suexec FastCGI session_start open O_RDWR Permission Denied

Note to self: Fix this Error in Apache PHP Suexec FastCGI session_start open O_RDWR Permission Denied Warning: session_start(): open(path-to-tmp-dir, O_RDWR) failed: Permission denied(13) The solution was simple, but in most of my PHP scripts it didn’t even show this error. The fix: Go to your /var/tmp directory. (or wherever you […]


Zend Framework 2 Global Database Adapter Object and Config Variables

I wrote this up on Stackoverflow.com too as an answer to my own question. (links below) So basically , I want some config variables available app-wide in my Zend Framework 2 apps. I also want a database adapter object available and connection. Controllers don’t have preDispatch by default now.  I […]