I’ve setup selenium with Jenkins a few times and I noticed there is no consistent documentation for setting up selenium with PHPUnit. A search results in several different methods of varying complexity and efficacy.
Instead of going through all that mess just use the EPEL repo…
yum install epel-release
yum install php-phpunit-PHPUnit
yum install php php-xml php-devel php-pdo
yum install php-phpunit-PHPUnit-Selenium
You can probably cat the yum commands together and get the same result. However, the order above is the way I ran them while stumbling through various documentation.