Apache error after adding module in httpd.conf - but cant see why????
Ive set apache once before this time i just cant see my error. Im installing apache after I reinstalled linux. Im no way an expert. Ive just got some time to learn php so Ive loaded Apache on home pc and it is running ok. Then i installed PHP for apache through urpmi. fine.
Then I
mv php.ini-recommended /etc/php.ini
no probs.
Next i go to /etc/httpd/ and there is modules@ which is a sybolic link to shared library /usr/li/apache the modules directory has mod_php5.so. Thats ok then.
Open httpd.conf in editor and add line Loadmodule php5_module modules/mod_php5.so
also add AddType application/x-httpd-php .php .html
This is all fine I think. Save httpd.conf and go to command line to start apache and get the following error.
httpd: Syntax error on line 248 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_php5.so into server: /etc/httpd/modules/mod_php5.so: undefined symbol: ap_user_id
Line 248 is Loadmodule php5_module modules/mod_php5.so what have I done wrong.
Ive gone over and over this and im sure im missing something stupid....like I said Im not an expert.
|