LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 02-23-2005, 12:23 PM   #1
merana
Member
 
Registered: May 2002
Location: Philly/So. Jersey
Distribution: Debian Red-Hat Ubuntuu Solaris CentOS
Posts: 78

Rep: Reputation: 15
Verifying apache module loading/functioning


Hi All!

I'm setting up a new box and I've run into a puzzling problem.

It's a a Debian Sid build box with apache 1.3.3 and php4.3.10-2.

Apache is running and loading modules via: modules.conf

The php4 module is being loaded in the modules.conf file:

Code:
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
I've got the mime type handlers for php in /etc/mime.types and httpd.conf is telling apache to look at that file for the mime types:

Code:
root@achillies:/etc# grep php mime.types
application/x-httpd-php                         phtml pht php
application/x-httpd-php-source                  phps
application/x-httpd-php3                        php3
application/x-httpd-php3-preprocessed           php3p
application/x-httpd-php4                        php4
I got a php -i from the box that worked but then that runs the php-cli version. How can I tell if libphp.so is working? I ran /server-stat and /server-info and got the information showing that it knows about the module but it won't handle .php pages properly. It tries to send them to me instead of running them locally.

I seem to recall and AddHandler directive before but I didn't hink that was needed with the version of php I am running.

Any suggestions on what to check next?

TIA,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with loading MySQL module on Apache vladimir-dk Linux - Software 3 06-25-2004 10:13 PM
Loading Apache module question ?? wellsaj Linux - Software 2 11-05-2003 03:56 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
pcmcia drivers functioning, but not loading during boot flv7a Linux - Software 7 07-14-2003 04:40 AM
pcmcia drivers functioning, but not loading during boot flv7a Linux - General 4 04-13-2003 02:01 AM


All times are GMT -5. The time now is 03:30 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration