UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Our Sponsors
Latest Postings
Apache 2.0.63 and PHP5
by HighLander
05/14/08 03:36 AM
hello everybody
by Gizmo
05/10/08 11:10 PM
Saw this and instantly thought of you guys!
by Shinobi
05/03/08 05:54 PM
RE: Referbished Laptops
by Gizmo
05/02/08 05:29 AM
any way I can get mac os x leopard?
by Gizmo
04/28/08 06:29 AM
Podcasting, ideas and interests...
by Gizmo
04/26/08 07:12 PM
Cross-platform file sharing
by Horus
04/22/08 08:53 AM
Demonoid is back!
by Gizmo
04/15/08 07:24 PM
Topic Options
#45546 - 04/27/08 09:43 AM Apache 2.0.63 and PHP5
AccessDenied Offline
UGN Newbie

Registered: 03/05/02
Posts: 7
Using Windows xp, apache 2.0.63 and php 5. I've triple checked all of my config's and everything looks good until I try to load a simple php script. <?phpinfo();?> Instead of producing system info all I get is a white blank page, same thing with any php script. Anyone ever have this problem or have any idea's as to what's causing it please help me out. Thanks in advance.

Here's what I added to my httpd.conf

LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"

And in the php.ini

doc_root= "c:\apache\apache2\htdocs"

All the paths are correct and I don't receive any errors. It also does not try to download the script. Simply get a blank page. Thanks again for any help.
_________________________
Knowledge first, World Domination second

Top
Our Sponsors
Sponsor Our Sponsors

Top  
#45547 - 04/27/08 10:14 AM Re: Apache 2.0.63 and PHP5 [Re: AccessDenied]
Gizmo Administrator Online   shocked
Community Owner
*****

Registered: 02/28/02
Posts: 6837
Loc: Portland, OR; USA
I can't say I've ever setup Apache/PHP5 on a windows system outside of Uniform Server...

have you tried googling for an example configuration? have you validated your plugin directories?
_________________________
Donate to UGN Security here.
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#45548 - 04/27/08 10:21 AM Re: Apache 2.0.63 and PHP5 [Re: Gizmo]
AccessDenied Offline
UGN Newbie

Registered: 03/05/02
Posts: 7
yup and yup. Triple checked everything with examples, tutorials, anything I could find. It all has the same set-up directions that i followed.
_________________________
Knowledge first, World Domination second

Top
#45549 - 04/27/08 11:25 AM Re: Apache 2.0.63 and PHP5 [Re: AccessDenied]
Gizmo Administrator Online   shocked
Community Owner
*****

Registered: 02/28/02
Posts: 6837
Loc: Portland, OR; USA
Try changing your docroot to use:
doc_root= "c:\\apache\\apache2\\htdocs"

Or
doc_root= "c:/apache/apache2/htdocs"
_________________________
Donate to UGN Security here.
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#45625 - Yesterday at 03:36 AM Re: Apache 2.0.63 and PHP5 [Re: Gizmo]
HighLander Offline
UGN Member

Registered: 03/07/02
Posts: 266
Loc: Canada
You may of already solved this but it if not, then first from what I remember you need an ending slash in this line:

PHPIniDir "C:/php" -- should be
PHPIniDir "C:/php/"

Secondly have you setup the environment variable in windows ?

For PHP to work with Apache and to make the CLI available from any command prompt window, you need to add the PHP folder to the PATH environment variable.
_________________________
Unless you try something to which you have not already succeeded ~ Then you shall NEVER grow

Top



Moderator:  §intå×, Gizmo 
Forum Stats
6886 Members
44 Forums
9877 Topics
44444 Posts

Max Online: 677 @ 06/30/07 10:06 PM
Top Posters
Gizmo 6837
§intå× 3198
UGN Security 2776
IceMyst 1436
SilentRage 1273
Ice 1146
pergesu 1134
Infinite 1039
jonconley 954
Girlie 903
Newest Members
hzkj, antonioe, Ven, no_skill, tony1boo
6886 Registered Users
Who's Online
1 Registered (Gizmo), 0 Guests and 70 Spiders online.
Key: Admin, Global Mod, Mod


Donate

Get the Google FireFox Toolbar
Get Firefox!
Get FireFox!