-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dl() is deprecated an deleted on some SAPIs #9
Comments
I noticed this recently. However |
On this note, using PHP 5.6.4, doing
|
Hi, which would is the solution to it ? Sorry i am a newie on this. Thanks |
I have no idea, I can't get the extension to work on PHP 5.5.33 or 5.6.4 still. |
You'd need to place the wiringpi.so into an appropriate PHP extensions dir and load it in php.ini, I got it up and running recently but I'm not a regular PHP user so I had to puzzle out what I was doing. I'll try to replicate and produce a guide. |
I did that, of course. Loaded the extension in php.ini as well as instructed. Doesn't work in PHP 5.5.33 or 5.6.4. What version of PHP are you using? |
I included the generated wiringpi.so as an extension in php.ini, but apache's error log gives: If I check the source code, there should be a serialPutchar function. Am I missing something? |
You shouldn't use dl() in your wiringpi.php script because it is deprecated. On my system, for instance, the script is unable to load the library because dl() is disabled.
The text was updated successfully, but these errors were encountered: