[TriLUG] How to install package(PHP) wrapped in tar ball file?

Tim Jowers timjowers at gmail.com
Wed Sep 12 14:06:47 EDT 2007


Oh yeah,

  vim /etc/httpd/conf/httpd.conf and make sure PHP is enabled. Maybe called
apahce2.conf based on your distro.
"PHP is enabled"?  look for modphp. Is possible but painful to run PHP5 and
PHP4 with one as a module and another as cgi-bin executable thingy. Probably
is setup by default as a mod in your distro from what I remember.
<?php phpinfo(); ?>
(Stick that in a something.php and hit it with yo browsa. Peace. )
http://us3.php.net/phpinfo

TimJowers


On 9/12/07, Tim Jowers <timjowers at gmail.com> wrote:
>
>
> gunzip targooky.tar.gz
> tar -xvf targooky.tar
>
> mv daphpapp /var/www/html
>
> Dat's about it. Easy stuff. (you might have yo html dir somewhar else)
>
> Then you hit it via the web: http://localhost/daphpapp and normally it
> loads up its index.php and vectors to a setup.php or what have you. Might
> need a few
> chmod +w config
> or other permission changes to let it run its course.
> Maybe a
> /etc/init.d/mysqld start
> /etc/init.d/postgresql start
> or what have you to fire up dem databasers.
>
> Clear as mud?
>
> Best,
> TimJowers
>
>
> On 9/12/07, Jeffery Painter <jeff_painter at ncsu.edu> wrote:
> >
> >
> > ummm... php is a scripting language. no compile should be necessary
> > unless
> > it needs additional libraries (google for pear if you need those)...
> > index.php should load if your web server is configured appropriately for
> >
> > php
> >
> > --
> > Jeff
> >
> >
> > > I have no experience to install PHP package before. So I have no idea
> > what
> > > information the index.php page provides. My original thought is to use
> > > "find
> > > ./ -name make" to find the make file then use make build the package.
> > But
> > > maybe there is a better way?
> > >
> > >
> > > On 9/12/07, Dave Sorenson <dave at logicalgeek.com> wrote:
> > >>
> > >> Try unzipping to a web enabled folder and looking for an index.phppage.
> > >>
> > >> Daniel Zhang wrote:
> > >> > The question is if there are no README or any
> > documents/instructions
> > >> for
> > >> > installation in the downloaded tar file, how can you install it?
> > >> >
> > >> > Thanks,
> > >> >
> > >> > Daniel
> > >> >
> > >> --
> > >> TriLUG mailing list        :
> > >> http://www.trilug.org/mailman/listinfo/trilug
> > >> TriLUG Organizational FAQ  : http://trilug.org/faq/
> > >> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> > >>
> > > --
> > > TriLUG mailing list        :
> > http://www.trilug.org/mailman/listinfo/trilug
> > > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> > >
> >
> > --
> > TriLUG mailing list        :
> > http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> >
>
>



More information about the TriLUG mailing list