Bug 511106 - cups-php broken in rawhide
cups-php broken in rawhide
Product: Fedora
Classification: Fedora
Component: cups (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Tim Waugh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-07-13 13:11 EDT by Remi Collet
Modified: 2009-07-15 09:19 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-07-15 09:19:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Remi Collet 2009-07-13 13:11:47 EDT
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 13:43:42 EDT
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 09:19:53 EDT
Thank you!

Note You need to log in before you can comment on or make changes to this bug.