Unanswered: Problem running Apache 2.0.49 with PHP 4.3.3
Hi, sorry if this is not the best place to post this problem.
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.
Cannot load /usr/libexec/libphp4.so into server: libmm.so.13: cannot open shared object file: No such file or directory
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. http://httpd.apache.org/docs-2.0/mod/
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.
jmut, there is one more "load module" line that must be inserted into the httpd.conf file. However I can't quite remember what it is and that file was recently corrupted on my computer. However you might want to check the documentation at apache.org or the php site.
If you can't find it there, write back to me cause I have a book that explains how to do this but I loaned it to a classmate. I'll just call him and have him tell me.
you can test php just by running a simple php site.