How can I fix the problem of php artisan that is not recognized in vs code? - laravel-9

I'm trying to configure Laravel in vs code but php artisan is not still working. I am using Docker and i've already created my laravel project and lunch it with vs code. What can I do?

Related

Vue Project not working after ubuntu customization

I have created a project using vue.js at the frontend and flask at the backend, It was working perfectly. But, after I customized my ubuntu OS, suddenly I am unable to run the project, my flask and every other framework and library was uninstalled and I am unable to reinstall vue and I get this error message when I try to install vue again:
Can someone tell me how to resolve this issue?
By Customization, I installed some extensions and then some wallpapers, icon packs etc..
As a user has mentioned in the replies earlier, what you are trying to do is installing a global package, and the error displayed there clearly stated that you lacked permissions, and the customizations you mentioned should not have any impact on this.
Since you are using Ubuntu, just add a sudo in front of the command that you are trying to execute and it should be fixed.

Not able to execute laravel 8 on centOS7. php version 8.1.0. Tried customizing .env as well .htaccess

Not able to execute laravel 8 on centOS7. php version 8.1.0. Tried customizing .env as well .htaccess but not able to execute the application.
This page isn’t working113.193.213.44 is currently unable to handle this request.
HTTP ERROR 500

Project in Yii2 cloned does not work for me locally

I've never worked with Yii, only with Laravel, java, .Net and c#. The thing is that they gave me a project to make some modifications but I can't make it run locally in windows.
I configured the paths in Xampp, I tried to occupy php yii serve but it throws me an error with the web folder that does not exist nor I know that it calls in that folder.
Someone who could guide me to make it work for me, please.
These are all the folders that were installed when I cloned the project, I executed the composer was updated and installed the dependencies

Erorrs when creating a new Aurelia CLI 1.3.0 project

I'm trying to create a new project using the instructions from the official page of the Aurelia CLI https://github.com/aurelia/cli but every time when I run au-new I get the following error. I'm using Windows 10 x64.

Outdated version of Zend Engine API

I am hosting a website, using the Symfony framework, on a MAMP server on my Mac, and I'm trying to generate bundles automatically with the help of the terminal.
If it is relevant in any way, here is what I try to type into the terminal:
php -c /Applications/MAMP/bin/php/php5.4.10/conf/php.ini php
app/console generate:bundle
And here is the error I get:
XCache requires Zend Engine API version 220100525. The Zend Engine API
version 220090626 which is installed, is outdated.
Could not open input file: php
Do any of you have an idea of how I could update the Zend Engine API or otherwise fix my problem? That would be of HUGE help!
Edit:
Thanks to the help of whistlergreg I've gotten rid of one of the problems it seems, but I still get the following response:
Could not open input file: php
Edit:
I was told by someone that the second php in my command shouldn't be there. Instead I should write:
php -c /Applications/MAMP/bin/php/php5.4.10/conf/php.ini app/console
generate:bundle
It seems like the second error was caused by a noobish typo by me, and now everything is working.
Note: With Xcache 3.0, xcache.so is no longer a Zend Extension but a PHP extension
remove zend_extension = */xcache.so
load it using extension = xcache.so
This might be why the error is being thrown:
The main cause for the error is because of outdated build of XCache
(not related to its actual version though), that mostly happens when
user upgrades PHP version. When compiling and building XCache, it’s
been associated with the version of Zend Engine API that exists on the
system at the time.
When PHP is updated or upgraded, the Zend Engine API is updated too, causing XCache module to fail as the version no longer matched.
The solution for the Zend Engine API version is newer error is pretty
simple. Just download, compile and install XCache again will fix and
resolve the issue permanently (until new PHP major version update). 1
Switch MAMP to use APC from the MAMP preferences menu, that worked for me! Make sure you restart apache after making the change.