php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20942 Activating extension : imap, stops Apache
Submitted: 2002-12-11 10:53 UTC Modified: 2002-12-11 13:20 UTC
From: dmiller at atnetplus dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.2.3 OS: OpenBSD 3.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dmiller at atnetplus dot com
New email:
PHP Version: OS:

 

 [2002-12-11 10:53 UTC] dmiller at atnetplus dot com
Apache works with PHP until I do:

pkg_add php4-imap-4.2.3.tg
/usr/local/sbin/phpxs -a imap

Then:

apachectl start
/usr/sbin/apachectl start: httpd could not be started


My /var/www/logs/error_log shows:

/usr/libexec/ld.so: httpd: libc-client.so.4.0: Invalid argument

If I do:

/usr/local/sbin/phpxs -r imap

Apache then works again.

I'm new at this. 
Any help would be great...
Thanks,
Dave Miller

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-11 10:56 UTC] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2002-12-11 11:48 UTC] dmiller at atnetplus dot com
This is a fresh install of OpenBSD 3.2 on an i386 type machine. qmail for SMTP and courier for IMAP and POP3 were added and tested. The mysql server package (from the CD)was also added. The goal is to use squirrelmail. I downloaded the following packages from the Openbsd site for OpenBSD 3.2:
php4-core-4.2.3.tgz
php4-mysql-4.2.3.tgz
php4-imap-4.2.3.tgz
php4-pear-4.2.3.tgz
I followed the instructions at:
http://php3.de/manual/en/install.openbsd.php
I edited my httpd.conf to show:
DirectoryIndex index.php index.html
and 
AddType application/x-httpd-php .php
Apache will not start unless I disable the imap extension.
My Apache error log shows:
usr/libexec/ld.so: httpd: libc-client.so.4.0: Invalid argument

help???
 [2002-12-11 11:58 UTC] derick@php.net
Sounds like a missing library on your system, you need to install c-client (part of Washington IMAP server).
Not a bug in PHP -> bogus
 [2002-12-11 13:14 UTC] dmiller at atnetplus dot com
That not the problem.
c-client is installed.
Here is my pkg_info:
bash-2.05b-static  GNU Bourne Again Shell
libslang-1.4.5     stack-based interpreter for terminal applications
jed-0.99.14        text editor
libiconv-1.8       character set conversion library
gettext-0.10.40    GNU gettext
gmake-3.79.1       GNU make
p5-DBI-1.30        unified perl interface for database access
mysql-client-3.23.49 multithreaded SQL database (client)
p5-DBD-Msql-Mysql-1.22.19 MySQL drivers for the Perl DBI
mysql-server-3.23.49 multithreaded SQL database (server)
recode-3.6         convert files between character sets and usages
php4-core-4.2.3    server-side HTML-embedded scripting language
c-client-4.44      University of Washington's c-client mail access routines
php4-imap-4.2.3    imap, pop3 and nntp extensions for php4
php4-mysql-4.2.3   mysql database access extensions for php4
php4-pear-4.2.3    collection of base classes for common PHP tasks

I am sorry to bother you if this is infact "bogus". 
Any other Ideas???
 [2002-12-11 13:20 UTC] derick@php.net
Please compile PHP yourself; we can't support Vendor binaries. You can get a snapshot from http://snaps.php.net

Derick
 [2003-04-19 08:34 UTC] momchil at mail dot bg
I'm having the same problem on the two servers I'm having php 4.2.3. I'm using apache 1.3.27 on both. It used to work fine with php 4.1.1

Both servers are using Linux SMP kernel 2.4.18 and 2.4.17 and the current Debian unstable (as of today). When I have the imap module enabled in my php.ini the whole apache does not start. I do not get any error messages even on apache log set to debug. apachectl configtest also says all is fine. The strangest of all is, that if I start Apache with all other modules I'm using (incl. mysql, gd and so on) and later uncomment the imap module and restart the server (apachectl restart) the module loads correctly and everything is fine, but it just cannot start from scratch...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 09:01:27 2024 UTC