473,396 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Doing something silly in installing PHP

4
Hello everyone.

I am having a problem installing and configuring PHP 5.1.6. Initially I had it installed and working with Apache 2.2.3 and MySQL 5.0.24 but decided to abort and redo the installation when I had problems getting phpMyAdmin to work.

So far I seem to have gotten Apache up as I get the "It Works!" when I enter "http//localhost" into my browser.

I am trying to reinstall PHP now but when I enter "http://localhost/phpinfo.php" into my browser, I get my script back in response:

<? echo phpinfo() ?>

Does my problem ring a bell with anyone so that they can point me to an obvious error? I have gone through php.ini and http.conf until I am blue in the face and cannot find what I am doing wrong and I have been around computers long enough to suspect that it is something simple.

H E L P ? ?
Sep 2 '06 #1
4 1317
ronverdonk
4,258 Expert 4TB
All your script should contain is
[PHP]<?php
phpinfo();
?>[/PHP]

Ronald :cool:
Sep 2 '06 #2
Fensic
4
All your script should contain is
[PHP]<?php
phpinfo();
?>[/PHP]

Ronald :cool:
Unfortunately Ronald that did not solve my problem as I still get the script as my results. I think I need to go back to the beginning on this and try again. I will report any progress I make. All suggestions are still welcome in the meantime.
Sep 3 '06 #3
Its not a problem with PHPINFO.php .
Its a problem with your "server" . Its unable to parse the PHP , rather its returning back the same text as contained.

You should uninstall the full thing and go for XAMPP.
www.apachefriends.org

Or do a google search and download EASYPHP , thats good too.

If you face any similar problem , you can let us know here.

Rahul Agrawal
Developer
Web2003 Corporation
www.web2003corp.com
Sep 4 '06 #4
you should check your apache configuration file as well so that it knows where php is. I think. I'm new to all this but have had this problem before. I think.

Oh well, bye.
Sep 8 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Lee, Dustin | last post by:
I'm looking for an example of a well designed web application used to do sys-admin type functions. Our company has a fairly large internal python web-app that we use for managing DNS,...
4
by: pet100us | last post by:
Hi, Is there some program that is simular to java's hsqldb (http://hsqldb.sourceforge.net/). It is a relational database that can easily be used within a small java program without installing a...
0
by: Steve | last post by:
I'm posting this message here, so that someone googling here will be able to find it. I was having problems installing cx_Oracle on Solaris. The build would fail with a message: > ld: fatal:...
3
by: jaggi | last post by:
Hi all, I downloaded DB2 enterprise edition from partnerworld on ibm.com and unzipped and untarred it and copied it to CD and tried installing on AIX using SMIT. I am getting errors while...
7
by: dotnetnewbie | last post by:
I have been using .Net for over a year now mostly with Windows forms with no problems. I have just started to build a small web application with one .aspx page. It all works fine on my localhost...
2
by: C.O.Jones | last post by:
I've previously used version 7 and 2000. I've recently started to learn ASP.net. I've installed Visual Web Developer 2005 Express and this includes SQLServer 2005 in the installation. The task...
14
by: Tina | last post by:
My employer tracks productivity/performance of clinicians (how much they bill) each week, its averages for the month, and the 6 months. These averages are compared to their expected productivity....
25
by: Nathan Sokalski | last post by:
As we all know, IE7 is now available. However, it also cannot be installed side by side with IE6. This makes it very hard to test pages on both versions using the same machine. I am guessing that...
10
by: r035198x | last post by:
There are a lot of common C mistakes. I have put together the ones I consider to be the silliest made by C programmers. These are usually the source of the popular C programming tears and remembering...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.