Script Garage

 

How do I get a php script to run on a MySQL servor?

I have a mysql server up and running on my local machine, but I can't seem to get a simple php script to execute on it. I thought I had php installed correctly. Is there some special folder I have to save the script in to make it work. I have it in my bin folder right now. Is there an easy way to know whether I have php installed correctly or not?

Public Comments

  1. This would require knowing what software you're using for your webserver. If you're using the cgi-bin version you simply use #!/path/to/php to the top of your php pages and they'll be ran as cgi's using the php parser. Really need to know your configuration details.
Powered by Yahoo! Answers