chris_disregard wrote in php 🙂awake

Listens: Gehenna: Outro (Part I)

Installing on Mac OSX 10.2

Hi, I'm new to the community and PHP in general. I wanted to install it so I can start testing out websites locally before uploading them to the internet but can't for the life of me figure out how to get things working. I've followed numerous installation tutorials off the web and everything seems to have gone correctly but whenever I try to load a .php page it either does nothing or the status bar says "getting info for index.php" and just stays that way. Any idea what's going wrong? The page itself contains this:






In the terminal:
cd php-4.3.4
./configure --with-apxs
make
sudo make install

I got the licensing info on the screen and it said something like thank you for using PHP which I'm assuming means the install went alright.

I went into my httpd file and made sure

LoadModule php4_module libexec/httpd/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

were all functional. I checked the error log and got
Apache/1.3.26 (Darwin) PHP/4.3.4 mod_perl/1.26 configured -- resuming normal operations

which I'm assuming means everything is working as it should be.



I'm new to PHP, Apache and using the terminal so I'm assuming there is a step I've missed somewhere or something like that. Any help would be much appreciated.