LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 06-17-2012, 01:25 PM   #16
headrift
Member
 
Registered: Sep 2005
Distribution: Gentoo, Sabayon, Puppy, Arch
Posts: 165

Rep: Reputation: 29

Your Apache is probably still not set up... make sure test.php is in the DocumentRoot directory specified in httpd.conf -- that's usually what does that.
 
Old 06-17-2012, 01:26 PM   #17
abhiionweb
LQ Newbie
 
Registered: Jun 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
yeah now going for it !!
tasksel seems to be the only way for this mess ...Tasksel Installing packages
 
Old 06-17-2012, 01:31 PM   #18
abhiionweb
LQ Newbie
 
Registered: Jun 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
it is in /usr/local/apache2/htdocs as specified in DocumentRoo of httpd.conf
 
Old 06-18-2012, 05:35 AM   #19
abhiionweb
LQ Newbie
 
Registered: Jun 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
the problem persists it shows me the "404 not found " error for localhost/test.php ....
 
Old 06-19-2012, 06:45 AM   #20
W_o_R
LQ Newbie
 
Registered: Jun 2012
Distribution: Arch
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by prabampm View Post
did u restart ur apache after installing php?? seems php has not been detected by the webserver.
that worked for me.
thanks!
 
  


Reply

Tags
apache2, lamp, php5


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] problems with PHP, showing code trying to "run" a php file? michaelinux Slackware 1 12-29-2010 10:21 PM
php to confirm a file was downloaded from server blizunt7 Programming 2 09-16-2008 02:34 AM
PHP won't recognize my Configuration File (php.ini) path kriezo Programming 4 02-14-2008 02:31 AM
Problem with PHP Configuration File? ShaqDiesel Linux - Server 3 11-15-2007 12:25 PM
downloaded apache +RH mysql + RH php would it work? Red Squirrel Linux - Software 1 03-07-2004 06:11 PM


All times are GMT -5. The time now is 12:03 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