LoginSignup
0
0

More than 5 years have passed since last update.

さくらVPSにFuelPHPをインストールしてみる

Posted at

インストール

  1. http://fuelphp.jp/docs/1.7/installation/instructions.html を参考にホームディレクトリにインストール
  2. /etc/httpd/conf/httpd.confの設定してホームディレクトリ以下で参照されるようにする

    # directory if a ~user request is received.
    #
    # The path to the end user account 'public_html' directory must be
    # accessible to the webserver userid.  This usually means that ~userid
    # must have permissions of 711, ~userid/public_html must have permissions
    # of 755, and documents contained therein must be world-readable.
    # Otherwise, the client will only receive a "403 Forbidden" message.
    #
    # See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden
    #
    <IfModule mod_userdir.c>
        #
        # UserDir is disabled by default since it can confirm the presence
        # of a username on the system (depending on home directory
        # permissions).
        #
        #UserDir disabled <== コメントアウト
    
        #
        # To enable requests to /~user/ to serve the user's public_html
        # directory, remove the "UserDir disabled" line above, and uncomment
        # the following line instead:
        #
        #UserDir public_html
        UserDir  fuelSample/public # <== 追加
    
    </IfModule>
    
  3. apache再起動
    sudo /etc/rc.d/init.d/httpd restart

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0