This file contains 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
/* | |
public function openPaymentPage(Request $request) { | |
$user_id = $request->json('user_id'); | |
// how to redirect post another server with paramters? | |
// i cant find any solution with googling.. | |
// is it possible? | |
return redirect()->to('http://myserver.com/testpost', array('user_id' => $user_id)); |
This file contains 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
# Install linux update, followed by GCC and Make | |
sudo yum -y update | |
sudo yum install -y gcc make | |
# Install Nginx and PHP-FPM | |
sudo yum install -y nginx php56-fpm | |
# Install PHP extensions | |
sudo yum install -y php56-devel php56-mysql php56-pdo \ | |
php56-pear php56-mbstring php56-cli php56-odbc \ |