CLIPS
"CLIPS is a tool for building expert systems. This PHP extension [PHLIPS] provides PHP with a basic interface to a CLIPS environment. Its purpose is to allow deployment of expert systems in PHP."
Unfortunately the PHP extension doesn't seem to be developed anymore...