Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25684 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9969 invoked by uid 1010); 14 Sep 2006 14:45:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 9954 invoked from network); 14 Sep 2006 14:45:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Sep 2006 14:45:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=mba2000@ioplex.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mba2000@ioplex.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ioplex.com from 66.220.1.142 cause and error) X-PHP-List-Original-Sender: mba2000@ioplex.com X-Host-Fingerprint: 66.220.1.142 www.ioplex.com Linux 2.4/2.6 Received: from [66.220.1.142] ([66.220.1.142:1180] helo=www.ioplex.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/35-45066-4DA69054 for ; Thu, 14 Sep 2006 10:45:12 -0400 Received: from quark.foo.net (c-69-142-196-170.hsd1.nj.comcast.net [69.142.196.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by www.ioplex.com (Postfix) with ESMTP id 18C9742C26 for ; Thu, 14 Sep 2006 10:44:31 -0400 (EDT) Date: Thu, 14 Sep 2006 10:44:10 -0400 To: internals@lists.php.net Message-ID: <20060914104410.09bdd7f6.mba2000@ioplex.com> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Module API Changes From: mba2000@ioplex.com (Michael B Allen) I see the module API has changed between 5.0 and 5.1. This caused my module to fail to load with: PHP Warning: PHP Startup: z\x17\xfc\xb6d\x12\xfc\xb6: Unable to initialize module Module compiled with module API=20041030, debug=0, thread-safety=0 PHP compiled with module API=20050922, debug=0, thread-safety=0 These options need to match in Unknown on line 0 Obviously this is problematic when shipping binaries. Basically I now have modules for 4, 5.0, and 5.1 in my installation package and look at phpversion() to determine which one to install. Are these module changes very common? Is there an easier way to ship module binaries? Is the major verion number guaranteed to change when the module API changes? Are there any other module API changes between 4 and the current version of PHP that would cause my module to fail to load? Thanks, Mike -- Michael B Allen PHP Active Directory SSO http://www.ioplex.com/