Hash: SHA1

It doesn't sound like php is installed correctly.
Php code is normally interpreted by the web server.
Which, in turn, returns HTML code to the
web browser.

For example, the Redhat Apache file
'/etc/httpd/conf.d/php.ini' contains
the line 'AddHandler php5-script .php'
which tells the Apache web server to run
files with the '.php' extension through the php

Also, HTML code normally contains a header that the browser
should recognize.

i.e. 'view source' contains the document type of HTML at the top
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

If the browser recognizes the document type as html,
it shouldn't ask you to 'save to file'.

Try 'yum list installed | grep php' to see if php
is installed.

You should see something like:

> [root@vcl conf.d]# yum list installed | grep php
> php.x86_64                                 5.1.6-27.el5_5.3            
> installed
> php-cli.x86_64                             5.1.6-27.el5_5.3            
> installed
> php-common.x86_64                          5.1.6-27.el5_5.3            
> installed
> php-devel.x86_64                           5.1.6-27.el5_5.3            
> installed
> php-gd.x86_64                              5.1.6-27.el5_5.3            
> installed
> php-ldap.x86_64                            5.1.6-27.el5_5.3            
> installed
> php-mbstring.x86_64                        5.1.6-27.el5_5.3            
> installed
> php-mcrypt.x86_64                          5.1.6-15.el5.centos.1       
> installed
> php-mysql.x86_64                           5.1.6-27.el5_5.3            
> installed
> php-pdo.x86_64                             5.1.6-27.el5_5.3            
> installed
> php-pear.noarch                            1:1.4.9-6.el5               
> installed
> php-pecl-apc.x86_64                        3.0.19-2.el5                
> installed
> php-pecl-memcache.x86_64                   2.2.6-1.el5                 
> installed
> php-xml.x86_64                             5.1.6-27.el5_5.3            
> installed
> php-xmlrpc.x86_64                          5.1.6-27.el5_5.3            
> installed

I'm guessing we've got a chicken and the egg problem. How go you run
'testsetup.php' to test your php installation before you've installed

On 11/29/2011 1:06 PM, ben.m...@valpo.edu wrote:
> Hi,
> I'm having issues testing the VCL frontend code.  I'm trying to open the
> testsetup.php file in firefox, but it Firefox is prompting to have me
> open or download the file.  I am trying to open this up locally for now,
> but I don't know if I did something wrong when modifying conf.php or
> secrets.php, or if it's something with the server.  If anyone has any
> insight, I'd appreciate it.
> Thanks,
> --
> Benjamin B. Macy
> Valparaiso University
> Student Senate Junior Representative
> Student Alumni Association
> Sigma Phi Epsilon
> Electrical Engineering Student
> ben.m...@valpo.edu <mailto:ben.m...@valpo.edu>
> 616.648.3516

- -- 
Jim O'Dell
Network Analyst
California State University Fullerton
Email: jod...@fullerton.edu
Phone: (657) 278-2256
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


Reply via email to