[phpa] Re: FreeBSD 4.3 Release for 1.1p1

Hmmmmm...

These instructions just worked fine for me on a clean 4.3 box... I will try
on a 4.4 and 4.2 later...

1) untar and copy the library to somewhere (ie. /usr/local/lib/)

2) make sure you do not have the zend optimizer extension set in php.ini!

3) add the following to php.ini

  zend_extension="/usr/local/lib/php_accelerator.so"

4) run the following from the command line to increase your shared memory:

  sysctl -w kern.ipc.shmmax=33554432
  sysctl -w kern.ipc.shmall=32768

or you will likely get these errors in your apache error log file:

  WARNING: Unable to get c0_shm shm 12
  WARNING: c0_shm not initialised - reduced acceleration available

5) on running phpinfo() you should see these values in the 'PHP Core'
section (search for phpa):

  phpa    1 1
  phpa.c0_logging   0 0
  phpa.c0_size   4 4
  phpa.c0_stats_check_period  5m 5m
  phpa.c0_ttl   12h 12h
  phpa.cache_dir   /tmp /tmp
  phpa.ignore_dirs   no value no value
  phpa.ignore_files   no value no value
  phpa.tweaks   1 1

Jamie Burns.

----- Original Message -----
From: "Paul - Zenith Tech Inc" <paul@xxxxxxxxxxxxxx>
To: <phpa@xxxxxxxxxxxxx>
Sent: Monday, November 05, 2001 5:38 PM
Subject: [phpa] Re: FreeBSD 4.3 Release for 1.1p1


>
> Does it require any config in httpd.conf?
>
> I've enabled it in php.ini, but not in httpd.conf
>
> I'm running FreeBSD 4.2 and things built on 4.3 usually work fine.
>
> Cheers,
> Paul
>
> ----- Original Message -----
> From: "Jamie Burns" <jamie.burns@xxxxxxxxxxxxxxxxxxxxxxx>
> To: <phpa@xxxxxxxxxxxxx>
> Sent: Monday, November 05, 2001 5:34 PM
> Subject: [phpa] Re: FreeBSD 4.3 Release for 1.1p1
>
>
> >
> > I am just in the process of building a 4.4 box up so I will install the
> > library and see what is happening... It certainly works fine on my 4.3
> box.
> > I will let you know what happens.
> >
> > Jamie Burns.
> >
> > ----- Original Message -----
> > From: "julien maerten" <julien@xxxxxxxxx>
> > To: <phpa@xxxxxxxxxxxxx>
> > Sent: Monday, November 05, 2001 5:19 PM
> > Subject: [phpa] Re: FreeBSD 4.3 Release for 1.1p1
> >
> >
> > >
> > > Hi all,
> > >
> > >     Does anyone have success in running the FreeBSD version of phpa
???
> > >     I've tried adding the module in php.ini, or in httpd.conf,
restarted
> > the
> > > server and nothing happens... No reference to phpa appears in
phpinfo(),
> > and
> > > I see no phpa_ files in /tmp ...
> > >     I'm trying this on FreeBSD 4.4R, php4.0.6, apache1.3.20, with
enough
> > > shared memory configured, and apache doesn't complain about anything.
> > >
> > >     I'm a little bit confused... any ideas ?
> > >
> > >     Thanx
> > >
> > >
> > > julien
> > >
> > >
> > > ----- Original Message -----
> > > From: "PHP Accelerator" <php_accelerator@xxxxxxxxxxx>
> > > To: <phpa@xxxxxxxxxxxxx>
> > > Sent: Sunday, November 04, 2001 12:01 PM
> > > Subject: [phpa] FreeBSD 4.3 Release for 1.1p1
> > >
> > >
> > > >
> > > > Hi,
> > > >
> > > > I've finally made available the FreeBSD port of 1.1p1 that Jamie B.
> > > > contributed.  This can be downloaded from:
> > > >
> > > >
> > >
> >
>
http://www.php-accelerator.co.uk/releases/freebsd_4.3/php_accelerator_1.1p1_
> > > 4.0.6_freebsd4.3.tgz
> > > >
> > > > This is really a prerelease for the FreeBSD platform, and release
1.2
> > will
> > > > be the first official version.
> > > >
> > > > Nick
> > > >
> > > >
> > > > _________________________________________________________________
> > > > Get your FREE download of MSN Explorer at
> > http://explorer.msn.com/intl.asp
> > > >
> > >
> > ------------------------------------------------------------------------
> > > >   www.php-accelerator.co.uk           Home of the free PHP
Accelerator
> > > >
> > > > To post, send email to phpa@xxxxxxxxxxxxx
> > > > To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject
> > unsubscribe
> > > >
> > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > >   www.php-accelerator.co.uk           Home of the free PHP Accelerator
> > >
> > > To post, send email to phpa@xxxxxxxxxxxxx
> > > To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject
> unsubscribe
> > >
> >
> > ------------------------------------------------------------------------
> >   www.php-accelerator.co.uk           Home of the free PHP Accelerator
> >
> > To post, send email to phpa@xxxxxxxxxxxxx
> > To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject
unsubscribe
> >
> >
> >
>
>
> ------------------------------------------------------------------------
>   www.php-accelerator.co.uk           Home of the free PHP Accelerator
>
> To post, send email to phpa@xxxxxxxxxxxxx
> To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
>

------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: