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.
having trouble getting apache to work with php
Moderator: General Moderators
its more of an page cannot be displayed message then a erro
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.
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 scriptas it is simple but will also provide useful information
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(); ?>Just get phptriad ... php,mysql,apaache .... setup does all
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
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
good tutorial : http://fravia.2113.ch/phplab/phpinstall.htm