SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am running the newest versions of php5 and apache 2.2 as of April 13th, 2006. I installed php after apache was up and running. When I try to start apache with the php module I get the following error.
root@Server:# /usr/local/httpd/bin/apachectl -k start
httpd: Syntax error on line 54 of /usr/local/httpd/conf/httpd.conf: API module structure `php5_module' in file /usr/libexec/apache/libphp5.so is garbled - perhaps this is not an Apache module DSO?
From what I could gather from google php is not support apache 2.2 yet? Surely there are people with Apache 2.2 who are running php support. Does anyone have any idea on how to fix this?
I did the configure with apxs2 support. It even put the loadmodule in my httpd.conf file for me. Apache now starts without errors. I assumed that means that php is installed properly but I don't think that it is. When I browse to the install script for phpBB forums it doesn't load it right. I just see the text file. How can I check for sure to see if php is installed properly?
Solution: PHP install didn't add the following line, which once added fixed the problem. Thanks for the help everyone!
AddType application/x-httpd-php .php .phtml
Last edited by mustangfanatic01; 04-19-2006 at 11:52 AM.