Problem
Posted: Thu Jun 15, 2006 2:43 am
Hi all,
Im sorry if i am posting in wrong place but i have a problem, that i cannot fix...
I installed Apache 2.2 on my PC, also I downloaded PHP Installer and installed is aswell. I am new at this, so i read a tutorial how to install it. I did EXACTLY all the insturctions. Also I added the provided code to httpd.conf :
Then i created phpinfo.php file, and put it in Apache htdocs folder. But when i try to access it typing http://localhost or 127.0.0.1 it says that I do not have permission to acess the file. I read on one forum and tryed to change php.exe to php-cgi.exe.
Can somebody please help me?
PS. I wanted to ask also. It is ok when I had installed Apache it says on index.html(in htdocs) only "It Works!", but not the page describing Apache itself(like in Apache 4.2 which I tryed too). But it seems that Apache is working, I can access HTML files.
PSS. I tryed to stop/start/restart Apache but it doesnt work either. I just unistalled Apache but on my localhost it says "it Works" anyway, when i trype http://localhost
Sorry for my bad english.
Im sorry if i am posting in wrong place but i have a problem, that i cannot fix...
I installed Apache 2.2 on my PC, also I downloaded PHP Installer and installed is aswell. I am new at this, so i read a tutorial how to install it. I did EXACTLY all the insturctions. Also I added the provided code to httpd.conf :
Code: Select all
ScriptAlias /php/ "c:/server/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"Can somebody please help me?
PS. I wanted to ask also. It is ok when I had installed Apache it says on index.html(in htdocs) only "It Works!", but not the page describing Apache itself(like in Apache 4.2 which I tryed too). But it seems that Apache is working, I can access HTML files.
PSS. I tryed to stop/start/restart Apache but it doesnt work either. I just unistalled Apache but on my localhost it says "it Works" anyway, when i trype http://localhost
Sorry for my bad english.