Bug 139297 - [patch] PHP5 is compiled with bad/inconsistent configure options
Summary: [patch] PHP5 is compiled with bad/inconsistent configure options
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Network (show other bugs)
Version: Final
Hardware: All SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Petr Ostadal
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-15 02:21 UTC by Cristian Rodríguez
Modified: 2006-01-11 20:48 UTC (History)
0 users

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
patch fix current SUSE 10 php5 spec file (3.25 KB, patch)
2005-12-15 02:23 UTC, Cristian Rodríguez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.