473,725 Members | 2,264 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Doing something silly in installing PHP

4 New Member
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 1335
ronverdonk
4,258 Recognized Expert Specialist
All your script should contain is
[PHP]<?php
phpinfo();
?>[/PHP]

Ronald :cool:
Sep 2 '06 #2
Fensic
4 New Member
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
rkagrawal
13 New Member
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.apachefrien ds.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
plumpnation
16 New Member
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
1318
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, adding/removing pop accounts, installing/upgrading/removing instances of our (c/PHP based) customer product, etc. Our home grown web app works very well and has been around and growing for 2+ years. In my mind things are getting large enough that we could stand...
4
521
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 MySQL, Postgresql etc. It is used within the same virtual machine whitout installing anything extra. Is there somthing similar for python? I need a small database that I can build into my application. When the program starts the database
0
2631
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: file /apps/oracle/prod/9.2/lib/libclntsh.so: wrong ELF class: ELFCLASS64 I found the solution on Grig Gheorghiu's blog. Grig had similar problems when installing on UNIX, specifically AIX. You can find his
3
4123
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 installing DB2. they seems like related to java or dependent on java. Is there anyone who has faced some problem installing DB2? Do i have to install Java from expansion pack or bonus pack before installing DB2 regards,
7
1090
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 etc... I now want to push it to my live Internet site. However I don't know what files to ftp across and where to place them (the site ISP says in a folder called /xyz).
2
1430
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 manager and and the list of services definitely show I've got SQLServer running on my computer. Here's the problem: how do I actually use it? I can't find any tools to create and access databases.
14
3495
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. However, the expectation changes - it may be 60% for a while, then change to 50%. Initially, I was averaging the expectation, along with the productivity, but what I'm being asked is to look at the average productivity/performance compared to...
25
1638
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 most businesses simply have multiple machines, some with IE6 and some with IE7. However, being a home developer who develops as both a personal hobby and potential career, I need a way to test both versions from home with the same machine. The only...
10
61553
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 the items on this page will brighten your C programming days somewhat. (1) Values returned by mathematical functions on domain errors are implementation defined. The best way of handling such domain errors is to ensure that they never arise at...
0
8752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9179
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8099
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3228
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.