Hey all, just having some PHP and MySQL issues that I can't seem to figure out.
I wanted to start learning these two items in Website Development and so I set out to tonight.
Here's the problems:
I did not know that 10.3 had PHP and MySQL already on it. So I downloaded new versions designed for OS X (in other words I didn't download the binaries and compile them)
I installed them and didn't get any troubles from them at first. I continued to follow the directions that came with MySQL and nothing worked the way the directions stated it should.
I downloaded MySQL 4.0.3 (I think, I know it was 4.0 because I had to follow some different directions) and PHP 5.0
Having thought that the directions were wrong I proceded to Apple.com for some help. I found it, but I think it was for Jaguar in hind site...As my computer had a "mysql" user.
Basically I think I hosed my servers. I have directories all over the place that I do not recognize being there before, I have two different MySQL servers, a simple PHP script that I typed up didn't work at all (all it was supposed to do was print "hello world!"), and it seems like when I try to load anything on PHP or MySQL from the command line the computer just sorta hangs there.
If anyone understands that at all and give me some advice it would greatly help, as I am about to just format the whole thing and start over fresh.
Mike
I wanted to start learning these two items in Website Development and so I set out to tonight.
Here's the problems:
I did not know that 10.3 had PHP and MySQL already on it. So I downloaded new versions designed for OS X (in other words I didn't download the binaries and compile them)
I installed them and didn't get any troubles from them at first. I continued to follow the directions that came with MySQL and nothing worked the way the directions stated it should.
I downloaded MySQL 4.0.3 (I think, I know it was 4.0 because I had to follow some different directions) and PHP 5.0
Having thought that the directions were wrong I proceded to Apple.com for some help. I found it, but I think it was for Jaguar in hind site...As my computer had a "mysql" user.
Basically I think I hosed my servers. I have directories all over the place that I do not recognize being there before, I have two different MySQL servers, a simple PHP script that I typed up didn't work at all (all it was supposed to do was print "hello world!"), and it seems like when I try to load anything on PHP or MySQL from the command line the computer just sorta hangs there.
If anyone understands that at all and give me some advice it would greatly help, as I am about to just format the whole thing and start over fresh.
Mike