We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Error devtools

Hello.

Phalcon devtools displays the following error:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/phalcon.so' - /usr/lib/php5/20121212/phalcon.so: undefined symbol: php_json_decode_ex in Unknown on line 0

My environment is: Ubuntu 14.04 LTS 64 bits PHP 5.5.9



58.4k

Hey

if you haven't php5-json you must install php5-json

    sudo apt-get install php5-json

You need to load JSON first before Phalcon. refer to here in this case [mysql_pdo] https://sherwinrobles.blogspot.com/2014/04/installing-phalcon-developer-tools-in.html

Thank you very much Thiện

The json extension was installed.

Delete the file named "20-phalcon.ini" in these directories:

/etc/php5/cli/conf.d/ /etc/php5/apache2/conf.d/

Create new file named "50-phalcon.ini" with this content:

; priority = 50 extension = phalcon.so

Finally restart apache.

Everything works correctly but the new files have other color in the terminal. It's okay?



58.4k
Accepted
answer

That is ok , reslove it :)