473,500 Members | 1,963 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

installing php on apache2/windows xp

Sid
hello!

i am a newbie and 'am trying to install php 5.0.3 on apache 2.0.52 on
windows xp sp1.

the problem i am getting is whenever i call a .php page in my web
browser e.g. http://localhost/test.php, contents on test.php file are
displayed on web browser, instead on the result. e.g. my test.php file
has:

Today's date is: <? print (date ("M d, Y")); ?>

this whole message is displayed when i call http://localhost/test.php
instead of today;s date.

i am a newbie and don't know much.

i shall greatly appreciate if you can help me out.
thanks for looking,

regards,
siddharth

Jul 17 '05 #1
7 2003
Sid wrote:
hello!

i am a newbie and 'am trying to install php 5.0.3 on apache 2.0.52 on
windows xp sp1.

the problem i am getting is whenever i call a .php page in my web
browser e.g. http://localhost/test.php, contents on test.php file are
displayed on web browser, instead on the result. e.g. my test.php file
has:

Did you tell Apache to use the php_module and what to do with php
extensions ? Is your php.ini correct and in the correct place ?

(See the PHP install readme for details on how to)
HTH
Schraalhans
Jul 17 '05 #2
Sid wrote:
hello!

i am a newbie and 'am trying to install php 5.0.3 on apache 2.0.52 on
windows xp sp1.


Save yourself much trouble.
Install XAMPP.
http://www.apachefriends.org/en/xampp.html

xampp contains apache, PHP, MySQL, and some other related
open-source packages.

XAMPP is the best solution to developing web content on a Windows
box where the intended target platform for actual hosting is a
Unix host.

--
The name, "Rex Karz" is a pseudonym. The From: email address
is a spam trap. Messages sent to that address may cause the
sender's IP-address to be listed in one or more DNSBls.
Jul 17 '05 #3
I have installed PHP v5.0.3 and Apache 2.0.53 on my Windows XP system
and am trying to cofigure PHP as a Module. I tried following the
Documentation on PHP.net
(http://us2.php.net/manual/en/install...ws.apache2.php) but I didn't
find the php5apache2.dll as the doc was expecting me to set

LoadModule php5_module "c:/php/php5apache2.dll"

But there is a php5ts.dll, so I just set the LoadModule ot point ot it.

Now Apache will not start :o(

What am I doing wrong? Please help.

- manzoor

Jul 17 '05 #4
"Rex Karz" wrote:
Sid wrote:
hello!

i am a newbie and 'am trying to install php 5.0.3 on apache

2.0.52 on
windows xp sp1.


Save yourself much trouble.
Install XAMPP.
http://www.apachefriends.org/en/xampp.html

xampp contains apache, PHP, MySQL, and some other related
open-source packages.

XAMPP is the best solution to developing web content on a
Windows
box where the intended target platform for actual hosting is a

Unix host.

--
The name, "Rex Karz" is a pseudonym. The From: email address
is a spam trap. Messages sent to that address may cause the
sender's IP-address to be listed in one or more DNSBls.


I also recommend using a package. It will save you all the trouble
and isolates you from detail that you really don’t need to know. I
use appserv.

--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/PHP-installi...ict189896.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=678608
Jul 17 '05 #5
Thanx.

"appserv" (http://www.appservnetwork.com/) seems like a Windows only
solution. I need to the same on Linux. What would be a comparable
solution there?

- manzoor

Jul 17 '05 #6
"user2718" wrote:
Thanx.

"appserv" (http://www.appservnetwork.com/) seems like a
Windows only
solution. I need to the same on Linux. What would be a
comparable
solution there?

- manzoor


xampp recommended in earlier posts also works for Linux....

--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/PHP-installi...ict189896.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=679229
Jul 17 '05 #7
Manzoorul Hassan wrote:

I have installed PHP v5.0.3 and Apache 2.0.53 on my Windows XP system
and am trying to cofigure PHP as a Module. I tried following the
Documentation on PHP.net
(http://us2.php.net/manual/en/install...ws.apache2.php) but I didn't
find the php5apache2.dll as the doc was expecting me to set

LoadModule php5_module "c:/php/php5apache2.dll"

But there is a php5ts.dll, so I just set the LoadModule ot point ot it.

Now Apache will not start :o(

What am I doing wrong? Please help.

- manzoor


Manzoor,

Why don't you have a php5apache2.dll module? This is the one you need
to load, as per the documentation, and it exists on my system.

Check to ensure you downloaded the correct file.

--

To reply, delete the 'x' from my email
Jerry Stuckle,
JDS Computer Training Corp.
js*******@attglobal.net
Member of Independent Computer Consultants Association - www.icca.org
Jul 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2874
by: michael newport | last post by:
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In...
3
5489
by: Vik Rubenfeld | last post by:
I'm a newbie to Apache. This week I installed my first Apache 2.0 server, and it's working fine. I then installed PHP. When I ran the PHP test file ("test.php"), the actual text contents of the...
5
2782
by: Ad Astra | last post by:
I am completely new to PHP and am finding installation the most difficult part to understand and implement. Could someone please review the rather long missive below and assist me? I have...
2
2220
by: Bill McFarland | last post by:
Hi folks. I'm installing PHP 5 with Apache 2 as a module (also with MySQL embedded in php as an extension along with gd and tiny) on a Win2003 server. When I start Apache2 as a service without...
2
14141
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
1
1633
by: bissatch | last post by:
Hi, I have had to reinstall windows and at present I am currently trying to put back in place my apache2/php4 setup. I have installed apache and I get the http://localhost 'apache is...
11
2890
by: gregsands | last post by:
Hi Im trying to install PHP 5.05 on Windows XP running Apache 2.0.54 Apache is running fine and ive made all the changes to the pnp.ini file and Apache config file, restarted Apache but all I get...
5
1749
by: Samuel | last post by:
Can someone please help me install php on apache? I downloaded the latest stable msi installer. Left it with default options unless i specifically needed to change them (e.g. server). Then I went...
9
25644
usafshah
by: usafshah | last post by:
Hi guys I'm using fedora core 6, php5 and apache2, i downloaded gd2 compiled and test with gddemo and its working fine... php is located: /usr/local/php gd is located: /usr/local/gd ...
0
7136
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
7018
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...
0
7182
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
7232
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...
1
6906
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
7397
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
3110
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3106
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1430
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 ...

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.