Click to See Complete Forum and Search --> : PHP installation problem Please??


abduljan
09-01-2002, 08:11 AM
HI guys,

I am totally newbe with PHP. So i downloaded the lastest version of the PHP for windows (4.XXX). I installed it for PWS with windows 98. But i don't know if the installation is okay or not?

I created another Virtual Directory in my PWS as (PHP) and wrote the following code:

<?php print("hellow world"); ?> and i saved it as first.php

But it raises the error:

"You are not authorized to view this page
You might not have permission to view this directory or page using the credentials you supplied. "

I don't know what is wrong? How can i check my php installation is alight? What else could be wrong?

any comment will be appreciated.

abdul

malbera
09-02-2002, 04:52 AM
try http://localhost/php/first.php and see if it works
if so, check your pws config, you should add index.php as directory index and rename your script to iondex.php

hope that helps

megaalf
09-03-2002, 11:19 AM
if your using winNT, look at your security setting of your php script and your document root (found in httpaccess.conf) dir. your "www-account user" have to get full access to the files and the directory.

ralf (megaalf)


Originally posted by abduljan
HI guys,

I am totally newbe with PHP. So i downloaded the lastest version of the PHP for windows (4.XXX). I installed it for PWS with windows 98. But i don't know if the installation is okay or not?

I created another Virtual Directory in my PWS as (PHP) and wrote the following code:

<?php print("hellow world"); ?> and i saved it as first.php

But it raises the error:

"You are not authorized to view this page
You might not have permission to view this directory or page using the credentials you supplied. "

I don't know what is wrong? How can i check my php installation is alight? What else could be wrong?

any comment will be appreciated.

abdul