To install WordPress on the ZWAMP portable server, you need to enable the native MySQL extension in PHP. By default, only the PDY MySQL extension is enabled.
To enable the native MySQL extension in PHP, go to the folder
vdrive\.sys\php\php.ini in your ZWAMP folder, and look for the following code:
Remove the semicolon, save the file, and restart the server.