LoginSignup
0
3

More than 5 years have passed since last update.

Linuxにhttpdサーバを立てる

Posted at

sudo yum install httpd
sudo systemctl start httpd

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

エラーが出たので修正
sudo vim /etc/httpd/conf/httpd.conf

User nobody
Group nobody

起動した!

ついでに.htmlでphpを動作させるために
sudo vim /etc/httpd/conf.d/php.conf


AddType application/x-httpd-php .html

0
3
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
3