|
#1
| |||
| |||
| has anyone tried to serve web pages off of mac os x yet? i have played a little bit with the pre-installed apache and it works fine. however, i have also gotten my own compiled version of apache to work also. the problem i have is that i cannot get php working with apache. i downloaded and installed it all, but i keep getting "save as" windows when i try to load a php page. anyone else tried this? gotten this to work? check out my server. tell me if it works. http://137.22.100.86 or http://137.22.100.86/sollaires.net/ david hendler |
|
#2
| |||
| |||
| i am running darwin and installed php4 recently - had some problems such as you are describing. php seemed to compile fine, but apache would not compile with the php module. messed with it quite a bit and reworked the ./config settings, also ran 'make clean' instead of just 'make', that seemed to clear up all the previously wacked settings. in the INSTALL documentation, I followed the "QUICK INSTALL (static)" directions... I am not sure what finally made it work, but when the error was occuring like yours, I did not have the php module installed correctly under apache; after running 'apache/bin/httpd -l', I would not see mod_php4.c ...
__________________ Home: Dual G4: 867/768 Work: Dual G4: 500/512 Darwin 6.3/OSX 10.2.3 hotani web template |
|
#3
| |||
| |||
| hmmm... i will try "make clean" the only thing is that when i run "httpd -l" mod_php4.c shows up. another random thing. whenever i try to kill my webserver by using "apachectl stop" it always tells me"stop: httpd (no pid file) not running." is there a surefire way to kill my server and restart it? |
|
#4
| |||
| |||
| when you run 'ps -aux | grep httpd' does it show up in the processes? and I dont know of any other way to stop and start the webserver except with apachectl...
__________________ Home: Dual G4: 867/768 Work: Dual G4: 500/512 Darwin 6.3/OSX 10.2.3 hotani web template |
|
#5
| |||
| |||
| got it working got it working. rebooted my machine and now php is working. thanks for the help. so, check out http://137.22.100.86/sollaires.net/ |
|
#6
| |||
| |||
| How interesting... does anyone know if MySQL compiles under OS X, that is sooo cool... looks like I will have a web development platform at home now. ![]() Scott |
|
#7
| |||
| |||
| mysql yes. i have gotten mysql to install, though i haven't had time to play with it yet. don't know if all the executables that compile will work afterwards, but the compilation was fine |
|
#8
| |||
| |||
| Does anyone have or know where I can get instructions for installing PHP on the OSX PB? I kinda new to unix and Im not sure what what I should be doing. I tried to download it from php.net but all I got was a file called "do_download.php". I was expecting to get the file "php-4.02.tar.gz". I cant seem to get it from the ftp site either. :-( If I manage to get that file, I then need to compile it, right? Is it true that there are no compilers in the public beta? If so can i get a precompiled version from somewhere? I've also read that It's easier if my version of Apache has been compiled with DSO support. Does the PB install of Apache have this? As I mentioned Im kinda new to this and want to do some PHP coding and figured having my own local server was the way to go. Feel free to tell me im being stupid if im completly on the wrong track. ;-) Any help any one can offer is much appreciated. Thanks, Alex.
__________________ G4 PB 400 OSX |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [HOWTO] - Setup PHP & MySQL | yoshi | HOWTO & FAQs | 225 | January 2nd, 2005 01:39 AM |
| Enabling PHP in 10.2 Client | sixthring | Mac OS X System & Mac Software | 2 | October 28th, 2002 01:48 PM |
| apache 2.0 php problem | ragengs | Mac OS X System & Mac Software | 1 | May 13th, 2002 07:54 PM |
| PHP / Apache install with 10.1 | slur | Mac OS X System & Mac Software | 14 | October 6th, 2001 07:35 PM |