Are you sure? Have you tried that command?
The plugin run "/usr/local/bin/php -i" to extract Apache php configuration options from phpinfo(), if it works properly with command line, it should work with the plugin.
If it produces error like the one you posted, it wont print out the phpinfo()...