LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   php not parsing (https://www.linuxquestions.org/questions/linux-general-1/php-not-parsing-45943/)

chens_83 02-18-2003 02:37 AM

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

macewan 02-18-2003 09:26 AM

using the same extension for the pages?

chens_83 02-18-2003 02:17 PM

yes, is there some sort of verbose logging mode for apache , so i can see exactly whats going on?

macewan 02-18-2003 02:54 PM

sorry - can't help you there. was wondering if you were using the correct extension. *.phtml or *.php

chens_83 02-18-2003 05:46 PM

yeh im using the regular *.php extension , iv even tried *.php3 and *.php4

I so cant be stuffed reinstalling :(
????

nxny 02-18-2003 06:49 PM

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

chens_83 02-18-2003 07:11 PM

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 :)

nxny 02-18-2003 07:36 PM

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.

chens_83 02-18-2003 08:14 PM

yer , i live in Adelaide, South Australia.

chens_83 02-19-2003 04:53 AM

yay thanks nxny it now works


All times are GMT -5. The time now is 10:56 AM.