Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 50678 Details for
Bug 53886
php fails to compile with mysqli
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch to php5-sapi.eclass to permit USE="mysql mysqli"
php5-sapi.mysqli.patch (text/plain), 1.43 KB, created by
Francesco R. (RETIRED)
on 2005-02-07 15:31:21 UTC
(
hide
)
Description:
patch to php5-sapi.eclass to permit USE="mysql mysqli"
Filename:
MIME Type:
Creator:
Francesco R. (RETIRED)
Created:
2005-02-07 15:31:21 UTC
Size:
1.43 KB
patch
obsolete
>--- /usr/portage/eclass/php5-sapi.eclass 2005-02-03 22:36:49.000000000 +0100 >+++ /usr/local/portage/eclass/php5-sapi.eclass 2005-02-07 18:40:31.445677920 +0100 >@@ -107,16 +107,6 @@ > > php5-sapi_check_awkward_uses() { > >- # mysqli support isn't possible yet >- >- if useq mysqli ; then >- eerror >- eerror "We currently do not support the mysqli extension" >- eerror "Support will be added once MySQL 4.1 has been added to Portage" >- eerror >- die "mysqli not supported yet" >- fi >- > # recode not available in 5.0.0; upstream bug > if useq recode && [ "$PV" == "5.0.0" ]; then > eerror >@@ -229,12 +219,16 @@ > enable_extension_with "solid" "solid" 1 > fi > >- if useq mysql; then >- enable_extension_with "mysql" "mysql" 1 >- enable_extension_with "mysql-sock" "mysql" 0 "/var/run/mysqld/mysqld.sock" >- fi > if useq mysqli; then >- enable_extension_with "mysqli" "mysqli" 1 >+ if useq mysql; then >+ enable_extension_with "mysql" "mysql" 0 "/usr/bin/mysql_config" >+ enable_extension_disable "embedded-mysqli" "embedded-mysqli" 0 >+ enable_extension_with "mysql-sock" "mysql" 0 "/var/run/mysqld/mysqld.sock" >+ fi >+ enable_extension_with "mysqli" "mysqli" 1 "/usr/bin/mysql_config" >+ elif useq mysql; then >+ enable_extension_with "mysql" "mysql" 1 >+ enable_extension_with "mysql-sock" "mysql" 0 "/var/run/mysqld/mysqld.sock" > fi > > # QDBM doesn't play nicely with GDBM _or_ DBM
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 53886
:
35954
|
39181
|
44313
|
44488
|
44490
| 50678 |
64826