here's some info from a server where
I've php built as cgi, and enhanced skin works:
23:58:04 $ php -v
PHP 4.3.11 (cgi) (built: Oct 14 2005 18:44:58)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.6, Copyright (c) 2003-2004, by Zend Technologies
with Zend Optimizer v2.5.7, Copyright (c) 1998-2004, by Zend Technologies
23:59:18 $ grep '/usr/local/bin/' /usr/local/directadmin/data/skins/enhanced/*/*
/usr/local/directadmin/data/skins/enhanced/admin/content_main.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/admin/content_main.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/reseller/content_main.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/reseller/content_main.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/reseller/template_reseller_bottom.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/reseller/template_reseller_bottom.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/user/show_domain.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/user/show_domain.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/user/template_user_bottom.html:|$/usr/local/bin/php.cli
as you see, i had to reference the cli version
which I've got in /usr/local/bin/php.cli
maybe there;s another way, but sometimes
have to be efficient, and just get it working
( each time you upgrade DA, you may get
new skins -which'll break again - best write
a little script, if you're going to edit those files )