windows 2008 R2, Apache 2.2, Php 5.3.4, phpinfo () renders as a white page

windows 2008 R2, Apache 2.2, Php 5.3.4, phpinfo () renders as a white page

am 10.12.2010 14:04:36 von goraneriksson

I have installed a clean windows 2008 R2, 2nic, No IIS.
Installed Apache 2.2, (msi format), added the page index.php with phpinfo(); ?> it renders as a text page (ok).
First try before that was with 1nic and co-op with IIS, using 2ipaddresses
though (didnt work either).
Then I installed php 5.3.4 (msi format) VC6 thread safe, apache 2.2.x
module, it automatically updates hhtpd.conf with;
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/PHP/"
LoadModule php5_module "C:/PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
Now the page renders just as a white page.

Renames php.ini to pphp.ini, restarts apache, now I can see the phpinfo()
ok.
(the idea was from others who had a white page)
Changed php to php 5.2.15, same error.
Seen that Ipv6 can be a problem, unbinded that from nic, same error.
Is there anyone who tested my config and got it to work?

Brgs Göran Eriksson



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: windows 2008 R2, Apache 2.2, Php 5.3.4, phpinfo () renders as a white page

am 10.12.2010 14:52:00 von Tommy Pham

> -----Original Message-----
> From: G?ran Eriksson [mailto:goraneriksson@vannasnet.se]
> Sent: Friday, December 10, 2010 5:05 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] windows 2008 R2, Apache 2.2, Php 5.3.4, phpinfo ()
> renders as a white page
>=20
> I have installed a clean windows 2008 R2, 2nic, No IIS.
> Installed Apache 2.2, (msi format), added the page index.php with > phpinfo(); ?> it renders as a text page (ok).
> First try before that was with 1nic and co-op with IIS, using =
2ipaddresses
> though (didnt work either).
> Then I installed php 5.3.4 (msi format) VC6 thread safe, apache 2.2.x
> module, it automatically updates hhtpd.conf with; #BEGIN PHP INSTALLER
> EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "C:/PHP/"
> LoadModule php5_module "C:/PHP/php5apache2_2.dll"
> #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL Now the page
> renders just as a white page.
>=20
> Renames php.ini to pphp.ini, restarts apache, now I can see the =
phpinfo()
> ok.
> (the idea was from others who had a white page) Changed php to php
> 5.2.15, same error.
> Seen that Ipv6 can be a problem, unbinded that from nic, same error.
> Is there anyone who tested my config and got it to work?
>=20
> Brgs Göran Eriksson
>=20

I'm unable to understand your situation. I'm running both IIS and my =
own 64
bit compilation of Apache httpd fine on Win08r2 with both NICs, one is
integrated the other is add-on wireless. What is your intention? Have =
each
webserver on separate NIC? If so, are you sure that you configured each
correctly? If both on the same NIC, port conflict? Look at the error =
logs
for Apache and in the Windows event viewer for IIS. NOTE: you must use =
PHP
VC6 binaries if you're using Apache's binary distribution and PHP as =
module
as it mentions in the download page. As for IIS, did you get the NTS =
build
to run as FastCGI? Only problem you should have concerning IPv6 on =
Windows
is relating to MySQL resolving host name, IIRC, which you'll have to use
IPv4 address instead.

Regards,
Tommy


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: windows 2008 R2, Apache 2.2, Php 5.3.4, phpinfo () renders as a white page

am 10.12.2010 15:17:54 von goraneriksson

OMG short_open_tag = On

By design it didn't like my tag Phew.
Very Sorry for my mistake. Wont happent again.
Regards Göran

I'm unable to understand your situation. I'm running both IIS and my own 64
bit compilation of Apache httpd fine on Win08r2 with both NICs, one is
integrated the other is add-on wireless. What is your intention? Have each
webserver on separate NIC? If so, are you sure that you configured each
correctly? If both on the same NIC, port conflict? Look at the error logs
for Apache and in the Windows event viewer for IIS. NOTE: you must use PHP
VC6 binaries if you're using Apache's binary distribution and PHP as module
as it mentions in the download page. As for IIS, did you get the NTS build
to run as FastCGI? Only problem you should have concerning IPv6 on Windows
is relating to MySQL resolving host name, IIRC, which you'll have to use
IPv4 address instead.

Regards,
Tommy



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: windows 2008 R2, Apache 2.2, Php 5.3.4, phpinfo ()renders as a white page

am 10.12.2010 17:51:18 von Pierre Joye

he is asking about apache 2.2....

On Fri, Dec 10, 2010 at 2:52 PM, Tommy Pham wrote:
>> -----Original Message-----
>> From: G?ran Eriksson [mailto:goraneriksson@vannasnet.se]
>> Sent: Friday, December 10, 2010 5:05 AM
>> To: php-windows@lists.php.net
>> Subject: [PHP-WIN] windows 2008 R2, Apache 2.2, Php 5.3.4, phpinfo ()
>> renders as a white page
>>
>> I have installed a clean windows 2008 R2, 2nic, No IIS.
>> Installed Apache 2.2, (msi format), added the page index.php with >> phpinfo(); ?> it renders as a text page (ok).
>> First try before that was with 1nic and co-op with IIS, using 2ipaddress=
es
>> though (didnt work either).
>> Then I installed php 5.3.4 (msi format) VC6 thread safe, apache 2.2.x
>> module, it automatically updates hhtpd.conf with; #BEGIN PHP INSTALLER
>> EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "C:/PHP/"
>> LoadModule php5_module "C:/PHP/php5apache2_2.dll"
>> #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL Now the page
>> renders just as a white page.
>>
>> Renames php.ini to pphp.ini, restarts apache, now I can see the phpinfo(=
)
>> ok.
>> (the idea was from others who had a white page) Changed php to php
>> 5.2.15, same error.
>> Seen that Ipv6 can be a problem, unbinded that from nic, same error.
>> Is there anyone who tested my config and got it to work?
>>
>> Brgs Göran Eriksson
>>
>
> I'm unable to understand your situation. =A0I'm running both IIS and my o=
wn 64
> bit compilation of Apache httpd fine on Win08r2 with both NICs, one is
> integrated the other is add-on wireless. =A0What is your intention? =A0Ha=
ve each
> webserver on separate NIC? =A0If so, are you sure that you configured eac=
h
> correctly? =A0If both on the same NIC, port conflict? =A0Look at the erro=
r logs
> for Apache and in the Windows event viewer for IIS. =A0NOTE: =A0you must =
use PHP
> VC6 binaries if you're using Apache's binary distribution and PHP as modu=
le
> as it mentions in the download page. =A0As for IIS, did you get the NTS b=
uild
> to run as FastCGI? =A0Only problem you should have concerning IPv6 on Win=
dows
> is relating to MySQL resolving host name, IIRC, which you'll have to use
> IPv4 address instead.
>
> Regards,
> Tommy
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--=20
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php