Click to See Complete Forum and Search --> : phpinfo() not displayed


maniya
10-13-2003, 01:26 AM
I install red hat 9 sucessfully. My apache server and mysql
data base server is working sucessfully.
when I type http://localhost/phpinfo.php
It displayas this message.
Acess forbidden.
you dont have permission to accsess requested object. It is
either read-protected or not readable by the server

Error 403

I saved .php files in /var/www/html/
I have logged as root
.html filles are working properly.
This is not working for any .php file.

httpd is runing

thanks
help me

LordShryku
10-13-2003, 01:29 AM
Can you access HTML files?

udendra
10-13-2003, 03:35 AM
machang senaka,

I don't know why u didn't answer the prev question...
but if it's resolved please say so.

any way I guess you would have double checked the permissions on your files .(by right clicking at least). ...also just run a php script with only the phpinfo() function and see.

maniya
10-17-2003, 12:16 AM
HTML files are displayed succesfully.

I saved .php files in root's home directory
and try to open them through mozallia web browser by
File -> open web location
It doesn't give error message but didn't dispaly any thing

please help me
thanks

udendra
10-17-2003, 06:56 AM
what home directory?
PHP files too must be stored under var/www/html/
do that and then for a start say u have :
var/www/html/index.php
type in the browser address bar as :
http://localhost/index.php (since that is the default)
and enter......

bye.