Zoneminder utilises the socket_create PHP function which is only available if PHP is emerged with the "sockets" USE flag. Without this flag, Pan/Tilt/Zoom (PTZ) functions within the application do not work (a silent failure unless PHP logging is turned on) This flag should be added as a dependency or at least a postinstall warning included that PTZ functionality will not work if PHP is not re-emerged with this USE flag enabled. Incidentally, Zoneminder also requires PHP be emerged with the "apache2" USE flag but that's far more obvious than the sockets flag. Reproducible: Always Steps to Reproduce: 1. Emerge PHP without the sockets USE flag (note: This is the default in 2008.0) 2. Emerge zoneminder 3. Configure zoneminder 4. Attempt to control a PTZ camera and check PHP logging Actual Results: [14-May-2008 22:14:41] PHP Fatal error: Call to undefined function socket_create() in /var/www/zoneminder/htdocs/zm_actions.php on line 845
Thanks! in cvs.