473,407 Members | 2,598 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,407 software developers and data experts.

Apache Module of PHP on WindowsXP

I have installed Apache2.2 (C:\Program Files\Apache Software
Foundation\Apache2.2) and it works..
Then I have installed php5 (c:\php)

To configure Apache to use php as the Apache Module I did the
following:
Renamed the file php.ini-recommended to php.ini and moved it in
c:\windows\
Copied file php5ts.dll and moved it to c:\windows\system

Added to httpd.conf file these three entry:
- - - - - - - - - - - - - - - -- - - -
LoadModule php5_module "c:/php/php5apache2.dll"

# configure the path to php.ini
PHPIniDir "C:/widnows/"

AddType application/x-httpd-php .phtml .php

- - - -- - - - - - -

As a result Apache doesn't parse php
I tried to change the location of php.ini file several times but it
still doesn't work.
Please help,
Thank you!

Jul 27 '06 #1
3 2130
php-newbe wrote:
I have installed Apache2.2 (C:\Program Files\Apache Software
Foundation\Apache2.2) and it works..
Then I have installed php5 (c:\php)

Apache 2.2 doesn't work with supplied PHP5 dll objects. You must compile
the module from the source code or use Apache 2.0.54.
--
Mladen Gogala
http://www.mgogala.com
Jul 27 '06 #2

Mladen Gogala wrote:
php-newbe wrote:
I have installed Apache2.2 (C:\Program Files\Apache Software
Foundation\Apache2.2) and it works..
Then I have installed php5 (c:\php)


Apache 2.2 doesn't work with supplied PHP5 dll objects. You must compile
the module from the source code or use Apache 2.0.54.
--
Mladen Gogala
http://www.mgogala.com
Dear Mladen:

Thank you very much. I've installed the Apache 2.0.57 (it was avalable
as Legacy version)
but it still does not work. would appreciate if you give me some
advice on what to do to make php work with Apache.
THanks,
Vera
P.S. I loved you web site.

Jul 27 '06 #3
On 27 Jul 2006 14:54:11 -0700, "php-newbe"
<ve*********@verizon.netwrote:
>
Mladen Gogala wrote:
>php-newbe wrote:
I have installed Apache2.2 (C:\Program Files\Apache Software
Foundation\Apache2.2) and it works..
Then I have installed php5 (c:\php)


Apache 2.2 doesn't work with supplied PHP5 dll objects. You must compile
the module from the source code or use Apache 2.0.54.
--
Mladen Gogala
http://www.mgogala.com

Dear Mladen:

Thank you very much. I've installed the Apache 2.0.57 (it was avalable
as Legacy version)
but it still does not work. would appreciate if you give me some
advice on what to do to make php work with Apache.
THanks,
Vera
P.S. I loved you web site.
You have to add a line:

LoadModule php5_module c:\php\php5apache2.dll

in your httpd.conf file. It should work with Apache 2.0.57, but
there's a bug you need to work around in Apache 2.2.x if you
don't have the Microsoft Visual C++ compiler (as I don't). Get
the php5apache2_2.dll file from the current php 5.2 build and put
it in your c:\php directory, and modify the LoadModule line to
refer to it rather than php5apache2.dll
--
Roger

--
Posted via a free Usenet account from http://www.teranews.com

Aug 25 '06 #4

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

Similar topics

2
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...
2
by: TrashOverride | last post by:
Hello guys i have a question about apache... i have installed Apache 2.0.54 PHP 5 MySQL 4.01 and i was wondering if i could use a name to access my apache server -> not to use http://localhost but...
3
by: Ryan Riehle | last post by:
Hi All! Trying to upgrade to Apache 2.0.49 and getting compile errors related to mod_auth_pgsql, any clue?: make: Entering directory `/usr/src/httpd-2.0.49'...
1
by: php-newbe | last post by:
Dear PHP/MySQL pro: I have successfully installed MySQL, Apache 2, and php5 on WindowsXP. Both Apache server and PHP work fine. MySQL is accessible from the MySQL monitor, but I cannot access...
0
by: zhenya.tkachenko | last post by:
Hi! Have a problem with mod_auth_mysql. Compilation and installation of module done ok: # /usr/local/apache/bin/apxs -c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient -lm -lz...
3
by: Sidu | last post by:
Ok well i'm still very new to apache, mysql, and php.. let me explain everything i have set up.. I have installed Appserv, for those of you who are unfamiliar with it.. it installs mysql, php,...
3
by: John Murtari | last post by:
Folks, Trying to build php 4.4.6 and apache 1.3.37 on RHEL 4. Each of them builds and installs okay, but when we start apache we get: Syntax error on line 238 of...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
6
by: josequinonesii | last post by:
I've searched, I've read, I've tested and re-read numerous post but to no avail yet... Quite simply, the settings I've applied to my httpd.conf, httpd-vhost.conf and my hosts files simply does not...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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.