????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.191 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/home/b8009/php-5.6.22/sapi/roxen/ |
Upload File : |
dnl
dnl $Id$
dnl
PHP_ARG_WITH(roxen,,
[ --with-roxen=DIR Build PHP as a Pike module. DIR is the base Roxen
directory, normally /usr/local/roxen/server], no, no)
PHP_ARG_ENABLE(roxen-zts, whether Roxen module is build using ZTS,
[ --enable-roxen-zts ROXEN: Build the Roxen module using Zend Thread Safety], no, no)
RESULT=
AC_MSG_CHECKING([for Roxen/Pike support])
if test "$PHP_ROXEN" != "no"; then
if test ! -d $PHP_ROXEN ; then
AC_MSG_ERROR([You did not specify a directory])
fi
if test -f $PHP_ROXEN/bin/roxen; then
PIKE=$PHP_ROXEN/bin/roxen
elif test -f $PHP_ROXEN/bin/pike; then
PIKE=$PHP_ROXEN/bin/pike
else
AC_MSG_ERROR([Could not find a pike in $PHP_ROXEN/bin/])
fi
if $PIKE -e 'float v; catch(v = __VERSION__ + (__BUILD__/10000.0)); if(v < 0.7079) exit(1); exit(0);'; then
PIKE_MODULE_DIR=`$PIKE --show-paths 2>&1| grep '^Module' | sed -e 's/.*: //'`
PIKE_INCLUDE_DIR=`echo $PIKE_MODULE_DIR | sed -e 's,lib/pike/modules,include/pike,' -e 's,lib/modules,include/pike,'`
if test -z "$PIKE_INCLUDE_DIR" || test -z "$PIKE_MODULE_DIR"; then
AC_MSG_ERROR([Failed to figure out Pike module and include directories])
fi
else
AC_MSG_ERROR([Roxen/PHP requires Pike 0.7.79 or newer])
fi
PHP_ADD_INCLUDE($PIKE_INCLUDE_DIR)
AC_DEFINE(HAVE_ROXEN, 1, [Whether you use Roxen])
PHP_SELECT_SAPI(roxen, shared, roxen.c)
INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_SHARED $PIKE_MODULE_DIR/PHP5.so"
RESULT="yes
Pike binary used: $PIKE
Pike include dir: $PIKE_INCLUDE_DIR
Pike module directory: $PIKE_MODULE_DIR"
PIKE_INCLUDE_DIR=" -I$PIKE_INCLUDE_DIR "
if test "$PHP_ROXEN_ZTS" != "no"; then
PHP_BUILD_THREAD_SAFE
AC_DEFINE(ROXEN_USE_ZTS, 1, [Whether to use Roxen in ZTS mode])
fi
fi
AC_MSG_RESULT([$RESULT])
dnl ## Local Variables:
dnl ## tab-width: 4
dnl ## End: