Issue
I am using MAMP on macos . Inside the .htdocs file ı put some php files to open in the browser . Although file names and path are correct login.php file is working well but on the other hand signup.php file gives me an error (http500 / localhost is currently unable to handle this request.). What could be the reason about that ? Any solution
Solution
You can enable display error for php by adding this code to at the beginning of your code (you can also enable error display globally in php.ini by setting display_errors = on
).
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
after that you can trace the error.
Answered By - Mohammad Salehi
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.