LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
  Search this Thread
Old 02-01-2005, 06:36 PM   #1
dtra
Member
 
Registered: Nov 2004
Distribution: fc4
Posts: 104

Rep: Reputation: 15
apache won't parse php argghgh


hi all

using apache 2 from redhat9 cd
php5.0.3 src

i really desperately need to get apache2 to parse php5 on my devserver

but it just won't parse php

this line is in the httpd.conf
Code:
LoadModule php5_module        /usr/lib/httpd/modules/libphp5.so
and that libphp5.so exe is where it should be

these lines are included in the httpd.conf via a file called php.conf
Code:
<IfModule mod_php5.c>
        AddType application/x-httpd-php .php .php5
</IfModule>

DirectoryIndex index.php index.php5 index.php3
php runs from the command line, so that's not the problem

bit of background
originally had php 4.3.9 running fine
tried to install php 5 parallel, didn't work, and then php4 stopped working
so i removed the apache package, and reinstalled it
then reinstalled php5, restarted apache, nothing
html is fine, but php is not, so obviously the module is not loaded correctly or something

would really appreciate if someone can give me something here
if possible using msn or mirc or something for live help would very much be appreciated

thanks
dave
 
Old 02-01-2005, 07:49 PM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Did you actually compile the apache module or have you only got the php cli?
 
Old 02-01-2005, 08:03 PM   #3
dtra
Member
 
Registered: Nov 2004
Distribution: fc4
Posts: 104

Original Poster
Rep: Reputation: 15
ok, apache i installed from the redhat cd
and php i compiled from src, '--with-apxs2filter', is that it?
 
Old 02-17-2005, 05:28 PM   #4
Polaris408
LQ Newbie
 
Registered: Feb 2005
Distribution: RedHat 9
Posts: 4

Rep: Reputation: 0
what was your config command line for php?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Parse HTML using PHP jilljack Programming 1 11-07-2005 09:46 AM
PHP parse error in config.inc.php.in Confusedious Linux - Software 2 11-03-2005 05:08 AM
Parse PHP, not open!! mattp Programming 2 10-10-2005 12:09 AM
FreeBSD Apache 1.3.29 wont parse PHP! pnh73 *BSD 6 01-19-2004 10:23 AM
php parse error wujimon Linux - Software 4 03-26-2003 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration