-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
I can't get any of the functions in wiringpi.php to work, even with the extension loaded in php.ini (which in PHP version 5.6.4 is located in:
user@system~$ php -i | grep php.ini
Configuration File (php.ini) Path => /etc/php5/cli
Loaded Configuration File => /etc/php5/cli/php.ini
user@system~$ php -v
PHP 5.6.4-4ubuntu6.4 (cli) (built: Oct 28 2015 01:56:22)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
I was finally able to include('wiringpi.php') by making sure wiringpi.so extension was loaded on PHP startup via php.ini, and then commenting out the code that tries to load using dl(), but every time I call a wiringpi::[function], nothing below that line gets executed.
DRSDavidSoft
Metadata
Metadata
Assignees
Labels
No labels