Re: PHP 4.0 Bug #5845 Updated: compile with imap support fails do to c-lient
| From: | gfajardo at totalsystemsinc dot com | Date: | Thu, 17 Aug 2000 02:11:18 +0000 |
| Subject: | Re: PHP 4.0 Bug #5845 Updated: compile with imap support fails do to c-lient | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-29275@lists.php.net to get a copy of this message | ||
This issue was for FreeBSD 4.0 release
And this is what I did to fix the problem:
_____________________________________________________________________
$ gunzip -c apache_1.3.x.tar.gz | tar xf -
$ cd apache_1.3.x
$ ./configure
$ cd ..
$ gunzip -c php-4.0.x.tar.gz | tar xf -
$ cd php-4.0.x
$ ./configure --with-mysql --with-imap=/usr/local/ports/imap-4.7c/c-
client --with-apache=../apache_1.3.12 --enable-track-vars
$ make
$ make install
$ cd ../apache_1.3.x
$ ./configure --prefix=/www --activate-
module=src/modules/php4/libphp4.a
(The above line is correct! Yes, we know libphp4.a does not exist
at this
stage. It isn't supposed to. It will be created.)
make
(you should now have an httpd binary which you can copy to your
Apache bin dir)
cd ../php-4.0.x
cp php.ini-dist /usr/local/lib/php.ini
You can edit /usr/local/lib/php.ini file to set PHP options.
Edit your httpd.conf or srm.conf file and add:
AddType application/x-httpd-php .php
imap auth required pam_unix.so
try_first_pass
imap account required pam_unix.so
try_first_pass
pop auth required pam_unix.so
try_first_pass
pop account required pam_unix.so
try_first_pass
---- Original Message ----
ID: 5845
Updated by: sniper
Reported By: gfajardo@iei.net
Status: Closed
Bug Type: Installation problem
Assigned To:
Comments:
No feedback from user.
--Jani
Full Bug description available at: http://bugs.php.net/?id=5845