Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #4583 > unrolled thread

phpinfo is not showing in php4 version

Started byPrasath Ramachandiran <prasath.ram8@gmail.com>
First post2012-01-22 22:29 -0800
Last post2012-01-23 08:20 -0500
Articles 3 — 3 participants

Back to article view | Back to comp.lang.php


Contents

  phpinfo is not showing in php4 version Prasath Ramachandiran <prasath.ram8@gmail.com> - 2012-01-22 22:29 -0800
    Re: phpinfo is not showing in php4 version Arno Welzel <usenet@arnowelzel.de> - 2012-01-23 08:46 +0100
    Re: phpinfo is not showing in php4 version Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-23 08:20 -0500

#4583 — phpinfo is not showing in php4 version

FromPrasath Ramachandiran <prasath.ram8@gmail.com>
Date2012-01-22 22:29 -0800
Subjectphpinfo is not showing in php4 version
Message-ID<ab7eee63-0b0a-4a1a-a0b9-2e4b9d42b017@u20g2000yqb.googlegroups.com>
hi,

i installed php4.4 in a debian machine help of this link,

http://jurajsplayground.com/2009/05/16/installing-php4-apache22-from-source-ubuntu-904-jaunty-server/

once done, in control panel i can view the version of php as

php -v shows

PHP 4.4.9 (cgi) (built: Jan 12 2012 02:46:36)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

but, when i am trying to view the php file in web page, download pop-
up box is coming. i can't able
to view any php file using browser..

[toc] | [next] | [standalone]


#4584

FromArno Welzel <usenet@arnowelzel.de>
Date2012-01-23 08:46 +0100
Message-ID<4F1D1042.6030901@arnowelzel.de>
In reply to#4583
Prasath Ramachandiran, 2012-01-23 07:29:

> i installed php4.4 in a debian machine help of this link,
> 
> http://jurajsplayground.com/2009/05/16/installing-php4-apache22-from-source-ubuntu-904-jaunty-server/
> 
> once done, in control panel i can view the version of php as
> 
> php -v shows
> 
> PHP 4.4.9 (cgi) (built: Jan 12 2012 02:46:36)
> Copyright (c) 1997-2008 The PHP Group
> Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
> 
> but, when i am trying to view the php file in web page, download pop-
> up box is coming. i can't able
> to view any php file using browser..

What do you mean by "trying to view the php file in web page" or "view
any php file using browser"?

If you try to open the files via http (e.g. http://localhost/test.php)
and this does not work then the PHP handler is missing in the web server
configuration.


-- 
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de

[toc] | [prev] | [next] | [standalone]


#4589

FromJerry Stuckle <jstucklex@attglobal.net>
Date2012-01-23 08:20 -0500
Message-ID<jfjmrc$h87$1@dont-email.me>
In reply to#4583
On 1/23/2012 1:29 AM, Prasath Ramachandiran wrote:
> hi,
>
> i installed php4.4 in a debian machine help of this link,
>
> http://jurajsplayground.com/2009/05/16/installing-php4-apache22-from-source-ubuntu-904-jaunty-server/
>
> once done, in control panel i can view the version of php as
>
> php -v shows
>
> PHP 4.4.9 (cgi) (built: Jan 12 2012 02:46:36)
> Copyright (c) 1997-2008 The PHP Group
> Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
>
> but, when i am trying to view the php file in web page, download pop-
> up box is coming. i can't able
> to view any php file using browser..
>
>

Why did you install such an old version?  PHP4.x hasn't been supported 
for years.

Did you install a web server also?  Did you configure your web server to 
support PHP?

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web