I installed my own server for the very first time with the objective to test Phalcon but it doesn't seems to be enabled, or even present:
echo Phalcon\Version::get();
Returns error: Fatal error: Uncaught Error: Class 'Phalcon\Version' not found
Which could be the issue?
I'm running under Ubuntu 22.04
I installed :
- Apache (latest version)
- PHP7.4 using Ondřej Surý's repository.
- Tried to install the up-to-date Phalcon5 using PECL but for a reason I ignore after a few warnings my Terminal does freez. Tried to install Phalcon5 using Ondřej Surý's repository but didn't get any phalcon.so file. I found the Phalcon documentation unclear with their hashtags, I don't know if I have to compile it or not). Finally I tried to get a pre-built phalcon.so and tried to use it.
- I did rewrite php.ini to get a file I've created in /etc/php/7.4/apache2/conf.d/30-phalcon.ini and used to write inside : extension=phalcon.so & extension_dir to "/etc/php/ext/". Placed the phalcon.so inside that previous folder.
- And restarted apache2 services.
In phpinfo(), I can see /etc/php/7.4/apache2/conf.d/30-phalcon.ini is called but that's all. Phalcon doesn't appear as it should.