Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: [PHP-INSTALL] PHP5 - apache - WinXP
On Sat, 2004-08-21 at 09:22, Bilal Shahid wrote:
> I am trying to run PHP5 with apache Web Server 1.3 om WinXP. This is my
> first experience with these kinds of products as this is not my domain.
>
> I have installed both of the products on my machine and modified the
> configuration files of both as following:
>
> apache - httpd.conf:
>
> AddType application\x-httpd-php .php
> LoadModule php5_module "C:\php\php5apache.dll"
> SetEnv PHPRC C:\windows
> AddModule mod_php5.c
>
> PHP - php.ini:
>
> For this I followed all steps in the Installation guide like moving php.in
i
> to C:\windows etc. Also the following:
>
> doc_root = C:\apche\htdocs
>
> Now when I give this URL in my Web Browser: http://localhost/test.php (or
> http://127.0.0.1/test.php) nothing shows up; just a plain white page with
> nothing on it (not even an error message). test.php is just a simple php
> file.
>
> Please let me know if I am doing anything wrong or missing a step in the
> installation of either PHP or Apache. Its kinda urgent.

PHP on MS Windows is not my thing, but I've not seen a reply so I'll try
to give some pointers.

Firstly, does and ordinary .html file work correctly? This is just to
check the webserver is working.

The fact that you have a LoadModule line tells us you have PHP
configured as a DSO rather than CGI, so you do not need the doc_root
setting in php.ini (according to the text in php.ini).

Presumably you have set DocumentRoot in httpd.conf (to c:\apache\htdocs
?). Also, just checking, the doc_root you give has "apche" rather than
"apache", is this just a typo on your email?

Getting a blank screen I seem to remember has come up before with PHP on
MS Windows, you could search the bugs at http://bugs.php.net for and
answer. It would also be a good idea to search the archives of  this
list (available at http://lists.php.net but do not seem to be
searchable, though a searchable one is at http://marc.theaimsgroup.com
).

You could also search the php-windows list (at the same urls), or if all
else fails, post there. Have you tried a google search?

Hope this helps

Chris

Report this thread to moderator Post Follow-up to this message
Old Post
Chris Hewitt
08-21-04 01:58 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Installation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:47 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.