Click to See Complete Forum and Search --> : Problem :(


Maverick-XL
06-15-2006, 04:24 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 :
Code:
ScriptAlias /php/ "c:/server/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

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.

NogDog
06-15-2006, 09:42 AM
You might want to look into installing XAMPP, which automates the installation of Apache, MySQL, PHP, and Perl (along with some associated tools such as phpMyAdmin). See http://www.apachefriends.org/en/xampp.html for more info. This is much easier than trying to install each piece separately and manually.

Maverick-XL
06-15-2006, 09:59 AM
You might want to look into installing XAMPP, which automates the installation of Apache, MySQL, PHP, and Perl (along with some associated tools such as phpMyAdmin). See http://www.apachefriends.org/en/xampp.html for more info. This is much easier than trying to install each piece separately and manually.
Thanks very much, I think it will be easier for me now ;) Im downloading it right now, and I will try it.

Thanks again.