Bug 139297

Summary: [patch] PHP5 is compiled with bad/inconsistent configure options
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Cristian Rodríguez <crrodriguez>
Component: NetworkAssignee: Petr Ostadal <postadal>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: patch fix current SUSE 10 php5 spec file

Description Cristian Rodríguez 2005-12-15 02:21:10 UTC
php5 spec file has inconsistent/bad configure options ( some of them do nothing, others are not working due packager confusion (I think) )

i.e

--enable-embedded-mysqli=shared \

does nothing, mysql-embeeded  is not available in SUSE (AFAIK) and if available the correct configure option is :

"--enable-embedded-mysqli" (it 's not a php extension nor a thing that can be compiled shared by itself)

2. --with-mm=shared

this option is used to allow session storage in memory.
the correct use is "--with-mm" after --enable-session, since session support is complied statically into PHP,--with-mm=shared does absolutely nothing.

3. zend multibyte support is missing.

add --enable-zend-multibyte

4. options:

--with-gdbm=shared \
    --with-db4=shared \
    --with-cdb=shared \
    --with-inifile=shared \
    --with-flatfile=shared \

are related to the DBA extension , that extension was removed due license issue some time ago, and of course does nothing.

5.others ( please see the patch)
Comment 1 Cristian Rodríguez 2005-12-15 02:23:39 UTC
Created attachment 60918 [details]
patch fix current SUSE 10 php5 spec file

hope this can be included in the next update...
Comment 2 Cristian Rodríguez 2005-12-15 07:04:40 UTC
forgot to mention, the build seems  lacking of Large File support..so.. compile it with.

-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ....
Comment 3 Petr Ostadal 2006-01-11 20:48:22 UTC
I updated php 5.1.1 with this changes. Thnx Cristian.