@vasu116
Student
Nothing here yet.
Nothing here yet.
No blogs yet.
I'm creating laravel project Via Composer Create-Project. because when i tried to install via laravel installer composer global require laravel/installer . I got an error like Installation failed, deleting ./composer.json.
I did it now . i'm getting error like this PHP Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in /home/sree/Dev/Websites/PHP/blog/bootstrap/app.php:14 Stack trace: #0 /home/sree/Dev/Websites/PHP/blog/artisan(20): require_once() #1 {main} thrown in /home/sree/Dev/Websites/PHP/blog/bootstrap/app.php on line 14
Hi Rushendra, I agree with you ,it's hard to get more tutorials on new version technologies.bcoz things are getting change and updates very quickly . Hope you got it. You can learn Django from Udemy.com also . It contains free stuff also. If you want premium content for free, search for coupons in discudemy.com. Here some stuff . https://www.discudemy.com/django/django-core https://www.discudemy.com/django/try-django https://www.discudemy.com/django/tweetme-django https://www.discudemy.com/django/django-20-for-beginners
You'r right bro. when i run sudo apt-get install php7.1-xml. It produces following error. Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php7.1-xml E: Couldn't find any package by glob 'php7.1-xml' E: Couldn't find any package by regex 'php7.1-xml' After that i run sudo apt-get install php7.2-xml. Problems are solved. composer install command works. But main issue is here . i got parse error. Parse error: syntax error, unexpected '=' in /opt/lampp/htdocs/myapp/vendor/laravel/framework/src/Illuminate/Support/Arr.php on line 388 it leads to php version mismatching. But when i run php artisan serv it works fine. I think problem is in Apache2
Thank you Response Mr.J But it's not working. I don't have that file autoload.php file .So i Run Composer install command It shows Some problems Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for erusev/parsedown 1.7 .1 -> satisfiable by erusev/parsedown[ 1.7 .1 ]. - erusev/parsedown 1.7 .1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. Problem 2 - Installation request for laravel/framework v5 .7 .13 -> satisfiable by laravel/framework[v5 .7 .13 ]. - laravel/framework v5 .7 .13 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. Problem 3 - Installation request for phar-io/manifest 1.0 .3 -> satisfiable by phar-io/manifest[ 1.0 .3 ]. - phar-io/manifest 1.0 .3 requires ext-dom * -> the requested PHP extension dom is missing from your system. Problem 4 - Installation request for phpunit/php-code-coverage 6.1 .4 -> satisfiable by phpunit/php-code-coverage[ 6.1 .4 ]. - phpunit/php-code-coverage 6.1 .4 requires ext-dom * -> the requested PHP extension dom is missing from your system. Problem 5 - Installation request for phpunit/phpunit 7.4 .4 -> satisfiable by phpunit/phpunit[ 7.4 .4 ]. - phpunit/phpunit 7.4 .4 requires ext-dom * -> the requested PHP extension dom is missing from your system. Problem 6 - Installation request for theseer/tokenizer 1.1 .0 -> satisfiable by theseer/tokenizer[ 1.1 .0 ]. - theseer/tokenizer 1.1 .0 requires ext-dom * -> the requested PHP extension dom is missing from your system. Problem 7 - laravel/framework v5 .7 .13 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - beyondcode/laravel-dump-server 1.2 .2 requires illuminate/ console 5.6 .*| 5.7 .*| 5.8 .* -> satisfiable by laravel/framework[v5 .7 .13 ]. - Installation request for beyondcode/laravel-dump-server 1.2 .2 -> satisfiable by beyondcode/laravel-dump-server[ 1.2 .2 ].