|
Lines 127-132
Link Here
|
| 127 |
|
127 |
|
| 128 |
cd "${S}" |
128 |
cd "${S}" |
| 129 |
|
129 |
|
|
|
130 |
epatch /root/php-5.2.6-fpm-0.5.9.diff.gz |
| 131 |
|
| 130 |
# Concurrent PHP Apache2 modules support |
132 |
# Concurrent PHP Apache2 modules support |
| 131 |
if use apache2 ; then |
133 |
if use apache2 ; then |
| 132 |
if use concurrentmodphp ; then |
134 |
if use concurrentmodphp ; then |
|
Lines 339-345
Link Here
|
| 339 |
cp sapi/cli/php php-cli || die "Unable to copy CLI SAPI" |
341 |
cp sapi/cli/php php-cli || die "Unable to copy CLI SAPI" |
| 340 |
;; |
342 |
;; |
| 341 |
cgi) |
343 |
cgi) |
| 342 |
my_conf="${my_conf} --disable-cli --enable-cgi --enable-fastcgi" |
344 |
my_conf="${my_conf} --disable-cli --enable-cgi --enable-fastcgi --enable-fpm" |
| 343 |
phpconfutils_extension_enable "discard-path" "discard-path" 0 |
345 |
phpconfutils_extension_enable "discard-path" "discard-path" 0 |
| 344 |
phpconfutils_extension_enable "force-cgi-redirect" "force-cgi-redirect" 0 |
346 |
phpconfutils_extension_enable "force-cgi-redirect" "force-cgi-redirect" 0 |
| 345 |
php5_2-sapi_src_compile |
347 |
php5_2-sapi_src_compile |