Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser [message #180474 is a reply to message #180473] |
Wed, 20 February 2013 01:08 |
Cal Dershowitz
Messages: 36 Registered: February 2013
Karma:
|
Member |
|
|
On 02/19/2013 05:27 AM, Jerry Stuckle wrote:
> Well, the first thing to check would be to see if Apache is actually
> running. If so, then you need to check into your Apache configuration
> and/or system configuration (i.e. firewalls, network setup, etc.).
>
> But neither is appropriate for a PHP newsgroup. Maybe one of the Ubuntu
> guys can help. If you ask in an appropriate newsgroup, you'll get good
> answers. If you ask in the wrong one, you'll usually be chasing your
> tail due to incorrect responses.
>
Thx Jerry and everyone who helped me through this. I found invaluable
comment from both fora in getting this squared away.
http://i49.tinypic.com/207m339.png
Super-impressed by the sleekness of this output relative to how big a
command had to create it.
$ sudo service apache2 status
[sudo] password for fred:
Apache2 is NOT running.
$
I had been a little-ambitious for what I was going to do on my first
go-round and tried to create an architecture that is much more than a
literal beginner was going to need, or more importantly, understand.
So, apparently, if you forget to delete the link that ben told me to
delete in /sites-available, then apache2 does not even start with the
default one.
$ pwd
/etc/apache2/sites-enabled
$ ls -l
total 0
lrwxrwxrwx 1 root root 26 Feb 12 19:08 000-default ->
.../sites-available/default
lrwxrwxrwx 1 root root 29 Feb 18 01:39 100-mysite ->
/home/fred/HTTP/mysite.config
$ sudo rm 100-mysite
[sudo] password for fred:
$ ls
000-default
$
Everything looks good.
--
Cal
|
|
|