Re: [PHP] PHP MySQL 500 Internal Error

2009-06-19 Thread Paul Scott
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



RE: [PHP] PHP MySQL 500 Internal Error

2009-06-19 Thread Yuri Yarlei

Check the mysql user permissions, then check the root directory permissions, if 
you use some .htacess file, check this to.
This error occurs when you have, permissions errors, server is not working 
well, .htacess errors and other things, try acess your script to with 
http://127.0.0.1

Yuri Yarlei.
Programmer PHP, CSS, Java, PostregreSQL;
Today PHP, tomorrow Java, after the world.
Kyou wa PHP, ashita wa Java, sono ato sekai desu.



 To: php-general@lists.php.net
 From: elcid...@gmail.com
 Date: Thu, 18 Jun 2009 22:10:44 -0400
 Subject: [PHP] PHP MySQL 500 Internal Error
 
 Greetings Gurus!
 
 
 I am attempting to use PHP+MYSQL+APACHE and I have downloaded all the latest 
 verions and installed them on a fresh windows XP install.  Got the Apache 
 server up and running, got MySQL up and running and installed PHP.  Tested 
 PHP with a script containing phpinfo().  Everything works great.
 
 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.
 
 MySql is enabled in php.ini.  Paths are set to the php folder.  I have NOT 
 moved or copied any files whatsoever.  Apache version is 2.2.
 
 Thanks. 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

_
Deixe suas conversas mais divertidas. Baixe agora mesmo novos emoticons. É 
grátis!
http://specials.br.msn.com/ilovemessenger/pacotes.aspx

Re: [PHP] PHP MySQL 500 Internal Error

2009-06-19 Thread Daniel Brown
On Thu, Jun 18, 2009 at 22:10, Shawn Simmonselcid...@gmail.com wrote:
 Greetings Gurus!

Also, please keep new threads on the list limited to one at a
time, except in extenuating circumstances.  And as a developer, there
certainly are and will be more of those circumstances.  ;-P

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

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



Re: [PHP] PHP MySQL 500 Internal Error

2009-06-19 Thread Shawn Simmons
Sorry about thatI wasn't sure if it went the first time when I didn't 
see the post sfter a refresh8-)




Daniel Brown danbr...@php.net wrote in message 
news:ab5568160906190558u1a585cedpf73eb5690330d...@mail.gmail.com...

On Thu, Jun 18, 2009 at 22:10, Shawn Simmonselcid...@gmail.com wrote:

Greetings Gurus!


   Also, please keep new threads on the list limited to one at a
time, except in extenuating circumstances.  And as a developer, there
certainly are and will be more of those circumstances.  ;-P

--
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1 



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