Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

phpinfo.php won't load via apache

29 views
Skip to first unread message

Wayne Topa

unread,
Sep 1, 2004, 12:30:17 PM9/1/04
to
I have been fighting this problem for quite awhile now and was
following the thread on similar problem. This one is driving me
nuts!

I have in /var/www a file named phpinfo.php. If run from a console
a console it executes correctly and produces the usual output.

If run from within a index.html file
ie:
<p> Check Server <a href="phpinfo.php">Status.</a></p>
it executes as it should, and did, prior to upgrading to php4.

When run as File > Run FIle, from any browser, it hangs or brings up
a new window that is blank and flashes (as in reloading) every few
seconds, depending on the browser. That goes on until the browser has
to be killed. All control within the browser is gone.

I am running testing with apache 1.3.31-4 and libapache-mod-php4
version 4.3.8-9. I have checked the BTS and do not see any problems,
like this, there.

The following are all the revelant php entries in the apache dir.

/etc/apache/httpd.conf: DirectoryIndex index.html index.php index.htm index.shtml index.cgi
/etc/apache/httpd.conf: AddType application/x-httpd-php .php
/etc/apache/mime.types:application/x-httpd-php phtml pht php
/etc/apache/mime.types:application/x-httpd-php-source phps
/etc/apache/mime.types:application/x-httpd-php3 php3
/etc/apache/mime.types:application/x-httpd-php3-preprocessed php3
/etc/apache/mime.types:application/x-httpd-php4 php4
/etc/apache/modules.conf:LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

The really confusing thing is the phpmyadmin runs out of the box so I
am at a loss as to why apache or firefox etc, can't run the
phpinfo.php file directly.

Any pointers appreciated!!!!


TIA, Wayne


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Sergio Basurto

unread,
Sep 2, 2004, 10:20:10 AM9/2/04
to
Can you state again the problem, I can help you but I
do not understand what exactly the problem is.

If you are trying to run a php file within a browser
without the help of a webbrowser it will be difficult,
is this the problem?

Regards

Ing. Sergio Basurto Juárez
Tel: 04455-85322945

Sergio Basurto

unread,
Sep 2, 2004, 10:40:10 AM9/2/04
to
On Thu, 02 Sep 2004 07:13:04 -0700 (PDT), "Sergio
Basurto" wrote:

>
> Can you state again the problem, I can help you but I
> do not understand what exactly the problem is.
>
> If you are trying to run a php file within a browser

> without the help of a webserver it will be difficult,

Wayne Topa

unread,
Sep 2, 2004, 1:00:10 PM9/2/04
to
Sergio Basurto(bas...@canada.com) is reported to have said:
> Can you state again the problem, I can help you but I
> do not understand what exactly the problem is.
>
> If you are trying to run a php file within a browser
> without the help of a webbrowser it will be difficult,
> is this the problem?
>

Using mozilla-firefox Ver 0.8
I _can_ execute a php program with
http://my.domain/pipinfo.php
or from a console
php ./phpinfo.php

I _can_not_ load that phpinfo.php file, and get it to run with
File -> Load File. Should the Load File, in firefox, or any browser,
be able to run the php file? Others were trying that and firefox was
offering to 'save' the file. Mine does not do that. Mine brings up a
blank window and hangs the browser.

I seem to recall being able to load/run php files from the File->Load
File when I was using php3.

Thanks

Wayne

--
Math problems? Call 1-800-[(10x)(ln(13e))]-[sin(xy)/2.362x]
_______________________________________________________

0 new messages