FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » using scripting languages to automate a browser
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: getting a php capability on ubuntu was Re: using scripting languages to automate a browser [message #180473 is a reply to message #180460] Tue, 19 February 2013 13:27 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 2/19/2013 3:56 AM, Cal Dershowitz wrote:
> On 02/12/2013 06:09 AM, Jerry Stuckle wrote:
>
>>
>> I think the easiest way for you to install PHP would be to use the
>> ubuntu package manager. I understand ubuntu isn't much different than
>> debian (which is what I use), and it will preconfigure a working system
>> for you. It's also easy to change the configuration.
>>
>> And no, we aren't flaming. Just having a difference of opinion :).
>>
>
> Jerry, I'm glad you didn't, because I'm not quite there, and it would be
> hard to double back if everyone knew this subthread was engulfed in
> silliness.
>
> It seems people have differing means of accomplishing what I have set
> forth to do here, each catering to their own apache architecture needs.
>
> IMO, the hands-down winner for how to get a LAMP capability on ubuntu
> was supplied most the way with a one-liner by ben:
>
> sudo apt-get install apache2 php5
>
> Ultimately, I decided to go for a default installation, after having
> taken steps in another direction. I've gone back and edited
>
> /etc/apache2/sites-available/default
>
> to have /var/www/
> (tried /var/www as well)
>
> restarted, yet I can't get output on this simplest of scripts
> $ pwd
> /var/www
> $ ls -l
> total 8
> -rw-r--r-- 1 www-data automation 177 Feb 12 19:08 index.html
> -rw-r--r-- 1 fred automation 20 Feb 18 23:02 test.php
> $ cat test.php
> <?php phpinfo(); ?>
> $
>
> What I get is firefox telling me that it cannot connect to the server at
> localhost.
>
> Fishing for tips.

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.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CMS Recommendation
Next Topic: On click button in php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 10:32:57 GMT 2024

Total time taken to generate the page: 0.04656 seconds