Can anyone help.
I try to run a simple MySQL script within PHP on my computer using it as a local host - and I keep getting http 500 internal server error. My computer will run the php script if I take out the MySQL instructions.
I have set up my computer with php 5.2.5, Apache 2.0.63, MySQL 5.0. I can access all the files under locahost and it can run php scripts - so Apache and php must be OK. I can run MySQL from a command line - so that must be OK. I have pointed my.cnf to the correct directory. I have a windows XP professional operating system - and I can't see any permissions rights (under properties, advanced) so I am assuming that because there is only one login - then all programs should be able to execute all files.
I read one of the other posts (related to JS script) saying that it could be a class path problem - where and how would I check that? and how do I find my log file?
cheers
Any suggestions?
I try to run a simple MySQL script within PHP on my computer using it as a local host - and I keep getting http 500 internal server error. My computer will run the php script if I take out the MySQL instructions.
I have set up my computer with php 5.2.5, Apache 2.0.63, MySQL 5.0. I can access all the files under locahost and it can run php scripts - so Apache and php must be OK. I can run MySQL from a command line - so that must be OK. I have pointed my.cnf to the correct directory. I have a windows XP professional operating system - and I can't see any permissions rights (under properties, advanced) so I am assuming that because there is only one login - then all programs should be able to execute all files.
I read one of the other posts (related to JS script) saying that it could be a class path problem - where and how would I check that? and how do I find my log file?
cheers
Any suggestions?
Comment