Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 10-20-2003, 02:32 AM   #1 (permalink)
bleed_inc
Newb Techie
 
Join Date: Oct 2002
Posts: 17
Send a message via ICQ to bleed_inc
Exclamation Apache & PHP w/t webmin

Hey guys,

Can some one running an apache webserver with PHP working on it tell me why my apache doesn't recognise the <? extension.

I am running the web server using webmin on Red Hat 8.

I have also installed the mod_php, mod_php3, and mod_php4 modules into apache...but it's a no go.

Do i need to actually go into the php.ini file to change some stuff or is there an easier way to let apache know where my php folder is.

Oh and i want to throw all my php scripts into the var/www/html folder.!!!



Any docs or helps is appreciated.!!
bleed_inc is offline   Reply With Quote
Old 10-20-2003, 05:24 AM   #2 (permalink)
shan
Monster Techie
 
Join Date: Nov 2002
Posts: 1,368
Send a message via AIM to shan
Default

are you running this all on a Linux server or Microsoft?
__________________

C:\\ Is the root of all evil




phiber@sysdum.com
spam this account, it's fun.
shan is offline   Reply With Quote
Old 10-21-2003, 02:14 AM   #3 (permalink)
bleed_inc
Newb Techie
 
Join Date: Oct 2002
Posts: 17
Send a message via ICQ to bleed_inc
Default

Problem solved.!

I am running this on a Linux platform.

It was just a line that i need to put into the httpd.conf

AddType application/x-httpd-php .php

any way if n e one has the same probs..

let me know..~~
bleed_inc is offline   Reply With Quote
Old 10-23-2003, 11:28 AM   #4 (permalink)
gruntwerk
True Techie
 
Join Date: Oct 2003
Posts: 204
Default shorttag

edit /etc/php.ini
changes short_open_tag to be
short_open_tag=on


you should be good to go...
gruntwerk is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:38 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8