Click to See Complete Forum and Search --> : PHP on Mac OS 10.2 Woes!


marooshka
08-29-2002, 12:35 AM
I have Apache/PHP/MySQL and all that working beautifully on my PC, but can't for the life of me get it to work on my Mac. I am not super skilled in the Apache world- I know enough Unix commands to get around, but need some dumbed-down help. (for example, if you say "use the Find command" I might have to look it up)

I think Apache installed correctly- when I open a browser, I can see the Apache welcome message in my Sites folder.

I then downloaded and installed PHP4 and tried to follow some instructions from Marc Liyanage's site and it looks like I started the webserver, but when I make a test php page and try to view it in the browser, I get a page not found. I haven't even tried to see if mySQL is installed correctly yet.

Please, someone, help me in very sloooooow, easy english, to get this working. Mac + Unix is still a weird world to me.

Thanks.

mykg4orce
08-29-2002, 01:24 AM
You say you get a welcome page from Apache, so it sounds like Apache is working nicely? OK!

Now for PHP, when you run Apache does it read out that its running PHP version so and so... etc... like a command line read out. You get that? I hope you have configured your .conf file to handle php files.... eheh?

...hmmm are you sure you are putting ur .php file in the correct folder? httpd?

it should work my friend, im trying get OS X soon, can't wait for that!!!!


EDIT:
http://hotwired.lycos.com/webmonkey/01/16/index3a_page4.html?tw=backend

scroll to the php installation part.... can't really offer more (as much as i'd love to) i'll prolly be asking you about installation when i get OS X.

marooshka
08-29-2002, 03:11 PM
I guess my biggest dilemma is I am so newbie with the Apache world, that when you say speak of running apache, or things that are even that simple, I'm not even sure what that means. I've gotten everything to work on the PC, but am not entirely sure how- and knock wood it just keeps running, because I couldn't troubleshoot it.

All I know is that I downloaded apache/php3/mysql from one website (http://www.serverlogistics.com/downloads-osx.php), followed the installation process and then got stuck. (the site said this: This package will install the php module itself into /usr/local/apache2/modules. It will also automatically update your httpd.conf file to load the php module, and add the proper types to process php files.) Alas, my test php page is in the SItes folder, but when I try to view in the browser, get the page not found.

There wasn't any documentation telling me how to configure anything, and thus my search began here- help!.

mykg4orce
08-30-2002, 02:04 AM
i think its in the wrong directory....otherwise there is no reason for it give a page not found error :)