Answer the question
In order to leave comments, you need to log in
phalcon and openserver
Unable to install Phalcon on OpenServer. I downloaded php_phalcon.dll and threw it into the ext folder. I didn’t find the php.ini file at all, in the config folder I found the PHP_7.4_php file and others according to php versions. The PHP_7.4_php file put extension=php_phalcon.dll in the file, but an error comes out: Fatal error: Uncaught Error: Class 'Phalcon\Config' not found in E:\programming\SOFT\OpenServer\domains\to16\app\config\config .php:18 Stack trace: #0 E:\programming\SOFT\OpenServer\domains\to16\public\index.php(21): include() #1 {main} thrown in E:\programming\SOFT\OpenServer\ domains\to16\app\config\config.php on line 18
Help the newbie understand what's going on, did he install phalcon incorrectly, or did he mess up something else?
Answer the question
In order to leave comments, you need to log in
extension=php_phalcon without extension, the current config is opened via the advanced-config menu
The action should be obvious, but just in case I will clarify. Did you restart the server after all these manipulations?
Replace the contents of the file E:\programming\SOFT\OpenServer\domains\to16\app\config\config.php with:
<?php
phpinfo();
I constantly restart the server after each file manipulation...
Yes, I made the script <?php phpinfo(); I saved it in info.php but didn't see the installed framework...
"There will be the whole layout. Which paths are used to search for libraries, which ones are already connected. Based on this, it will be necessary to move the dll to the right folder." - I didn't understand anything at all...!
After running the <?php phpinfo() script, I saw the path: \programming\SOFT\OpenServer\modules\php\PHP_7.4\php.ini
In the file, I tried to write extension=php_phalcon.dll and extension=php_phalcon
in the current config (PHP_7 .4_php) selected through the additional-config menu ... extension=php_phalcon also prescribed extension=php_phalcon.dll and extension=php_phalcon
did not help...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question