I am on a Windows 7 machine with WAMPserver and I am trying to install the Selenium extension for PEAR. However, when I try to install it, they tell me that it requires an extension with the PHP extension "rotl":
pear install phpunit/PHPUnit_Selenium
Package "pear.phpunit.de/PHPUnit_Selenium" dependency "pear.phpunit.de/PHPUnit" has no releases phpunit/PHPUnit_Selenium requires PHP extension "curl" No valid packages found install failed
So, I'm going to check the php.ini file to make sure it is included. Of course have:
extension=php_apc.dll ;extension=php_bz2.dll extension=php_curl.dll ;extension=php_dba.dll ;extension=php_exif.dll
On this site , I was told to try:
- If you receive the error message "Invalid packages detected by Install failed", run the following command: pear upgrade-all
But when I run this command, it just tells me Nothing to upgrade-all .
After searching for my specific error, I found a PHP error that mentions
The php extension "curl" must be loaded into php as an extension.
run this command
php -me
If "curl" is not specified as one of the [PHP modules], it is not going to work.
And I'm not quite sure how to load this "in php as extension" on Windows. Is there an easy way to do this? Or make PEAR believe that I have it installed?
EDIT
For the record, my curl extension is seen by PHP (from php_info ()):
cURL support enabled cURL Information 7.20.0
source share