View previous topic :: View next topic |
Author |
Message |
Crissy -
Joined: 07 Nov 2005 Posts: 2
|
Posted: Mon Nov 07, 2005 1:44 am Post subject: phpMyAdmin problem |
|
|
When I went to http://localhost/phpadmin, I got a error 500: internal server error. When I looked at the log/cgi.log it said this
<b>Security Alert!</b> The PHP CGI cannot be accessed directly.
<p>This PHP CGI binary was compiled with force-cgi-redirect enabled. This
means that a page will only be served up if the REDIRECT_STATUS CGI variable is
set, e.g. via an Apache Action directive.</p>
<p>For more information as to <i>why</i> this behaviour exists, see the <a href="http://php.net/security.cgi-bin">manual page for CGI security</a>.</p>
<p>For more information about changing this behaviour or re-enabling this webserver,
consult the installation file that came with this distribution, or visit
<a href="http://php.net/install.windows">the manual page</a>.</p>
CGI: [C:\PHP\php-cgi.exe ] URI: /phpadmin/index.php Broken pipe
Does anyone know how I can fix this? |
|
Back to top |
|
 |
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Mon Nov 07, 2005 2:39 am Post subject: |
|
|
Have you been able to get any other PHP Scripts working?
If you haven't tried, copy this into a file called test.php, upload it to your server, and access http://yoururl/test.php
Code: |
<?php
echo "PHP is configured correctly and the interperter works properly!!!!";
?>
|
|
|
Back to top |
|
 |
Crissy -
Joined: 07 Nov 2005 Posts: 2
|
Posted: Mon Nov 07, 2005 3:04 am Post subject: |
|
|
That didn't work, it had the error 500 |
|
Back to top |
|
 |
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Mon Nov 07, 2005 3:42 am Post subject: |
|
|
Crissy wrote: | That didn't work, it had the error 500 |
The PHP isn't configured correctly...
Follow the PHP-Installation tutorial founr here, or download Aprelium's preconfigured PHP Package and follow their directions.
Good luck! |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Mon Nov 07, 2005 8:45 am Post subject: |
|
|
I think the only problem he had was he missed out "REDIRECT_STATUS" "200" in the interpreter page. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
|