Archive for October, 2005

php session weirdness

Friday, October 21st, 2005

I discovered yesterday that the www.linux.ie website wasn’t allowing logins for Niall Walsh to add a news item to the system. After some investigation I found that the values set in the $_SESSION array weren’t sticking – through some update the session.save_path in the php.ini was left pointing at /var/lib/php4 while that directory was replaced with /var/lib/php5!
It seems not only does php not fall back to using /tmp if the directory specified in session.save_path doesn’t exist, it doesn’t raise an error regarding the problem.

Suffice to say a quick reset has resolved the problem – logins on www.linux.ie are back to normal.

phpDocumentor for Vim

Thursday, October 13th, 2005

Tobias Schlitt wrote an excellent “phpDocumentor for Vim” plugin that I’ve started using in work. It works very well at generating phpDocumentor tags with intelligent defaults, some based on the code in your vim window.

(php) Links of the day

Monday, October 3rd, 2005

While looking around for information on PHP workflow engines I found an absolute goldmine on all things PHP at Tony Marston’s website.

[other] Workflow engine specific information is at:

  1. openflow.it (OpenFlow-OpenSource Workflow Management System)
  2. Galaxia
  3. workflowpatterns.com

Though I’m sure there’s much more out there.