(received from David P., I write it back here in case it serves to others users )
I have tried to install the php gpio library and I seem to be running into a problem. Please forgive me, I am a beginner. I'm sure I'm missing something very fundamental :)
(received from David P., I write it back here in case it serves to others users )
I have tried to install the php gpio library and I seem to be running into a problem. Please forgive me, I am a beginner. I'm sure I'm missing something very fundamental :)
Following instructions at https://github.com/ronanguilloux/php-gpio
When I try to execute
php composer.phar create-project --stability='dev' ronanguilloux/php-gpio intoYourPath
I get an error
[RuntimeException] Failed to clone http://github.com/ronanguilloux/php-gpio.git, git was not found, check that it is installed and in your PATH env.
sh: 1: git: not found I also get errors in my PHP when I try to
<?php
require 'vendor/autoload.php';
Basic php seems to work OK in a web page.
Can you point me in the right direction?