[imp] Truncated Attachments - aditional information, now correct.
Bruno Negrao
imp-bnegrao at engepel.com.br
Fri Feb 7 14:45:27 PST 2003
I'm sorry, the right address is: http://www.php.net/manual/en/install.apache2.php
The most important parts are bellow:
Servers-Apache 2.0
This section contains notes and hints specific to Apache 2.0 installs of PHP, both for Unix and Windows versions.
Warning
Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows.
You are highly encouraged to take a look at the Apache Documentation to get a basic understanding of the Apache 2.0 Server.
PHP and Apache 2.0 compatibility notes
The following versions of PHP are known to work with the most recent version of Apache 2.0:
a.. PHP 4.3.0 or later available at http://www.php.net/downloads.php.
b.. the latest stable development version. Get the source code http://snaps.php.net/php4-latest.tar.gz or download binaries for windows http://snaps.php.net/win32/php4-win32-latest.zip.
c.. a prerelease version downloadable from http://qa.php.net/.
d.. you have always the option to obtain PHP through anonymous CVS.
These versions of PHP are compatible to Apache 2.0.40 and later.
Note: Apache 2.0 SAPI-support started with PHP 4.2.0. PHP 4.2.3 its known to work in conjunction with Apache 2.0.39. Don't try to use this version of PHP with any other version of Apache. We do not recommend to use PHP 4.2.3 along with Apache 2.0.39.
All mentioned versions of PHP will work still with Apache 1.3.x.
PHP and Apache 2 on Linux
Download the most recent version of Apache 2.0 and a fitting PHP version from the above mentioned places. This quick guide covers only the basics to get started with Apache 2.0 and PHP. For more information read the Apache Documentation. The version numbers have been omitted here, to ensure the instructions are not incorrect. You will need to replace the 'NN' here with the correct values from your files.
Example 3-6. Installation Instructions (Apache 2 Shared Module Version)
1. gzip -d httpd-2_0_NN.tar.gz
2. tar xvf httpd-2_0_NN.tar
3. gunzip php-NN.tar.gz
4. tar -xvf php-NN.tar
5. cd httpd-2_0_NN
6. ./configure --enable-so
7. make
8. make install
Now you have Apache 2.0.NN available under /usr/local/apache2,
configured with loadable module support and the standard MPM prefork.
To test the installation use your normal procedure for starting
the Apache server, e.g.:
/usr/local/apache2/bin/apachectl start
and stop the server to go on with the configuration for PHP:
/usr/local/apache2/bin/apachectl stop.
9. cd ../php4-NN
10. ./configure --with-apxs2=/usr/local/apache2/bin/apxs
11. make
12. make install
13. cp php.ini-dist /usr/local/lib/php.ini
Edit your php.ini file to set PHP options. If
you prefer this file in another location, use
--with-config-file-path=/path in step 10.
14. Edit your httpd.conf file and check that these lines are
present:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
You can choose any extension you wish here. .php is simply the one
we suggest.
The path on the right hand side of the LoadModule statement must point
to the path of the PHP module on your system. The above statement is
correct for the steps shown above.
15. Use your normal procedure for starting the Apache server, e.g.:
/usr/local/apache2/bin/apachectl start
----- Original Message -----
From: "Eric Rostetter" <eric.rostetter at physics.utexas.edu>
To: <imp at lists.horde.org>
Sent: Friday, February 07, 2003 2:10 PM
Subject: Re: [imp] Truncated Attachments - aditional information
> Quoting Bruno Negrao <imp-bnegrao at engepel.com.br>:
>
> > Guys, I saw in the text http://www.php.net/manual/en/install.apache.php
> > that Apache 2.0 only works smoothly with the version 4.3.0 of PHP, not the
> > version 4.2 that redhat is shipping.
>
> I looked at the link, but I don't see where you got that from. I ran
> RH 8.0 with their RPMS no problem (though now I run php 4.3.0 instead).
>
> Can you quote the text you are refering to?
>
> > Also in that link, they are showing the instructions to compile apache +
> > php. If someone could verify it, it gonna be great.
> > My boss just tell me to abandon this installation on redhat 8.0 and install
> > on another machine (redhat 7.1).
>
> Given the amount of problems you are having, this might be a good idea.
> Maybe a fresh install will help. Personally I would recomment 7.2 but
> that is up to you and your boss to decide.
>
> > So, I'm leaving this thread. Unless I can't make attachments work on redhat
> > 7.1 too!!
>
> Good luck, and all the best.
>
> > Thank you for all you attention,
> > bruno.
>
> --
> Eric Rostetter
> The Department of Physics
> The University of Texas at Austin
>
> Why get even? Get odd!
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
More information about the imp
mailing list