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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.