If you get a 500 internal server error you should check the error logs under /storage/logs for information what is going wrong.
If you use FTP to upload extensions from vendor, you need to copy the vendor directory and composer.json, composer.lock files in their entirety and it might still go wrong if your PHP version on the server is different from the version locally.