On Sun, 13 May 2001 22:54:42 +0200, you wrote:

I assume you set up an alias (scriptalias probably) in your httpd.conf file.
Have you tried running the test.php by using the url:

http://localhost/php/test.php

Or, if your alias is /php4/, then:

http://localhost/php4/test.php

If that doesn't work, then I can't really see what you might be doing wrong.
If you like, send my your httpd.conf and your php.ini and I'll take a look
at them (no guarantees, though).

Alan

>Hi Alan
>Thank you, but i have  not yet resolved the problem, even if i reduced it.
>So, i follewed what you said to me about doc_root. Furthermore i became
>aware of one my mistake: i put inside the file httpd.conf of Apache  the row
>
>Port 3000
>
>that is wrong. This is right
>
>Port 80
>
>So Apache works fine.
>I did the change inside  the file php.ini that  is placed into C:\Windows.
>So I have:
>doc_root=D:\Inetpub\Scripts\Php;
>
>and Document_root of Apache is:
>D:\programs\Apache Groups\Apache
>If i call http://localhost/  then i see the home page,
>if i call  http://localhost/test.php then the brouser goes into a  waiting
>state. I read in the low bar:
>Connect: host localhost contacted.Waiting for replay.
>The file test.php, coming with PHP, i put into
>D:\Inetpub\Scripts and also into D:\Inetpub\Scripts\PHP. If i do CTRL+ALT+CANC i
>see PHP
>in the list of processes PHP so i deduce thai PHPm is running,  but the
>brouser   stays waiting.
>Thank you for your kindness, but i still need help for solving this problem.
>Thank you in advance.
>
>
>Alan Popow wrote:
>
>> On Sun, 13 May 2001 02:03:45 +0200, you wrote:
>>
>> I haven't tried running easywindows installer, so I'm just winging it here
>> ignoring whatever the installer might be changing from defaults (though I
>> doubt it changes the httpd.conf file defaults).
>>
>> Remember that apache thinks by default that the document root is at
>> ....../apache/htdocs, and if you are using the normal iis setup, then your
>> index.html is likely not there. In the httpd.conf file, make sure that the
>> document root is pointing to the right place.
>>
>> Then, assuming you added the appropriate lines to Apache's httpd.conf file,
>> open up your php.ini and make sure that the doc_root path points to where
>> your scripts are.
>>
>> ie: doc_root = "d:\inetpub\scripts\php" (if that's where they are - in other
>> words, where is test.php located).
>>
>> Alan
>>
>> >Hello everyone
>> >I  am trying  to install PHP4 with Apache 1.3.19 following the procedure
>> >that I see
>> > in http://php.weblogs.com/easywindows using the
>> > PHP4.0.4easywindows Installer. There is also a mistake,
>> > "C:/inetpub/scripts/php/" is wrong, "D:/inetpub/scripts/php/" is right
>> >.
>> >However, when I run Apache and call http://localhost/ i don't see the
>> >home page index.html,
>> >furthermore if I call test.php with http://localhost/test.php
>> >i don't see any page. In both cases I have a file not found messagge.
>> >Can someone explain this behavior. I would like to use PHP with
>> >Apache on Win98. How do i do ? Can someone help me?
>> >thank you in advance
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to