What are the steps to add the php_mysql.dll extension in the php.ini file for PHP5?

To add the php_mysql.dll extension in the php.ini file for PHP5, you need to locate the extension_dir variable in the php.ini file and update it to point to the directory where the php_mysql.dll file is located. Then, uncomment the line extension=php_mysql.dll by removing the semicolon at the beginning of the line. Finally, restart your web server for the changes to take effect.

extension_dir = "ext"
extension=php_mysql.dll