PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, January 5, 2022

[FIXED] Laravel 7 composer autoload error caused by PHP UOPZ extension

 January 05, 2022     composer-php, laravel, php     No comments   

Issue

I have my Laravel 7 app uploaded on VPS server running on the subdomain. Everything is fine, index.php opens for the subdomain, I have generated an app key and installed composer packages. Then I got 500 internal error. Here is a screenshot enter image description here

The error has something to do with composer autoload.

Here is the list of things I tried doing.

php artisan cache:clear composer update Deleting vendor folder and running composer install


Solution

I think I have found the solution. I had tried all sorts of things like deleting composer.lock or vendor and running composer update/install and it did not help.

Finally disabling PHP UOPZ extension solved the problem.

For Ubuntu 16.04 phpdismod oupz systemctl reload apache2



Answered By - Davit
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing