Re: PHP MySQL 500 Internal Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-06-18 at 22:10 -0400, Shawn Simmons wrote:
> Wrote a small script to connect to the MySql database.  Tried to run the 
> script (http://localhost/dbscript.php) and I get a 500 Internal Server 
> error.  I have been up and down the web for two days looking for a solution 
> and I am completely frustrated.  I HAVE to be missing something.  PLEASE 
> PLEASE PLEASE help.  Thanks.
> 

Check permissions and ownership on the file. That often happens when the
permissions are set to 0777 as opposed to 755 (in *nix speak), so check
that the webserver user has read and execute access on the file and that
it ownds the directory etc


-- Paul
http://www.paulscott.za.net
http://twitter.com/paulscott56
http://avoir.uwc.ac.za
-- 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux