-
Notifications
You must be signed in to change notification settings - Fork 95
Installation fail #89
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
Comments
Did you add it to the correct .ini? What does |
It doesn't load ds. I've add it to correct php.ini /etc/php/7.0/apache2/php.ini Documentation says "Note: please load this extension after json extension,otherwise can't load this extension." do you know how to add it after json? |
I get following error when I use php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/ds.so' - /usr/lib/php/20151012/ds.so: undefined symbol: php_json_serializable_ce in Unknown on line 0 |
See #2 |
How to reproduce
Install the extension using pecl install ds
Add extension to php.ini file using extension=ds.so
sudo apache2ctl graceful
Installation success and I can see the extension so file in extension directory.
However when I run phpinfo() I can't see any extension details in the extensions section
When I try to run simple example http://php.net/manual/en/ds.examples.php it gives me error 500
details in error.log is
PHP Fatal error: Uncaught Error: Class 'Ds\Vector' not found in /var/www/html/test.php:2\nStack trace:\n#0 {main}\n thrown in /var/www/html/test.php on line 2
System details
Apache 2
Ubuntu 16:04
The text was updated successfully, but these errors were encountered: