SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is a clean install of Slackware 13.1, and I am getting a variety of errors trying to set up Apache. Initial errors pertained to missing libraries for apr and apr-util. Installing these packages seems to have resolved those errors, but now am getting syntax errors for httpd.conf on line 478 and also on line 6 of mod_php.conf. Finally error regards libphp5.so not able to load into server. Continues with missing file libmcrypt.so. The libphp5.so file is present where it is looking for it, but I don't see the libmcrypt.so file. No additional info on the syntax errors; I have no clue what either of those lines should look like.
I don't think these errors were here before installing the apr libs.
httpd.conf 478:
include /etc/httpd/mod_php.conf
Only change I made to this line was to remove the comment that was there.
Line 6 from mod_php.conf
LoadModule php5_module lib/httpd/modules/libphp5.so
That file exists in the path under /usr which is where the error says it is looking.
TIA,
PS: anyone know where the speakup parameter files that used to be in /proc have gone to?
OK, I read the links: well the second one at least. Google got me answers to the initial part of the problems dealing with apr and aprutil as well as a few mysql issues that I didn't mention in my first post. Additional info will be added to my original post. I don't use the Slackware box for browsing the internet; the screen reader is just too primative for that. I'll get the syntax lines added shortly. The 478 line error in httpd.conf makes no sense as all I did was remove the comment from the line
include /etc/httpd/mod_php
As I recall, that is how it looked in earlier versions of Slackware that had worked for me.
If you're trying to enable PHP within Apache, create a phpinfo.php file within your DocumentRoot directory that contains the following;
phpinfo.php
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
//phpinfo(INFO_MODULES);
?>
If memory serves me correctly, you're going to have to modify either the init script or an "apache.conf" file for apache to startup with PHP support.
Also, make sure there really is a /etc/httpd/mod_php.conf file.
As for the "LoadModule php5_module lib/httpd/modules/libphp5.so" error;
that's a 'relative path' and not an 'absolute path'. Make a quick backup copy of your mod_php.conf file then see if you can put the whole path to libphp5.so in there.
If not - install slackware/l/libmcrypt-2.5.8-i486-1.txz from your install dvd/cd.
You could also check in /var/log/packages and see if libmcrypt is installed or not:
Quote:
/var/log/packages/libmcrypt-2.5.8-i486-1
But libphp5.so has a whole slew of dependencies: pcre, libxml2, libmcrypt, etc. as you can see with ldd. So imho I would do a full install of Slackware 13.1 and you should see no more "missing lib" errors. It's only about 6gb.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.