nitiphone2021 Posted July 8, 2021 Share Posted July 8, 2021 According to I would like to try to use JWT for my PHP and these are my step on domain/app/ composer require firebase/php-jwt so I have domain/app/login.php domain/app/vendor/firebase/... and on the login.php try{ echo "1"; require_once('vendor/autoload.php'); use firebase\JWT\JWT; echo "2"; } catch (Exception $e) { echo 'Caught exception: ', $e->getMessage(), "\n"; } It's not show any thing and error "HTTP ERROR 500" I think the code is really find the autoload.php but I don't know why it's internet error on line use firebase\JWT\JWT; If I add this command, the PHP will be error 500 Quote Link to comment https://forums.phpfreaks.com/topic/313058-jwt-composer-internal-error-on-firebasejwtjwt/ Share on other sites More sharing options...
requinix Posted July 8, 2021 Share Posted July 8, 2021 Have you considered looking for an error message that might explain why you're getting a 500? Quote Link to comment https://forums.phpfreaks.com/topic/313058-jwt-composer-internal-error-on-firebasejwtjwt/#findComment-1587883 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.