Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 10-19-2003, 10:32 PM   #1 (permalink)
 
Newb Techie

Join Date: Oct 2002

Posts: 17

bleed_inc

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  
Old 10-20-2003, 01:24 AM   #2 (permalink)
 
Monster Techie

Join Date: Nov 2002

Posts: 1,368

shan

Send a message via AIM to shan
Default

are you running this all on a Linux server or Microsoft?
__________________
<center><h2><font color=\"red\">C:\\ Is the root of all evil</font></h2>
<hr width=\"50%\">
phiber@sysdum.com
spam this account, it's fun.
shan is offline  
Old 10-20-2003, 10:14 PM   #3 (permalink)
 
Newb Techie

Join Date: Oct 2002

Posts: 17

bleed_inc

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  
Old 10-23-2003, 07:28 AM   #4 (permalink)
 
True Techie

Join Date: Oct 2003

Posts: 204

gruntwerk

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  
 
Closed Thread

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