Page 1 of 1

Problem

Posted: Thu Jun 15, 2006 2:43 am
by _MaVeRiCk-
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: Select all

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.

Posted: Thu Jun 15, 2006 4:27 am
by anjanesh
Apache 2.2.2 is very new - Im assuming you are using Windows as you've mentioned c:/
In the manual, its mentioned
Note: Users of Apache 2.2.x may use the documentation below except the appropriate DLL files are instead named php4apache2_2.dll and php5apache2_2.dll. These exist in the PHP distribution as of PHP 5.2.0. See also http://snaps.php.net/

Posted: Thu Jun 15, 2006 6:06 am
by _MaVeRiCk-
So, that means I must rename php5apache2.dll to php5apache2_2.dll?
Well, If i am saying cr*p, Im new to this and I do not understand how it works well yet :P

Posted: Thu Jun 15, 2006 9:54 am
by feyd
Do you need features that are found in Apache 2.2? Why not use Apache 2 or Apache 1?

Posted: Fri Jun 16, 2006 1:09 pm
by anjanesh
So, that means I must rename php5apache2.dll to php5apache2_2.dll?
No - download Win32 Packages/Stable (5.2.x-dev)/php5.2 (zip) (8.3M) and get the php5apache2_2.dll from there and place it in C:\PHP\ext

Posted: Fri Jun 16, 2006 1:20 pm
by RobertGonzalez
And to help others better help you, could you please a bit more descriptive title to your posts? Thanks.