On Friday, November 22, 2002, at 10:47 PM, Michael Richardson wrote: > once I get there the problems begin. This is what I > have right now: > UW PICO(tm) File:httpd.conf Modified > > I then do ^W(ctrl-W) to get the search line. After > this, I type in php and then hit enter. It then says > "php" not found. The message "php" not found is > directly above the menu with ^G Get Help ^O WriteOut > etc. Maybe you guys can tell me whats going on with > this. I'm thinking maybe a permissions issue or > incorrect directory.
When you first start pico does it have this at the top of the file? ## ## httpd.conf -- Apache HTTP server configuration file ## If not, you're not in the right directory, or something's messed up with your system installation, or the configuration file was accidentally deleted or overwritten. Make sure, before you started pico, you did a 'cd /etc/httpd' command, because if pico doesn't find a file of the right name in the current directory it starts a new file with the name you give it, so the top bar will look right at the 'file:' part. Before you do the pico command, do a 'pwd' command...it should print '/private/etc/httpd' . (yes, I know you went to /etc/httpd in the cd command above, but that was like clicking on an alias of a folder. /etc/httpd is a link, a Unix version of an alias to the actual directory /private/etc/httpd.) If you're not there do the 'cd /etc/httpd' command. Do an 'ls' command, you should see the following: [Bruce-Johnsons-Computer:/] johnson% cd /etc/httpd [Bruce-Johnsons-Computer:/etc/httpd] johnson% ls httpd.conf httpd.conf.default magic.default mime.types.default httpd.conf.bak magic mime.types users If you see this, but don't see httpd.conf, something's messed up. Do 'cp httpd.conf.default httpd.conf' to make a new copy to edit. > -- Wherever you go, there you are. Bruce Johnson -- G-Books is sponsored by <http://lowendmac.com/> and... Small Dog Electronics http://www.smalldog.com | Refurbished Drives | -- Check our web site for refurbished PowerBooks | & CDRWs on Sale! | Support Low End Mac <http://lowendmac.com/lists/support.html> G-Books list info: <http://lowendmac.com/lists/g-books.html> --> AOL users, remove "mailto:" Send list messages to: <mailto:[EMAIL PROTECTED]> To unsubscribe, email: <mailto:[EMAIL PROTECTED]> For digest mode, email: <mailto:[EMAIL PROTECTED]> Subscription questions: <mailto:[EMAIL PROTECTED]> Archive: <http://www.mail-archive.com/g-books%40mail.maclaunch.com/> --------------------------------------------------------------- >The Think Different Store http://www.ThinkDifferentStore.com ---------------------------------------------------------------
