help with php
alison (7 points) | Wed, 2005-03-09 15:37Hi,
i just used your "test drive dynamic websites article" to try activate apache and php on my mac running os x 10.2.7. (i know you said 10.3 but there does seem to be apache on theis machine the apache 1 graceful worked.) Anyway, everything seemed to go ok till i typed the password change code into the terminal.
/usr/local/mysql/bin/mysqladmin -u root password yourpasswordhere
i got...
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'
i've installed mysql ok the database test worked.
i really have no clue at this level of coding so if anyone can help me out with what this means or how i can fix it it'd be much appreciated.
cheers
alison
it looks like there is a problem with you php and not mysql.
let's take it step by step...
did you switch on personal web sharing in your system prefernces?
hi ivan,
thank you for getting back,
i managed to sort it. there are some extra alterations you have to do on mac os x 10.2.x in order to get the the php going.
there a link here that describes it all... http://www.spinnerworld.com/php_setup.html
i can't belive i managed to get it working. thank you for your great article.
alison
congrats. no np. tx for posting back your results!
what kind of php site are you going to install?
i'm trying to set up an e-commerce site for my textile designs using os-commerce. since it's all done using php -- i figured i could do with trying to get my head round how it works. so i needed to set up a local server so i could test my attempts, without putting it on a live server. very steep learning curve and very scary doing all that terminal stuff but hopefully worth it. :)
cool, if you get stuck you can always setup a kagi or yahoo store relatively easily.