Thursday, January 15, 2015

Laravel 4.2 and App Engine

Was trying to make Laravel work with App Engine when i saw this post Laravel 4 on Google AppEngine for PHP, have tried to make it work but it seems there are some things that needs to be updated to make it work.

First off follow everything the blog until THE MCRYPT PHP EXTENSION then on that part we have to change
"require": {
     "laravel/framework": "4.2.*",
     "neoxia/laravel-openssl-encryption-42": "dev-master"

Then continue to follow the blog again. Then on THE LARAVEL 4 LOGGER, change
$monolog->pushHandler(new Monolog\Handler\SyslogHandler('intranet', 'user', Monolog\Logger::DEBUG, false, LOG_PID));

Then before executing ./artisan optimize     open LaravelOpensslEncryptionServiceProvider.php, add to the top
use Illuminate\Encryption\Encrypter;

Then lasty the part of UNIX_SOCKET, you could ignore it, it seems fixed for 4.2