LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-18-2003, 03:37 AM   #1
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Rep: Reputation: 15
php not parsing


1st prob

ok my problem is that my php content is not parsing. this all started when i have been trying to enable php3 content with my php4 server.

All that i get back is the un parsed php code. This is not good.

Has anyone experienced this problem or knows how to fix it.?

I have the php_module in there .. Will i also need a php3_module to see the php3 content??

-Stuart
 
Old 02-18-2003, 10:26 AM   #2
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
using the same extension for the pages?
 
Old 02-18-2003, 03:17 PM   #3
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Original Poster
Rep: Reputation: 15
yes, is there some sort of verbose logging mode for apache , so i can see exactly whats going on?
 
Old 02-18-2003, 03:54 PM   #4
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
sorry - can't help you there. was wondering if you were using the correct extension. *.phtml or *.php
 
Old 02-18-2003, 06:46 PM   #5
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Original Poster
Rep: Reputation: 15
yeh im using the regular *.php extension , iv even tried *.php3 and *.php4

I so cant be stuffed reinstalling
????
 
Old 02-18-2003, 07:49 PM   #6
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Are you loading the PHP so module and 'routing' the request through the PHP parser ? If you dont have lines similar to the following, add them to the httpd.conf file.

LoadModule php4_module lib/apache/libphp4.so

AddType application/x-httpd-php .php
 
Old 02-18-2003, 08:11 PM   #7
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Original Poster
Rep: Reputation: 15
im at my tafe now so i cant ssh in and check it. i will answer soon
I am pretty sure thats in there though.

btw lurv your sig NXNY
 
Old 02-18-2003, 08:36 PM   #8
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Quote:
Originally posted by chens_83
im at my tafe now so i cant ssh in and check it. i will answer soon
I am pretty sure thats in there though.

btw lurv your sig NXNY
What's tafe?! Must be australian.

yeah, torvalds is damn funny when he wants to be.
 
Old 02-18-2003, 09:14 PM   #9
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Original Poster
Rep: Reputation: 15
yer , i live in Adelaide, South Australia.
 
Old 02-19-2003, 05:53 AM   #10
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Original Poster
Rep: Reputation: 15
yay thanks nxny it now works
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parsing URL in PHP benrose111488 Programming 6 10-12-2005 01:12 PM
PHP not parsing code... libertyboy Linux - Software 3 08-24-2004 12:09 PM
PHP PNG image file parsing Proud Programming 4 08-04-2004 01:55 PM
php parsing some includes. others are not. toadeny Linux - Newbie 4 09-18-2003 10:50 AM
PHP -> parsing urls DJFauß Programming 14 08-07-2001 02:33 PM


All times are GMT -5. The time now is 03:19 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 Google+: linuxquestions
Open Source Consulting | Domain Registration