Skip to content
Advertisement

PHP Startup: Unable to load dynamic library json.so wrong architecture

I’m using laravel and thus require the command line to run artisan commands.

When doing so, php gives me the following errors:

JavaScript

When checking “which php” it points to the right version (of zend server) as I’ve added that to my path variable.

JavaScript

Any idea what can be done to solve this?

Advertisement

Answer

Ok, what I did was the following:

edit /usr/local/zend/etc/conf.d/json.ini and comment out the line that loads the json.so file

PHP doesn’t throw errors at that point.

JSON support still seems enabled as far as I can see.

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement