-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Issues after installation and tests looking good #1
Comments
Hi @ma-wagner ! I'll reproduce it here and get back to you ASAP! |
Thanks for your help. |
I got to reproduce it and found out that you are probably facing the same issue as myself, RPi OS is installing both PHP 8.0 and 8.1, side by side. pi@valhalla:~/ext-spi $ ls -lah /usr/bin/php*
lrwxrwxrwx 1 root root 21 Jan 11 15:43 /usr/bin/php -> /etc/alternatives/php
-rwxr-xr-x 1 root root 2.7M Jan 29 04:39 /usr/bin/php8.0
-rwxr-xr-x 1 root root 3.1M Jan 27 09:22 /usr/bin/php8.1
lrwxrwxrwx 1 root root 28 Jan 11 15:46 /usr/bin/php-config -> /etc/alternatives/php-config
-rwxr-xr-x 1 root root 4.4K Jan 29 04:39 /usr/bin/php-config8.0
lrwxrwxrwx 1 root root 24 Jan 17 10:41 /usr/bin/phpdbg -> /etc/alternatives/phpdbg
-rwxr-xr-x 1 root root 3.2M Jan 27 09:22 /usr/bin/phpdbg8.1
lrwxrwxrwx 1 root root 24 Jan 11 15:46 /usr/bin/phpize -> /etc/alternatives/phpize
-rwxr-xr-x 1 root root 4.9K Jan 29 04:39 /usr/bin/phpize8.0 The build was executed by PHP 8.0:
The test is being executed by PHP 8.1:
Let me figure out how to fix this :) |
Ok, so I figured out that I was missing Can you ensure that you have
|
Hi @flavioheleno,
Output on
Output on
So what's my fault. Sorry i don't see it and don't know what to do. Thanks for your great help. best regards |
Hey @ma-wagner , note that you are still building with PHP 8.0.15 and testing with PHP 8.1.2 (look at the first two blocks of your It should look like this:
Note both Send the output of the commands below so I can take a look: It should output something like this:
Note that Best and Value for each query point to the 8.1 versions. |
So here is the output:
Why there is still 8.0 on work? Thanks |
Did you rebuild? Run:
|
Oh no. This was my fault. So the test runs without errors. Sorry for that. Thank you very much for your help and sorry for my beginner-errors. best regards |
You can connect |
Hi,
i have install this extension on a Raspberry Pi and the "make test" looking good.
Is there an issue with this line?
Now i have insert the extension in the php.ini with "extension=/home/pi/ext-spi/modules/spi.so" but the extension isn't loaded. I have look at "php -m".
Is there a sample of code how to use and insert the class into an php-script.
Sorry for that beginner-questions but i'm stucking for days on that point.
result of my "make test":
thanks a lot for some hints...
Martin
The text was updated successfully, but these errors were encountered: