SunQuest
           Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old August 15th, 2002, 04:34 PM
yeh yeh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 5 yeh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Redhat 7.1/php

Dear Members

I am new to linux just installed Red hat 7.1 and it works fine. i tried to parse php file but failed.

i put the php file at my document root at /var/www/html/test.php

although Apache is running and Directory index in httpd.conf file has index.php option.

second problem i am unable to execute linuxconfg from command line.

please help to solve this problem.

Regards

Reply With Quote
  #2  
Old August 16th, 2002, 06:59 AM
comidio comidio is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 11 comidio User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Cool

No where near enough information to help. First what is the error message that your browser is returning. Are you sure PHP is configured into Apache, all the index.php in the Directory index does is tell Apache that it can be used as a default document. You need to check to make sure that the php module is configured to be loaded by Apache.

The same goes for the linuxconfig, what is the error message that you are getting if any.

Also check the logs, that is one of beautiful things about *nix systems is that error logs tend to be very informative.

Reply With Quote
  #3  
Old August 16th, 2002, 09:51 AM
yeh yeh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 5 yeh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
as a result i get the php code it self in the browser at http://localhost/test.php

how can i test Apache is configured for php ?

when run Linuxconfg from command line get error message command not found?

thanks comidio

Reply With Quote
  #4  
Old August 19th, 2002, 12:24 PM
comidio comidio is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 11 comidio User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sorry for the long delay. With the Linuxconfig, your Path is probably not configured correctly, so you can just use the absoute path to run it for now.

If you are getting the code then no php is probably not installed. I would get the php installed and see what happens.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Redhat 7.1/php


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway