-
The stub.so file was created successfully. But when adding to php.ini , any PHP commands returns this error Eg: php -v PHP Fatal error: Class 'psr\http\message\messageinterface' not found in Unknown on line 0 PHP version 8.0 |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 1 reply
-
Hello With what version of Zephir it was compiled? |
Beta Was this translation helpful? Give feedback.
-
PHP 8.0.10 (cli) (built: Aug 26 2021 15:50:07) ( NTS ) PHPIZE Returns this :- Configuring for: |
Beta Was this translation helpful? Give feedback.
-
Make sure that you are using latest |
Beta Was this translation helpful? Give feedback.
-
Zephir verision : Zephir 0.14.0 by Andres Gutierrez and Serghei Iakovlev (beta.3) PSR was installed by : sudo apt-get install php8.0-psr |
Beta Was this translation helpful? Give feedback.
-
What are steps that you execute? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Could you provide Zephir code example where you are using |
Beta Was this translation helpful? Give feedback.
-
greetings.zep
|
Beta Was this translation helpful? Give feedback.
-
You mentioned |
Beta Was this translation helpful? Give feedback.
-
Try this tutorial and see if it works |
Beta Was this translation helpful? Give feedback.
You mentioned
stub.so
at the beginning. According to your namespace, the generated file must beutils.so
. It might be that you are building and compiling wrong project or folder.