XF 2.2 Trying to run "php cmd.php xf-addon:create" Uncaught error.

Artonn

Active member
Hello. I'm tryng to run the php cmd.php xf-addon:create command in my xenforo local installation. So far I've added the path to php.exe in my environment variables path. I'm using Visual Studio Code to develop with.

1699142418140.webp
 
Make sure the MySQLi extension is enabled for your PHP installation. Configuration might vary between the web server SAPI and the CLI, so if you intend to use the CLI tools be sure to enable it for both.
 
Make sure that the PHP you're executing in the terminal is the one provided through Laragon. You can view which extensions are enabled on the CLI with php -m.
 
Back
Top Bottom