Welcome Guest, Not a member yet? Register   Sign In
php 5.3 in apache in windows
#1

[eluser]FutureKing[/eluser]
hi,

I want to install PHP5.3 in apache2.2 in Windows XP. How to install? I have installed apache but installing php 5.3 looks difficult.
IN php5.2 there were option to select webserver in which we want to install php. But in php 5.3 installer there is no such option to install it in apache.

Please help
#2

[eluser]jedd[/eluser]
[quote author="FutureKing" date="1246572656"] I have installed apache but installing php 5.3 looks difficult. [/quote]

Oooh .. best not do it, then.

Perhaps the Microsoft Windows or PHP web sites might be better places to seek information on how to install PHP on Microsoft Windows?
#3

[eluser]srisa[/eluser]
You are better off installing it manually using the zip file. And then
Code:
LoadModule php5_module "C:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
in the httpd.conf to handle the php page requests through apache.
"C:/php/php5apache2_2.dll" should be replaced with full path to the dll file on your machine.
#4

[eluser]Chad Fulton[/eluser]
You should also note that there are issues with PHP 5.3 and CodeIgniter. The URI filter will fail by default (http://codeigniter.com/bug_tracker/bug/7126/).
#5

[eluser]FutureKing[/eluser]
[quote author="Chad Fulton" date="1246576407"]You should also note that there are issues with PHP 5.3 and CodeIgniter. The URI filter will fail by default (http://codeigniter.com/bug_tracker/bug/7126/).[/quote]
Oh! Is it possible to install both version of php 5.2 and 5.3 on same server(but different virtual hosts)?

Quote:You are better off installing it manually using the zip file. And then
LoadModule php5_module "C:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php

in the httpd.conf to handle the php page requests through apache.
“C:/php/php5apache2_2.dll” should be replaced with full path to the dll file on your machine.

Thanks! that worked perfectly. But just one more problem. I have several virtual hosts i.e.
server1.localhost
server2.localhost
system.localhost
localhost

php only working on http://localhost not on other virtual hosts. How to enable php 5.3 on other vhosts too.
#6

[eluser]srisa[/eluser]
I had those directives in the httpd.conf and i have several virtual hosts running php. I'm not much of an apache guy, so i cannot say what the exact problem is.
#7

[eluser]FutureKing[/eluser]
[quote author="srisa" date="1246729953"]I had those directives in the httpd.conf and i have several virtual hosts running php. I'm not much of an apache guy, so i cannot say what the exact problem is.[/quote]

NO PROBLEM. My problem has solved.
BTW thanks to all for helping me.
#8

[eluser]Barouma[/eluser]
Setting up Apache and PHP can be difficult, especially using Windows XP. However, there is a free software application that can automate the process for you. This software is called Apache2Triad. It streamlines the entire process and no configuration is needed.




Theme © iAndrew 2016 - Forum software by © MyBB