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

OpenSSL extension for Security tokens

I can't change php.ini file to load this extension.

How i can still use tokens in my project?

Maybe the extension is already compiled alongside PHP, what does this return for you?

var_dump(extension_loaded("openssl"));


14.9k

Maybe the extension is already compiled alongside PHP, what does this return for you?

var_dump(extension_loaded("openssl"));

It returns

bool(false)



25.4k
Accepted
answer

in ubuntu:

sudo apt-get install openssl


14.9k

in ubuntu:

sudo apt-get install openssl

mistakenly pressed accepted answer!! How do i go to undo this? :)

It's installed on the server, i don';t have rights to enable it there.