Jump to content

Httpd error after installing pdo_mysql.so


Steph135

Recommended Posts

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.