Re: [PHP] PHP & Apache 2

From: Dean E. Weimer (phplist_at_dweimer.org)
Date: 10/31/03


Date: Fri, 31 Oct 2003 06:56:26 -0600 (CST)
To: php-general@lists.php.net

I have been running it since 02-02-2003 without a problem on A FreeBSD
Server. I started with Apache 2.0.44, PHP 4.3.0, and FreeBSD-RELEASE 4.7.
 I have upgraded every step of the way to currently running with Apache
2.0.48, PHP 4.3.3, and FreeBSD-RELEASE 4.8. It is a low use server,
Apache only handles around 1,900 request a day, averaging about 16Kb a
request.

Here is my configure command I used for apache:
./configure \
--prefix=/usr/local/apache2 \
--enable-spelling \
--enable-so \
--enable-ssl \
--enable-info

And For PHP:
./configure \
--with-pgsql=/usr/local/pgsql \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-xml \
--with-imap=/usr/local/imap-2002e \
--with-gettext \
--with-mhash \
--with-mcrypt \
--with-mime-magic=/usr/share/misc/magic.mime \
--with-openssl \
--enable-trackvars \
--enable-calendar \
--enable-ftp

>> PHP needs to speed up for its own good.
>
> PHP itself is not the issue. Extensions to PHP are what may cause
> problems. As Filip said, there are already many discussions about this on
> the web.
>
> Edward Dudlik
> "Those who say it cannot be done
> should not interrupt the person doing it."
>
> wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU
>
>
>
> ----- Original Message -----
> From: "Fernando Melo" <fernando.m@envent.co.za>
> To: <php-general@lists.php.net>
> Sent: Thursday, 30 October, 2003 08:53
> Subject: RE: [PHP] PHP & Apache 2
>
>
> And when will it be considered stable? It's been a while since Apache 2
> was
> released. PHP needs to speed up for its own good.
>
> -----Original Message-----
> From: Eugene Lee [mailto:list-php-1@fsck.net]
> Sent: 30 October 2003 11:55
> To: php-general@lists.php.net
> Subject: Re: [PHP] PHP & Apache 2
>
> On Thu, Oct 30, 2003 at 11:22:38AM +0200, Fernando Melo wrote:
> :
> : I would like to use apache 2 in a production environment, but initially
> : there seemed to be some issues with the PHP module. Does anybody know
> : if it is ok use it now or is it still buggy with apache 2?
>
> The combination of PHP 4.x and Apache 2.x are not considered stable for
> a production environment.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

-- 
Thanks,
  Dean E. Weimer
  http://www.dwiemer.org/
  dweimer@dweimer.org


Relevant Pages

  • FreeBSD 6.2-STABLE && apache 2.2.4 = bad performance. Help!
    ... php5-5.2.3 PHP Scripting Language (Apache Module and CLI) ... CPU: IntelXeonCPU 2.66GHz ... FreeBSD versions on dual cpus running the same code don't exhibit this ...
    (freebsd-questions)
  • FreeBSD 6.2-STABLE && apache 2.2.4 = bad performance. Help!
    ... php5-5.2.3 PHP Scripting Language (Apache Module and CLI) ... CPU: IntelXeonCPU 2.66GHz ... FreeBSD versions on dual cpus running the same code don't exhibit this ...
    (freebsd-hackers)
  • FreeBSD 6.2-STABLE && apache 2.2.4 = bad performance. Help!
    ... php5-5.2.3 PHP Scripting Language (Apache Module and CLI) ... CPU: IntelXeonCPU 2.66GHz ... FreeBSD versions on dual cpus running the same code don't exhibit this ...
    (freebsd-performance)
  • $_POST suddenly empty; $_GET and _$REQUEST fine
    ... I've got an Apache 2.2.3 server running PHP 5.2.6 on top of FreeBSD 6.2. ... It works like a charm on a different machine with an essentially identical config (it's a newer version of FreeBSD, but that's about it); however, it never displays the contents of $_POSTon the machine that suddenly quit functioning right last night. ... I've searched all over, and done things like restarting Apache; checking phpinfofor the POST data; writting a quick Perl script that took POST input to verify that my browser was sending such data properly; and scouring the Apache/PHP error logs. ...
    (php.general)
  • Re: undefined function error if I use a fully-qualifed include
    ... >>obtains filename.php by performing an HTTP request to the specified ... which specifies "Go and get this resource using the HTTP protocol". ... PHP doesn't ... off to Apache to satisfy. ...
    (comp.lang.php)