Bug 511106

Summary: cups-php broken in rawhide
Product: [Fedora] Fedora Reporter: Remi Collet <fedora>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-15 13:19:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Remi Collet 2009-07-13 17:11:47 UTC
After PHP 5.3.0 update :

1/ There is no ABI check for PHP version, so cups-php install, but fails to load

$ php -v -d extension=phpcups.so
PHP Warning:  PHP Startup: phpcups: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0

I will fix this.

2/ cups-php don't use php-config --extension-dir

I will fix this

3/ no php configuration script provided

I will add /etc/php.d/cups.ini

4/ Nedd rebuild against php 5.3.0

I will do it



Please, check my change and close this bug if you find all is ok.

Comment 1 Remi Collet 2009-07-13 17:43:42 UTC
Build of cups-1.4-0.rc1.9.fc12 done in rawhide.

PHP extension install and load fine.  

It is probably a good idea to port the ABI check in previous Fedora version (if an update is required for another reason)

Comment 2 Tim Waugh 2009-07-15 13:19:53 UTC
Thank you!