Page 1 of 1

having trouble getting apache to work with php

Posted: Mon Jan 20, 2003 12:30 am
by sos
hello
I am having this problem I just installed apache and php on my computer which runs win2k. Well I am having trouble getting apache configured to use php. Like when ever I type "localhost/test.php" it causes a page cannot be displayed error. I tried to configure apache but nothing I tried worked so far. I just downloaded the lastest version of php and the lastest version of apache. Please can any one help me configure apache so that it will work with php or tell me what I have to do thank you all so much.

Posted: Mon Jan 20, 2003 12:59 am
by volka
what exactly is the error?

its more of an page cannot be displayed message then a erro

Posted: Mon Jan 20, 2003 1:42 am
by sos
whats happening is I am not really getting an error just a page not being displayed message when I know for sure the file is in the directory. well I am trying to figure out the correct way to edit my httpd.conf file so that apache will be able to process .php files this is how I got it set up php is installed in my c:/PHP and apache is in my program files/ Apache Group / Apache2 if that means anything well can you please help me set up this file I already copied php4ts.dll into the winnt/system32 folder and the php.ini to the winnt folder now I just need to figure how to edit the file so that it everything clicks you know thank you for your help.

Posted: Mon Jan 20, 2003 2:06 am
by volka
first check wether apache is running at all via http://localhost/
This should show up the welcome page of your apache.
Then read (and follow) http://www.php.net/manual/en/install.apache2.php
check your installation with the script

Code: Select all

<?php phpinfo(); ?>
as it is simple but will also provide useful information

Just get phptriad ... php,mysql,apaache .... setup does all

Posted: Mon Jan 20, 2003 2:33 am
by elipollak
If you're using windows, why don't u just get phptriad
It has php,mysql and apache for you.
It installs it all for you and there's no dramas.


I highly recommend it.
I use it and have found it great and have not had a single problem
:)

Eli

Posted: Mon Jan 20, 2003 3:38 am
by sane993

Posted: Mon Jan 20, 2003 4:13 pm
by sos
Problem is solved. I went the easy way and downloaded PHPTRIAD, Thanks E and Thank you all for answering every aspect of my question.