Ray Leventhal ubuntu at
Fri Jan 15 19:52:18 UTC 2010

Leonard wrote:
> Ray Leventhal wrote:
>> Ray Leventhal wrote:
>>> <huge snip>
>>>> http://<server_name>/phpsysinfo
>>>> Now, If I just knew what server name should be-:o)
>>> If I were a betting man, I'd assume that http://localhost/phpsysinfo or 
>>> would work.
>>> The server name is usually determined by apache when it starts..if it 
>>> can't it uses the hostname which should be (if you're using bash as a 
>>> shell) part of your prompt in the form <user>@<host>:
>>> Not sure it will, but I hope this helps a bit.
>>> Best,
>>> -Ray
>> verified to work as stated above on Karmic.
>> -Ray
> Thanks for the comeback, Ray.  I tried that on Karmic using SM and
> Firefox-3.5 but didn't get what I expected.  SM & FF came back with
> another url file with this output(snipped for size):
<big snip>

> Don't know what I'm doing wrong or how to edit
> /etc/phpsysinfo/config.php Correctly?


I httpd started?  I truly did nothing more than what I 
described (I've already had apache running on this system, so there were 
no dependencies when I installed phpsysinfo).

If apache/httpd is running, is the default web root in a place that's 
not standard?

Lets start by determining if apache2 is running:
$ /etc/init.d/apache2 status

on a running system, the reply should be something like this:
  * Apache is running (pid 2451).

In my karmic install, the relevant apache conf file is

In a typical karmic install with apache2 (as mine is, all default 
locations), your 'web root' is /var/www

Try making nothing more than a plain text file called 'hello.txt' with 
the contents "Hello" and placing it in /var/www.

Then browse to http://localhost/hello.txt and see if you get a 404 or a 
plain background with the word hello in quotes :)

Once we know if apache is running and configured to the (debian and 
ubuntu) standard of /web/www as web root, we can further debug the 
phpsysinfo issue.


More information about the ubuntu-users mailing list