Steph135 Posted January 26, 2009 Share Posted January 26, 2009 Hi! Today, I ran into a big problem with my Apache installation. I wanted to install Magento (www.magentocommerce.com) and to do so I needed pdo.so and pdo_mysql.so. So I installed these two. Additionaly, to get it running, I updated (using YUM on CentOS) my PHP installation. In short, I followed: http://karoshiethos.com/2008/07/24/installing-pdo_mysql-on-centos/ From then on, it seemed that it did not work anymore. The last step was to restart my apache apachectl restart Then I get the following error: apachectl: Configuration syntax error, will not run "restart": Syntax error on line 86 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration The httpd.conf does include a line to load the PHP 5 module: LoadModule php5_module /usr/lib/apache/libphp5.so and on line 86, I find: ServerAdmin admin@localhost UseCanonicalName Off DocumentRoot "/var/www/html" <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory "/var/www/html"> Options -Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> Furthermore, if I delete some lines, it just says that the following line is incorrect. Seems to me some kind of parsing error??... Any idea what is going wrong? What can I do to get this thing working again?... Thanks! Steph. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.