| | |
Installing Apache2, PHP5 and MySQL5 on Mac OS X Tiger
![]() |
•
•
Join Date: Feb 2007
Posts: 14
Reputation:
Solved Threads: 0
I was able to install Apache2, PHP5 and MySQL5 on my MacBook running Tiger and using root to start the Apache server manually. However - I am not able to get it to start automatically on reboot. I even added a line in etc/hostconfig:
APACHE2=-YES-
Having done the above - I still have to manually reboot the Apache server using the apachectl start command. Are there any other configurations I may have overlooked?
Thanks!
Richard
APACHE2=-YES-
Having done the above - I still have to manually reboot the Apache server using the apachectl start command. Are there any other configurations I may have overlooked?
Thanks!
Richard
Do you have a startup script in your StartupItems?
http://switch.richard5.net/isp-in-a-...e-on-mac-os-x/
http://switch.richard5.net/isp-in-a-...e-on-mac-os-x/
•
•
•
•
Starting at boot
Off course you would want to start Apache2 at boot time and not have to manually start everything up after a reboot. To do this you need to download the ApacheStartupItems.tar archive and extract as root into ‘/Library/StartupItems’. You then need to add the following line to ‘/etc/hostconfig’ to enable the startup script
If you change the YES into a NO, Apache2 won’t start after a reboot.APACHE2=-YES-
"Technological progress is like an axe in the hands of a pathological criminal."
All my posts may be freely redistributed under the terms of the MIT license.
All my posts may be freely redistributed under the terms of the MIT license.
•
•
Join Date: Feb 2007
Posts: 14
Reputation:
Solved Threads: 0
•
•
•
•
Do you have a startup script in your StartupItems?
http://switch.richard5.net/isp-in-a-...e-on-mac-os-x/
Is there something in there I need to look at?
No, that was only the binaries and such. The instructions said to extract the ApacheStartupItems.tar archive (basically copy the entire Apache2 directory) into /Library/StartupItems/. If you don't put that directory into StartupItems, the script ain't gonna start.
Also make sure that Personal Web Sharing is disabled in the Sharing section of the System Preferences, and that the line in
Also make sure that Personal Web Sharing is disabled in the Sharing section of the System Preferences, and that the line in
/etc/hostconfig regarding WEBSERVER= is set to -NO-. Last edited by John A; Sep 25th, 2007 at 12:28 am.
"Technological progress is like an axe in the hands of a pathological criminal."
All my posts may be freely redistributed under the terms of the MIT license.
All my posts may be freely redistributed under the terms of the MIT license.
•
•
Join Date: Feb 2007
Posts: 14
Reputation:
Solved Threads: 0
•
•
•
•
No, that was only the binaries and such. The instructions said to extract the ApacheStartupItems.tar archive (basically copy the entire Apache2 directory) into /Library/StartupItems/. If you don't put that directory into StartupItems, the script ain't gonna start.
Also make sure that Personal Web Sharing is disabled in the Sharing section of the System Preferences, and that the line in/etc/hostconfigregardingWEBSERVER=is set to-NO-.
![]() |
Similar Threads
- My old mac won't let tiger install. (OS X)
- Installation of Mac OS X Tiger (and tips) (OS X)
- Mac Os X Tiger Start Up Problem (OS X)
- Pagemaker 6.5 and Mac OS X Tiger (OS X)
- Mac Newbie - IE and WMP on Mac? (OS X)
- Apache2 displaying PHP5 source code (PHP)
- help with installing a new hard drive (Apple Hardware)
Other Threads in the OS X Forum
- Previous Thread: Shockwave player..HELP!
- Next Thread: Cd Problem On Mac 10.3.9
| Thread Tools | Search this Thread |






