You need to change the php handler in WHM to fcgi or to cgi , ask your host by ticket to enable it . It should work . Also CGI sometimes work by permissions 755 , try changing permissions.