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 #180460 is a reply to message #180423] Tue, 19 February 2013 08:56 Go to previous messageGo to previous message
Cal Dershowitz is currently offline  Cal Dershowitz
Messages: 36
Registered: February 2013
Karma:
Member
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.
--
Cal
[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:58:29 GMT 2024

Total time taken to generate the page: 0.12456 seconds