...

View Full Version : PHP pages not displaying...



ramki067
11-30-2010, 08:16 AM
HI,

My PHP webpages are not displaying when trying to display it saying as "The website declined to show this webpage .. HTTP 403"

What could be the problem.Please help.

Thanks,
Ramki

Dormilich
11-30-2010, 08:56 AM
you’re simply not allowed to view this website. if no further coments are given, you can only ask the website’s admin.

ramki067
11-30-2010, 09:00 AM
you’re simply not allowed to view this website. if no further coments are given, you can only ask the website’s admin.


Hi Dormilich,

I've stored the php files on my system and executing it myself. Even http://localhost/phpinfo.php, is not displaying anything!. I don't know wht may be the problem!!!
On clicking more info in the error window, its showing as below:

This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage.

For more information about HTTP errors, see Help.



Please help.

Ramki

Dormilich
11-30-2010, 09:07 AM
essentially, the error message speaks for itself. the question would be, have you setup PHP and your webserver properly? (to count that out)

firepages
11-30-2010, 09:11 AM
which webserver are you using locally ? apache/IIS ?

ramki067
11-30-2010, 09:29 AM
essentially, the error message speaks for itself. the question would be, have you setup PHP and your webserver properly? (to count that out)

I think i've setup it correctly. I don't know what else is the problem!
In http.conf file the changes are below:

ServerAdmin xyz@zyz.com
ServerName <Computername>:80
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi.exe"

In PHP.ini file in c:\windows\system32\

include_path = ".;c:\php\includes"
extension_dir = "C:\PHP\ext"
extension=php_mysql.dll





which webserver are you using locally ? apache/IIS ?

Its apache.

DrDOS
11-30-2010, 05:29 PM
When in doubt make sure all the permissions are correct.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum