1

After I changed php.ini max file upload size and the max post size, restarting apache shows the error in the title. Why? And how to resolve it?

# vi /etc/php.ini # service httpd restart # service httpd start Starting httpd: Syntax error on line 304 of /etc/httpd/conf/httpd.conf: Invalid command 'remove', perhaps misspelled or defined by a module not included in the server configuration 

The line 304 follows:

<Directory /> Options Includes Indexes FollowSymLinks MultiViews remove word Indexes Options Includes FollowSymlinks MultiViews AllowOverride None </Directory> 
1
  • check line number 304 on ``/etc/httpd/conf/httpd.conf` file. Maybe some typo there Commented Sep 17, 2014 at 5:06

1 Answer 1

4

del line 3 and 4 on that snippet. Your config should looks like this

<Directory /> Options Includes Indexes FollowSymLinks MultiViews AllowOverride None </Directory> 
2
  • Thanks! it works. what's different between Options FollowSymLinks and Options Includes Indexes FollowSymLinks MultiViews ?? Commented Sep 17, 2014 at 5:26
  • You should refers to official documentation Commented Sep 17, 2014 at 6:20

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.