Solution to the 500 error reported by phpmyadmin: First open the directory where PHP is installed and go to [d:\php\php.ini]; then cancel the [;] before [; extension_dir=""]; finally Just copy the relevant statements to [C:\Windows\system32].
Solution to the 500 error reported by phpmyadmin:
1. Open the php installation directory and enter d:\php\php.ini
Find
; extension_dir = "ext"
Cancel the previous ;
and point its path to your extensions
directory under the PHP directory, for example:
extension_dir = "d:\php\ext";
2. Copy
d:\PHP\libmysql.dll, d:\PHP\ext\php_mysql.dll, d:\PHP\ext\php_mysqli.dll
to C:\Windows\system32
, so PHP5 To support MYSQL.
Attachment: Step 2 of copying files is optional
Recommended related tutorials: phpmyadmin
The above is the detailed content of What should I do if phpmyadmin reports a 500 error?. For more information, please follow other related articles on the PHP Chinese website!