0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Ubuntu+Apache+FuelPHP苦闘メモ

Last updated at Posted at 2021-12-10

大学の講義でApacheたちと戯れる機会があったので苦戦したものの備忘録的な感じでメモ

#環境
大体の学生の環境はこんな感じ(なはず…)

  • CPU:第7世代intel Core i5
  • メモリ:8GB
  • OS:Ubuntu 18.04 LTS

#権限がねえ!
##問題
userdirを指定したのはいいものの,index.htmlで403 Forbiddenが出まくった.
##対処法
おそらくどこかの権限がおかしくなっている.
ls -la等を使っておかしなところを探し出してchmodで適切に権限を設定しよう.
間違っても僕みたいにとりあえず全部777にすればええやろ!などと思わないように.後悔しますよ

#FuelPHPが500エラー
##問題
URLでlocalhost/fuelと指定した際、500 Internal Server Errorになる
##対処法
public_html/fuel/.htaccessの以下の記述を削除。

Options +FollowSymLinks -Indexes

参考:coreserverでFuelPHPを使うとInternal Server Errorになる時の対処法

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?