Good evening,
In order to program a PHP application using the Model-View-Controller architecture on Ubuntu 22.04, I first learned to create a vendor folder. Inside this folder, there’s another folder named composer, and within that, the ClassLoader class, two methods (acpu_fetch and apcu_add), and a variable ($hit) are not recognized. The php8.1-acpu package is properly installed. This package is listed when running php -m.
Attached to this message, you will find the ‘phpinfo.php’ file.
Thanks for your help! phpinfo.php
I uninstalled the apcu package and then reinstalled it. I tried the same program on Linux Mint and encountered the same problem.
/etc/php/8.1/mods-available/apcu.ini contains
extension=apcu.so
2
Answers
This is a portion of the program which poses problem: '''
I am testing this program with VSCodium and VSCode. When I disable the "PHP Intelephense" extension, the four errors disappear. Is there a setting to adjust to keep PHP Intelephense? How does PHP IntelliSense compare to PHP Intelephense?