This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// You have to turn classic PHP errors into Exception, because cURL trigger errors | |
function exceptions_error_handler($severity, $message, $filename, $lineno) { | |
throw new ErrorException($message, 0, $severity, $filename, $lineno); | |
} | |
set_error_handler('exceptions_error_handler'); | |
$httpClient = new Zend_Http_Client( $Url, array( | |
"adapter" => "Zend_Http_Client_Adapter_Curl", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# MySQL info | |
DB_HOST='localhost' | |
DB_USER='root' | |
DB_PSWD='p@ssword' | |
DB='dbname' | |
echo "Converting MyISAM to InnoDB" |