Bug 511106 - cups-php broken in rawhide
Summary: cups-php broken in rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-13 17:11 UTC by Remi Collet
Modified: 2009-07-15 13:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-15 13:19:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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!


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