image
image

Go Back   macosx.com > Content & Information > Apple News, Rumors & Discussion

Reply
 
Thread Tools
  #1  
Old September 21st, 2000, 04:26 PM
Registered User
 
Join Date: Sep 2000
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
sollaires is on a distinguished road
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
Reply With Quote
  #2  
Old September 21st, 2000, 04:55 PM
Registered User
 
Join Date: Sep 2000
Location: Denver,CO,usa
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
hotani is on a distinguished road
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
Reply With Quote
  #3  
Old September 21st, 2000, 05:01 PM
Registered User
 
Join Date: Sep 2000
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
sollaires is on a distinguished road
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?
Reply With Quote
  #4  
Old September 21st, 2000, 05:13 PM
Registered User
 
Join Date: Sep 2000
Location: Denver,CO,usa
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
hotani is on a distinguished road
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
Reply With Quote
  #5  
Old September 21st, 2000, 05:23 PM
Registered User
 
Join Date: Sep 2000
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
sollaires is on a distinguished road
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/
Reply With Quote
  #6  
Old September 21st, 2000, 05:52 PM
Registered User
 
Join Date: Sep 2000
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
DigiD is on a distinguished road
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
Reply With Quote
  #7  
Old September 21st, 2000, 05:57 PM
Registered User
 
Join Date: Sep 2000
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
sollaires is on a distinguished road
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
Reply With Quote
  #8  
Old September 24th, 2000, 10:21 AM
sometimes stupid
 
Join Date: Sep 2000
Location: London
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
spike is on a distinguished road
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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

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


All times are GMT -5. The time now is 01:16 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.