Hello,
I'm working with the Friends of Ed book PHP 5 for Flash.
I did the "sudo cp /etc/httpd/httpd.conf /etc/httpd/httpd.conf.original"
great
then the:
ls /etc/httpd
sudo pico /etc/httpd/httpd.conf
this was to uncomment the php stuff
sudo apachectl restart
everything good so far
then: pico ~/.profile
move cursor to new line following any content
it wouldn't move so I figured it was where it belonged
then I typed: export PATH="$PATH:/usr/local/mysql/bin"
I figured all was well. I was wrong.
I went to check the version of Apache:
NO commands are found now. Not sudo, not cp, not pico, not even ls. What happened and what do I do to fix it??!!
I restarted... nothing works still. It looks like it's trying use "bash" as a command.
Terminal works fine from a new user that I created but that sucks.
Any Ideas about what I broke or how to fix it?
Thanks,
Erik
I'm working with the Friends of Ed book PHP 5 for Flash.
I did the "sudo cp /etc/httpd/httpd.conf /etc/httpd/httpd.conf.original"
great
then the:
ls /etc/httpd
sudo pico /etc/httpd/httpd.conf
this was to uncomment the php stuff
sudo apachectl restart
everything good so far
then: pico ~/.profile
move cursor to new line following any content
it wouldn't move so I figured it was where it belonged
then I typed: export PATH="$PATH:/usr/local/mysql/bin"
I figured all was well. I was wrong.
I went to check the version of Apache:
Code:
-bash: httpd: command not found
NO commands are found now. Not sudo, not cp, not pico, not even ls. What happened and what do I do to fix it??!!
I restarted... nothing works still. It looks like it's trying use "bash" as a command.

Terminal works fine from a new user that I created but that sucks.
Any Ideas about what I broke or how to fix it?
Thanks,
Erik