Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: PHP Pages BLANK (Apache 2.2.4 and PHP 5.2.1) |
|
Author |
|
vuunderboy
Joined: 16 Mar 2007 Posts: 3
|
Posted: Fri 16 Mar '07 8:02 Post subject: PHP Pages BLANK (Apache 2.2.4 and PHP 5.2.1) |
|
|
http://www.apachelounge.com/viewtopic.php?t=570
I have followed these posts to a "T" and am still getting blank php pages when tested on http://localhost/phptest.php
1) Apache is installed correctly, as I see the proper page once I browse to localhost
2) PHP5 seems to be installed correctly, as I am getting no "parse errors" (other than the blank page)
3) The Windows PATH is set correctly
4) httpd.comf reads:
# ===================
# BEGIN: PHP5
# ===================
LoadModule php5_module "e:/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir "e:/PHP/"
# ===================
# END: PHP5
# ===================
5) php.ini file reads:
doc_root = "E:\Apache\Apache2\htdocs"
extension_dir ="E:\PHP\ext"
What else am I missing? I am completely frustrated with this. I have test pages created from both notepad as well as dreamweaver which look like:
<?php phpinfo(); ?>
as well as other posted examples, all of which yield blank display pages. No errors or anything else...
Ideas please??
~Scott~
Last edited by vuunderboy on Fri 16 Mar '07 17:47; edited 1 time in total |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7396 Location: EU, Germany, Next to Hamburg
|
Posted: Fri 16 Mar '07 11:02 Post subject: |
|
|
Is anything in your error.log?
Please turn on error displaying in your php.ini
Code: |
error_reporting = E_ALL & ~E_NOTICE
display_errors = On
|
|
|
Back to top |
|
vuunderboy
Joined: 16 Mar 2007 Posts: 3
|
Posted: Fri 16 Mar '07 17:01 Post subject: Weird Error Log... |
|
|
The Error log is huge and looks as seen below. My extension directory is set fine. All necessary dll files are in that directory as well. Could there be a problem with the PHP installation?
============
PHP ERROR LOG:
===============
[16-Mar-2007 12:03:35] PHP Warning: PHP Startup: Unable to load dynamic library 'E:\PHP\ext\php_curl.dll' - The specified module could not be found.
in Unknown on line 0
Mod note: Cutted out the huge error log!!
Last edited by vuunderboy on Fri 16 Mar '07 18:12; edited 1 time in total |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7396 Location: EU, Germany, Next to Hamburg
|
Posted: Fri 16 Mar '07 18:03 Post subject: |
|
|
If you call
http://localhost/phptest.php in your browser and click view source. what do you get?
Can you view normal html pages? |
|
Back to top |
|
vuunderboy
Joined: 16 Mar 2007 Posts: 3
|
Posted: Fri 16 Mar '07 18:28 Post subject: Problem Fixed... |
|
|
For some reason, when I overwrote the ext directory with the files from the .zip file (www.php.net) as opposed to using the MSI installer, everything works...
Thanks for all of the suggestions
~S~ |
|
Back to top |
|
|
|
|
|
|