Fixing bug on mysql extension syntax in some cases

http://stackoverflow.com/questions/16800147/how-to-solve-php-extensions-0-must-be-loaded