alligatorTim
Registered
hi guys. i've been getting a lot of help on archived topics here on this forum, and i've gotten through installing and configuring mysql, apache, and php. i installed and used the fink package handler for the apache and php part (though i still can't get it to work from bash -- had to change back to tcsh). everything seems to be working great except i have to manually start and stop httpd through the command line. like %apachetcl start
here's what ive' tried so far:
i deleted /usr/sbin/apachetcl and replaced it with
%ln -s /sw/sbin/apachetcl /usr/sbin/apachetcl
(fink put apachetcl in sbin rather than bin)
then for the httpd.pid location i did:
%rmdir /sw/var/httpd/run/
%ln -s /private/var/run /sw/var/httpd/run
i still can't start and stop httpd from the system preferences, which isn't a huge deal, but i'ld like to. it's such a nice interface.
also, i don't know if this is normal but in my processes it shows three entrys for httpd:
root 405 0.0 0.7 17924 1828 ?? Ss 0:00.42 /sw/sbin/httpd
nobody 406 0.0 0.8 17940 2096 ?? S 0:00.14 /sw/sbin/httpd
nobody 408 0.0 0.8 17940 2056 ?? S 0:00.11 /sw/sbin/httpd
thanks in advance.
-alligator
here's what ive' tried so far:
i deleted /usr/sbin/apachetcl and replaced it with
%ln -s /sw/sbin/apachetcl /usr/sbin/apachetcl
(fink put apachetcl in sbin rather than bin)
then for the httpd.pid location i did:
%rmdir /sw/var/httpd/run/
%ln -s /private/var/run /sw/var/httpd/run
i still can't start and stop httpd from the system preferences, which isn't a huge deal, but i'ld like to. it's such a nice interface.
also, i don't know if this is normal but in my processes it shows three entrys for httpd:
root 405 0.0 0.7 17924 1828 ?? Ss 0:00.42 /sw/sbin/httpd
nobody 406 0.0 0.8 17940 2096 ?? S 0:00.14 /sw/sbin/httpd
nobody 408 0.0 0.8 17940 2056 ?? S 0:00.11 /sw/sbin/httpd
thanks in advance.
-alligator