Re: Easiest setup on Linux for a PHP newbie



Rex Eastbourne wrote:

Hi,

I'm starting out with PHP. I'd like to work on a project for personal
use; I will not be putting it on the web. What is the easiest way to do
this? I know I can set up an Apache server (I'm on Ubuntu Linux), but
I'm wondering if there's any simpler option, given that my scripts
don't have to be accessible on the web.

Thanks!

Hi newbie,

The fact that you do not want your script accesible from the net doesn't
matter at all, only securitywise.
Just go apache with php, as you suggested.
If you are on Ubuntu, you probably have to give a command like:
apt-get install php5-gd (as root or as sudo)
or something close to that.
Then Ubuntu will get the source from your fav. apt-get-install site, and
install it.
From there on go to www.php.net and read a bit around.
Pay attention to php.ini and the install instructions, they will contain
some important settings for you that define the way PHP behaves.
Check stuff from your faforite webbrowser (firefox I presume) via:
http://localhost/yourscript.php
If you get confused, go to www.php.net first, if still confused, come back
here. ;-)

Best of luck

Regards,
Erwin Moller
.



Relevant Pages

  • Re: Apache and ubuntu
    ... My system consists of ubuntu 7.10, Apache 2.2.4 and PHP 5.2.1 ... they differ a lot from the standard install ...
    (Ubuntu)
  • Re: Apache and ubuntu
    ... My system consists of ubuntu 7.10, Apache 2.2.4 and PHP 5.2.1 ... more than install both apache and php - you need to install the apache ...
    (Ubuntu)
  • Re: PHP and being brain locked
    ... brought up a new ubuntu (actually kubuntu, ... I've installed apache and php4. ... to do with php files. ... install the base package, making sure the libapache-* stuff made it. ...
    (Ubuntu)
  • RE: [PHP] Xampp question, pretty much 0T
    ... I suggest you look into VMWare. ... versions (player, server, etc) if you don't want Workstation (which I ... [PHP] Xampp question, pretty much 0T ... recommended it to me when I asked for an easy install of AMP. ...
    (php.general)
  • HOWTO: FreeTDS for Newbies (almost complete)
    ... One way to do that is to install FreeTDS, recompile PHP, ... You can go to freetds.org and install the RPMs on Unix or Linux ...
    (comp.lang.php)