Using the sample recipe I am deploying a WordPress solution on EC2:
juju bootstrap --constraints "instance-type=t1.micro"
juju set-constraints instance-type=t1.micro
juju debug-log
juju deploy mysql wordpress-db
juju deploy wordpress
juju add-relation wordpress wordpress-db
juju expose wordpress
After this I point my browser to the public url and get the error:
502 Bad Gateway
nginx/1.1.19
Looking at the debug log I see this error:
2012-11-10 20:08:19,083 unit:wordpress/0: hook.output INFO: * Restarting PHP5 FastCGI Process Manager php5-fpm
2012-11-10 20:08:20,267 unit:wordpress/0: hook.output INFO: ...fail!
sshing to the WordPress box, I tried restarting the php service but I get a seg fault:
ubuntu@ip-10-194-31-77:~$ sudo /etc/init.d/php5-fpm start
Segmentation fault (core dumped)
Anybody know the issue? Is there a problem with the php version and WordPress?