Well, I have read a lot of documentation and forums concerning this but I dont get how to fix my problem . Please help.
I am a beginner in Slackware and by default I had apache , php 4.3.3 and MySQL 4.0.15a installed. I removed apache cause I wanted to install newer version (2.0.49) I installed it with default options in usr/local/apache2.
These are the modules installed.
Compiled in modules:
Now that the apache is up and running I want to add php support. I added a few lines in httpd.conf:
LoadModule php4_module /usr/libexec/libphp4.so
AddType application/x-httpd-php .php
I copied my php.ini (was there by default) to /usr/local/apache2/lib (not sure why exactly there-read in a doc page)
After all this the following error occurs when I start the apache:
"Syntax error on line 231 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/libexec/libphp4.so into server: libmm.so.13: cannot open shared object file: No such file or directory"
btw line 231 is: LoadModule php4_module /usr/libexec/libphp4.so
I suppose I need to add one more module mod_php4.c (again read it in a doc somewhere) but in the apache's documentation there is no such module and anyway I donno how to add a module.
So I donno what the problem is? What is more I want to run MySQL as well (also installed by default with the OS).
Someone, please help me fix this problem and tell me how to check if everything is running smoothly.
Thanks in advance.
P.S Yes, libphp4.so is located in /usr/libexec/ owned by root with 755 rights.