LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 03-15-2007, 06:09 PM   #1
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Rep: Reputation: 30
php.info?


I just install lamp and have Apache, mysql working, and installed php5,Tried to open file for phpinfo on my server but it wont open?I get an error message,
Not Found
Index of /phpinfo.php

Name Last modified Size Description

[DIR] Parent Directory 15-Mar-2007 15:56 -

Apache/1.3.34 Server at localhost Port 80
 
Old 03-15-2007, 06:22 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
Is your apache configured to use PHP?
Does "phpinfo.php" exist in the DocumentRoot of your webserver?

Apache seems to think "phpinfo.php" is a directory on your server for some reason.
 
Old 03-15-2007, 06:44 PM   #3
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
I have info.php file in my /var/www I thought it was where it belongs? Where does it belong?
I have to get my httpd.conf straighten out but I don't know how to. Need some help.
 
Old 03-15-2007, 06:54 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
Quote:
I have info.php file in my /var/www I thought it was where it belongs? Where does it belong?
It belongs in the directory specified by the "DocumentRoot" in http.conf if you expect to access it at "http://yoursite.com/phpinfo.php".

Quote:
I have to get my httpd.conf straighten out but I don't know how to. Need some help.
Documentation is a good place to start: http://httpd.apache.org/docs/1.3/

As for getting php up and running, try the docs there: http://www.php.net/manual/en/install.unix.php
Ignore the bit about installing, just follow the advice for configuration.

There are also countless 'LAMP' guides available for free: http://www.google.ca/search?hl=en&ie...e+Search&meta=
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot See info.php in Apache 1.3.33 Slack 10 grimlaur Slackware 3 02-05-2005 04:27 PM
changing php info variables?? vickr1z Linux - Newbie 1 10-26-2004 11:16 AM
PHP $_GET is getting weird info ghight Programming 2 08-11-2004 01:32 PM
why fsockopen() use root dns info?? - about php chtla Linux - Software 0 04-14-2004 12:42 AM
net info in php punker22 Programming 0 02-18-2004 11:36 PM


All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
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