Help us understand the problem. What is going on with this article?

FuelPHPをec2に導入する

More than 3 years have passed since last update.

apache2.4に上げた際に困ったのでメモ

$ httpd -v
Server version: Apache/2.4.16 (Amazon)

Virtualhostの設定

#<VirtualHost *:80>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

<VirtualHost *:80>
#    ServerAdmin webmaster@dummy-host.example.com
     DocumentRoot "/home/ec2-user/hoge/public"
    <Directory "/home/ec2-user/hoge/public">
        Require all granted
        Allow from All
        DirectoryIndex index.php index.html index.htm
    </Directory>
    ServerName hoeg.com

    ErrorLog logs/hoge.com-error_log
    CustomLog logs/hoge.com-access_log common
</VirtualHost>

timezoneの設定

/etc/php.iniの以下の所を編集

date.timezone ="Asia/Tokyo"

リスタート

sudo service httpd restart

参考:http://itrestaurant.hatenablog.com/entry/2012/12/08/090230

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away