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.
Well, I have 10.2 installed on my server, and a few nights ago when I tried to use the phpsysinfo page I had just uploaded, to my surprise PHP was not working. According to Webmin, the PHP package is installed, and there is a php.ini in my httpd configuration folder. I have a feeling that I need to add something to httpd.conf or something like that in order to get PHP to work. I am running Apache 1.3.33, and Webmin says that PHP version 4.4.0 is installed. I don't need the latest versions, I just want the stuff to work. Any help would be greatly appreciated. Thanks in advance.
Well, I sense a little bit of "you stupid newbie" in that post, but anyway, I sure don't see any documentation in my httpd.conf file. I checked it before I even thought of coming here. I will be more than happy to post it once this stupid "You Cannot Post URL's Until You Have Made More Than 5 Posts" thing goes away... Anyone else wanna give me some more helpful advice?
Taken from Slackware 10.2 /etc/apache/httpd.conf starting with line 1018:
Code:
# By default, all external Apache modules are disabled. To enable a particular
# module for Apache, make sure the necessary packages are installed. Then
# uncomment the appropriate Include line below, save the file, and restart
# Apache. Note that some modules may need additional configuration steps. For
# example, mod_ssl requires a site certificate which you may need to generate.
#
# Lastly, if you remove a module package, be sure to edit this file and comment
# out the appropriate Include line.
# ==> mod_php configuration settings <==
#
# PACKAGES REQUIRED: openssl-solibs (A series) and/or openssl (N series),
# mysql (AP series), gmp (L series), mhash (L series),
# and apache (N series)
#
#Include /etc/apache/mod_php.conf
It even tells you which additional packages you must have installed.
Remove the # from the last line shown here and restart apache.
Stupid newbie... no (I do not know anything about your experience), but you definitely have your eyes in your pockets.
Eric - a little more tact is called for here. It may not be that the OP isn't looking closely, it may be that they don't understand what they are looking at. Basically, everything apart from the last sentence of your post is fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.