php-windows Digest 10 Dec 2010 16:51:25 -0000 Issue 3896

Topics (messages 30446 through 30449):

windows 2008 R2, Apache 2.2, Php 5.3.4, phpinfo () renders as a white page
        30446 by: Göran Eriksson
        30447 by: Tommy Pham
        30448 by: Göran Eriksson
        30449 by: Pierre Joye

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
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 



--- End Message ---
--- Begin Message ---
> -----Original Message-----
> From: G?ran Eriksson [mailto:goraneriks...@vannasnet.se]
> Sent: Friday, December 10, 2010 5:05 AM
> To: php-wind...@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 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
> 

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


--- End Message ---
--- Begin Message ---
OMG short_open_tag = On

By design it didn't like my tag <? But by using short_open_tag = On it will. 
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



--- End Message ---
--- Begin Message ---
he is asking about apache 2.2....

On Fri, Dec 10, 2010 at 2:52 PM, Tommy Pham <tommy...@gmail.com> wrote:
>> -----Original Message-----
>> From: G?ran Eriksson [mailto:goraneriks...@vannasnet.se]
>> Sent: Friday, December 10, 2010 5:05 AM
>> To: php-wind...@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 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
>>
>
> 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
>
>



-- 
Pierre

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

--- End Message ---

Reply via email to