|  | 
 
| RedFlag5.0 apache1.33
 mysql4.43 binary版的
 php4.40
 apache,mysql,resin都安装成功了.
 就是装不上php
 [root@localhost php]# ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs
 loading cache ./config.cache
 checking host system type... i686-pc-linux-gnu
 checking for gcc... (cached) gcc
 checking whether the C compiler (gcc  ) works... yes
 checking whether the C compiler (gcc  ) is a cross-compiler... no
 checking whether we are using GNU C... (cached) yes
 checking whether gcc accepts -g... (cached) yes
 checking whether gcc and cc understand -c and -o together... (cached) yes
 checking how to run the C preprocessor... (cached) gcc -E
 checking for AIX... no
 checking if compiler supports -R... (cached) no
 checking if compiler supports -Wl,-rpath,... (cached) yes
 checking for re2c... (cached) exit 0;
 checking whether ln -s works... (cached) yes
 checking for gawk... (cached) gawk
 checking for bison... (cached) bison -y
 checking bison version... 1.875 (ok)
 checking for flex... (cached) flex
 checking for yywrap in -lfl... (cached) yes
 checking lex output file root... (cached) lex.yy
 checking whether yytext is a pointer... (cached) yes
 checking for working const... (cached) yes
 checking flex version... 2.5.4 (ok)
 checking whether byte ordering is bigendian... (cached) no
 checking whether to force non-PIC code in shared modules... yes
 checking for pthreads_cflags... (cached) -pthread
 checking for pthreads_lib... (cached)
 
 Configuring SAPI modules
 checking for AOLserver support... no
 checking for Apache 1.x module support via DSO through APXS... yes
 checking for mod_charset compatibility option... no
 checking for member fd in BUFF *... (cached) yes
 checking for Apache 2.0 filter-module support via DSO through APXS... no
 checking for Apache 2.0 handler-module support via DSO through APXS... no
 checking for Caudium support... no
 checking for CLI build... yes
 checking for embedded SAPI library support... no
 checking for Zeus ISAPI support... no
 checking for NSAPI support... no
 checking for PHTTPD support... no
 checking for Pi3Web support... no
 checking for Roxen/Pike support... no
 checking for Servlet support... no
 checking for thttpd... no
 checking for TUX... no
 checking for webjames... no
 checking for chosen SAPI module... apache
 
 Running system checks
 checking for missing declarations of reentrant functions... done
 checking for sendmail... (cached) /usr/sbin/sendmail
 checking whether system uses EBCDIC... (cached) no
 checking for socket... yes
 checking for htonl... yes
 checking for gethostname... yes
 checking for gethostbyaddr... yes
 checking for yp_get_default_domain... no
 checking for __yp_get_default_domain... no
 checking for yp_get_default_domain in -lnsl... yes
 checking for dlopen... no
 checking for __dlopen... no
 checking for dlopen in -ldl... yes
 checking for sin in -lm... (cached) yes
 checking for res_search... no
 checking for __res_search... no
 checking for res_search in -lresolv... yes
 checking for inet_aton... yes
 checking for dn_skipname... no
 checking for __dn_skipname... yes
 checking for ANSI C header files... (cached) yes
 checking for dirent.h that defines DIR... (cached) yes
 checking for opendir in -ldir... (cached) no
 checking for fclose declaration... ok
 checking for inttypes.h... (cached) yes
 checking for stdint.h... (cached) yes
 checking for dirent.h... (cached) yes
 checking for ApplicationServices/ApplicationServices.h... (cached) no
 checking for sys/param.h... (cached) yes
 checking for sys/types.h... (cached) yes
 checking for sys/time.h... (cached) yes
 checking for netinet/in.h... (cached) yes
 checking for alloca.h... (cached) yes
 checking for arpa/inet.h... (cached) yes
 checking for arpa/nameser.h... (cached) yes
 checking for assert.h... (cached) yes
 checking for crypt.h... (cached) yes
 checking for fcntl.h... (cached) yes
 checking for grp.h... (cached) yes
 checking for ieeefp.h... (cached) no
 checking for langinfo.h... (cached) yes
 checking for limits.h... (cached) yes
 checking for locale.h... (cached) yes
 checking for monetary.h... (cached) yes
 checking for mach-o/dyld.h... (cached) no
 checking for netdb.h... (cached) yes
 checking for pwd.h... (cached) yes
 checking for resolv.h... (cached) yes
 checking for signal.h... (cached) yes
 checking for stdarg.h... (cached) yes
 checking for stdlib.h... (cached) yes
 checking for string.h... (cached) yes
 checking for syslog.h... (cached) yes
 checking for sysexits.h... (cached) yes
 checking for sys/file.h... (cached) yes
 checking for sys/mman.h... (cached) yes
 checking for sys/mount.h... (cached) yes
 checking for sys/poll.h... (cached) yes
 checking for sys/resource.h... (cached) yes
 checking for sys/select.h... (cached) yes
 checking for sys/socket.h... (cached) yes
 checking for sys/statfs.h... (cached) yes
 checking for sys/statvfs.h... (cached) yes
 checking for sys/vfs.h... (cached) yes
 checking for sys/sysexits.h... (cached) no
 checking for sys/varargs.h... (cached) no
 checking for sys/wait.h... (cached) yes
 checking for unistd.h... (cached) yes
 checking for unix.h... (cached) no
 checking for utime.h... (cached) yes
 checking for sys/utsname.h... (cached) yes
 checking for sys/ipc.h... (cached) yes
 checking for dlfcn.h... (cached) yes
 checking for fopencookie... (cached) yes
 checking for broken getcwd... no
 checking for broken libc stdio... yes
 checking whether struct tm is in sys/time.h or time.h... (cached) time.h
 checking for tm_zone in struct tm... (cached) yes
 checking for tm_gmtoff in struct tm... (cached) yes
 checking for struct flock... (cached) yes
 checking for socklen_t... (cached) yes
 checking size of intmax_t... (cached) 0
 checking size of size_t... (cached) 4
 checking size of ssize_t... (cached) 0
 checking size of ptrdiff_t... (cached) 0
 checking size of long long... (cached) 8
 checking size of long long int... (cached) 8
 checking size of long... (cached) 4
 checking size of int... (cached) 4
 checking for st_blksize in struct stat... (cached) yes
 checking for st_blocks in struct stat... (cached) yes
 checking for st_rdev in struct stat... (cached) yes
 checking for size_t... (cached) yes
 checking for uid_t in sys/types.h... (cached) yes
 checking for struct sockaddr_storage... (cached) yes
 checking for IPv6 support... (cached) yes
 checking for vprintf... (cached) yes
 checking for alphasort... (cached) yes
 checking for asctime_r... (cached) yes
 checking for chroot... (cached) yes
 checking for ctime_r... (cached) yes
 checking for cuserid... (cached) yes
 checking for crypt... (cached) no
 checking for flock... (cached) yes
 checking for ftok... (cached) yes
 checking for funopen... (cached) no
 checking for gai_strerror... (cached) yes
 checking for gcvt... (cached) yes
 checking for getlogin... (cached) yes
 checking for getprotobyname... (cached) yes
 checking for getprotobynumber... (cached) yes
 checking for getservbyname... (cached) yes
 checking for getservbyport... (cached) yes
 checking for getrusage... (cached) yes
 checking for gettimeofday... (cached) yes
 checking for gmtime_r... (cached) yes
 checking for isascii... (cached) yes
 checking for link... (cached) yes
 checking for localtime_r... (cached) yes
 checking for lockf... (cached) yes
 checking for lrand48... (cached) yes
 checking for memcpy... (cached) yes
 checking for memmove... (cached) yes
 checking for mkstemp... (cached) yes
 checking for mmap... (cached) yes
 checking for nl_langinfo... (cached) yes
 checking for perror... (cached) yes
 checking for poll... (cached) yes
 checking for putenv... (cached) yes
 checking for realpath... (cached) yes
 checking for random... (cached) yes
 checking for rand_r... (cached) yes
 checking for regcomp... (cached) yes
 checking for res_search... (cached) yes
 checking for scandir... (cached) yes
 checking for setitimer... (cached) yes
 checking for setlocale... (cached) yes
 checking for localeconv... (cached) yes
 checking for setsockopt... (cached) yes
 checking for setvbuf... (cached) yes
 checking for shutdown... (cached) yes
 checking for sin... (cached) yes
 checking for snprintf... (cached) yes
 checking for srand48... (cached) yes
 checking for srandom... (cached) yes
 checking for statfs... (cached) yes
 checking for statvfs... (cached) yes
 checking for std_syslog... (cached) no
 checking for strcasecmp... (cached) yes
 checking for strcoll... (cached) yes
 checking for strdup... (cached) yes
 checking for strerror... (cached) yes
 checking for strftime... (cached) yes
 checking for strstr... (cached) yes
 checking for strtok_r... (cached) yes
 checking for symlink... (cached) yes
 checking for tempnam... (cached) yes
 checking for tzset... (cached) yes
 checking for unsetenv... (cached) yes
 checking for usleep... (cached) yes
 checking for utime... (cached) yes
 checking for vsnprintf... (cached) yes
 checking for getaddrinfo... (cached) yes
 checking for strlcat... (cached) no
 checking for strlcpy... (cached) no
 checking for getopt... (cached) yes
 checking whether utime accepts a null argument... (cached) yes
 checking for working alloca.h... (cached) yes
 checking for alloca... (cached) yes
 checking for declared timezone... (cached) yes
 checking for type of reentrant time-related functions... (cached) POSIX
 checking for readdir_r... (cached) yes
 checking for type of readdir_r... (cached) POSIX
 
 General settings
 checking whether to include debugging symbols... no
 checking layout of installed files... PHP
 checking path to configuration file... DEFAULT
 checking directory to be scanned for configuration files... DEFAULT
 checking whether to enable safe mode by default... no
 checking for safe mode exec dir... /usr/local/php/bin
 checking whether to enable PHP's own SIGCHLD handler... no
 checking whether to enable magic quotes by default... no
 checking whether to enable runpaths... yes
 checking whether to explicitly link against libgcc... no
 checking whether to enable short tags by default... yes
 checking whether to enable dmalloc... no
 checking whether to enable IPv6 support... yes
 checking whether to enable versioning... no
 
 Configuring extensions
 checking for OpenSSL support... no
 checking for Kerberos support... no
 checking for ZLIB support... no
 checking if the location of ZLIB install directory is defined... no
 checking whether to enable bc style precision math functions... no
 checking for BZip2 support... no
 checking whether to enable calendar conversion support... no
 checking for cpdflib support... no
 checking for CRACKlib support... no
 checking whether to enable ctype functions... yes
 checking for CURL support... no
 checking for cyrus imap support... no
 checking for xDBM support... no
 checking whether to enable DBA... no
 checking for GDBM support... no
 checking for NDBM support... no
 checking for Berkeley DB4 support... no
 checking for Berkeley DB3 support... no
 checking for Berkeley DB2 support... no
 checking for DBM support... no
 checking for CDB support... no
 checking for INI File support... no
 checking for FlatFile support... no
 checking whether to enable DBA interface... no
 checking whether to enable dbase support... no
 checking whether to enable dbx support... no
 checking whether to enable direct I/O support... no
 checking for DOM support... no
 checking for DOM XSLT support... no
 checking for DOM EXSLT support... no
 checking whether to enable EXIF (metadata from images) support... no
 checking for FrontBase SQL92 (fbsql) support... no
 checking for FDF support... no
 checking whether to enable the bundled filePro support... no
 checking for FriBidi support... no
 checking whether to enable FTP support... no
 checking for GD support... no
 checking for the location of libjpeg... no
 checking for the location of libpng... no
 checking for the location of libXpm... no
 checking for FreeType 1.x support... no
 checking for FreeType 2... no
 checking for T1lib support... no
 checking whether to enable truetype string function in GD... no
 checking whether to enable JIS-mapped Japanese font support in GD... no
 checking for GNU gettext support... no
 checking for GNU MP support... no
 checking for hwapi support... no
 checking for Hyperwave support... no
 checking for iconv support... no
 checking for IMAP support... no
 checking for IMAP Kerberos support... no
 checking for IMAP SSL support... no
 checking for Informix support... no
 checking for Ingres II support... no
 checking for InterBase support... no
 checking for IRCG support... no
 checking for Java support... no
 checking for LDAP support... no
 checking whether to enable multibyte string support... no
 checking whether to enable multibyte regex support... yes
 checking for external libmbfl... no
 checking for MCAL support... no
 checking for mcrypt support... no
 checking for MCVE support... no
 checking OpenSSL dir for MCVE... no
 checking for mhash support... no
 checking whether to include mime_magic support... no
 checking for MING support... no
 checking for mnoGoSearch support... no
 checking for msession support... no
 checking for mSQL support... no
 checking for MSSQL support via FreeTDS... no
 checking for MySQL support... yes
 checking for specified location of the MySQL UNIX socket... no
 checking for MySQL UNIX socket location... no
 checking size of char... (cached) 1
 checking size of int... (cached) 4
 checking size of long... (cached) 4
 checking size of long long... (cached) 8
 checking for size_t... (cached) yes
 checking whether time.h and sys/time.h may both be included... (cached) yes
 checking for uid_t in sys/types.h... (cached) yes
 checking for type ulong... (cached) yes
 checking for type uchar... (cached) no
 checking for type uint... (cached) yes
 checking for type ushort... (cached) yes
 checking for int8... (cached) no
 checking base type of last arg to accept... (cached) socklen_t
 checking return type of qsort... (cached) void
 checking for mysql_close in -lmysqlclient... no
 checking for mysql_errno in -lmysqlclient... (cached) yes
 checking for ncurses support... no
 checking for Oracle (OCI
  support using ORACLE_HOME installation... no checking for Oracle (OCI
  support using Oracle Instant Client... no checking for Adabas support... no
 checking for SAP DB support... no
 checking for Solid support... no
 checking for IBM DB2 support... no
 checking for Empress support... no
 checking for Empress local access support... no
 checking for Birdstep support... no
 checking for a custom ODBC support... no
 checking for iODBC support... no
 checking for Easysoft ODBC-ODBC Bridge support... no
 checking for unixODBC support... no
 checking for DBMaker support... no
 checking for Oracle-ORACLE support... no
 checking whether to enable user-space object overloading support... yes
 checking for Ovrimos SQL Server support... no
 checking whether to enable pcntl support... no
 checking for PCRE support... yes
 checking for PDFlib support... no
 checking for the location of libtiff... no
 checking for Verisign Payflow Pro support... no
 checking for PostgreSQL support... no
 checking whether to enable POSIX-like functions... yes
 checking for seteuid... (cached) yes
 checking for setegid... (cached) yes
 checking for setsid... (cached) yes
 checking for getsid... (cached) yes
 checking for setpgid... (cached) yes
 checking for getpgid... (cached) yes
 checking for ctermid... (cached) yes
 checking for mkfifo... (cached) yes
 checking for getrlimit... (cached) yes
 checking for getlogin... (cached) yes
 checking for getgroups... (cached) yes
 checking for PSPELL support... no
 checking for QtDOM support... no
 checking for libedit readline replacement... no
 checking for readline support... no
 checking for recode support... no
 checking whether to enable PHP sessions... yes
 checking for mm support... no
 checking whether pwrite works... (cached) yes
 checking whether pread works... (cached) yes
 checking whether to enable shmop support... no
 checking for SNMP support... no
 checking OpenSSL dir for SNMP... no
 checking whether to enable UCD SNMP hack... no
 checking whether to enable sockets support... no
 checking for getcwd... (cached) yes
 checking for getwd... (cached) yes
 checking for asinh... (cached) yes
 checking for acosh... (cached) yes
 checking for atanh... (cached) yes
 checking for log1p... (cached) yes
 checking for hypot... (cached) yes
 checking for crypt in -lcrypt... (cached) yes
 checking for standard DES crypt... (cached) yes
 checking for extended DES crypt... (cached) no
 checking for MD5 crypt... (cached) yes
 checking for Blowfish crypt... (cached) no
 checking whether flush should be called explicitly after a buffered io... (cached) no
 checking which regex library to use... php
 checking whether rounding works as expected... yes
 checking for working fnmatch... (cached) yes
 checking for glob... (cached) yes
 checking for strfmon... (cached) yes
 checking for fpclass... (cached) no
 checking for isinf... (cached) yes
 checking for isnan... (cached) yes
 checking whether atof() accepts NAN... (cached) yes
 checking whether atof() accepts INF... (cached) yes
 checking whether HUGE_VAL == INF... (cached) yes
 checking whether HUGE_VAL + -HUGEVAL == NAN... (cached) yes
 checking for libswf support... no
 checking for Sybase support... no
 checking for Sybase-CT support... no
 checking whether to enable System V IPC support... no
 checking whether to enable System V semaphore support... no
 checking whether to enable System V shared memory support... no
 checking whether to enable tokenizer support... yes
 checking whether to enable WDDX support... no
 checking whether byte ordering is bigendian... (cached) no
 checking whether to enable XML support... yes
 checking external libexpat install dir... no
 checking for XMLRPC-EPI support... no
 checking libexpat dir for XMLRPC-EPI... yes
 checking iconv dir for XMLRPC-EPI... yes
 checking whether to enable xslt support... no
 checking for XSLT Sablotron backend... no
 checking for libexpat dir for Sablotron XSL support... no
 checking for iconv dir for Sablotron XSL support... no
 checking for JavaScript for Sablotron XSL support... no
 checking for YAZ support... no
 checking whether to include YP support... no
 checking for ZIP support... no
 
 Configuring PEAR
 checking whether to install PEAR... yes
 
 Configuring Zend
 checking bison version... 1.875 (ok)
 checking for inttypes.h... (cached) yes
 checking for stdint.h... (cached) yes
 checking for limits.h... (cached) yes
 checking for malloc.h... (cached) yes
 checking for string.h... (cached) yes
 checking for unistd.h... (cached) yes
 checking for stdarg.h... (cached) yes
 checking for sys/types.h... (cached) yes
 checking for sys/time.h... (cached) yes
 checking for signal.h... (cached) yes
 checking for unix.h... (cached) no
 checking for mach-o/dyld.h... (cached) no
 checking for dlfcn.h... (cached) yes
 checking for size_t... (cached) yes
 checking return type of signal handlers... (cached) void
 checking for uint... (cached) yes
 checking for ulong... (cached) yes
 checking for int32_t... yes
 checking for uint32_t... yes
 checking for vprintf... (cached) yes
 checking for 8-bit clean memcmp... (cached) yes
 checking for working alloca.h... (cached) yes
 checking for alloca... (cached) yes
 checking for memcpy... (cached) yes
 checking for strdup... (cached) yes
 checking for getpid... (cached) yes
 checking for kill... (cached) yes
 checking for strtod... (cached) yes
 checking for strtol... (cached) yes
 checking for finite... (cached) yes
 checking for fpclass... (cached) no
 checking for finite... (cached) yes
 checking for isfinite... (cached) no
 checking for isinf... (cached) yes
 checking for isnan... (cached) yes
 checking whether fp_except is defined... (cached) no
 checking for dlfcn.h... (cached) yes
 checking whether dlsym() requires a leading underscore in symbol names... no
 checking whether to enable the Zend memory manager... yes
 checking whether to enable thread-safety... no
 checking whether to enable inline optimization for GCC... yes
 checking whether to enable a memory limit... no
 checking whether to enable Zend debugging... no
 checking whether to enable Zend multibyte... no
 checking for inline... (cached) inline
 
 Configuring TSRM
 checking for stdarg.h... (cached) yes
 
 Configuring libtool
 checking for Cygwin environment... (cached) no
 checking for mingw32 environment... (cached) no
 checking build system type... i686-pc-linux-gnu
 checking for ld used by GCC... (cached) /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
 checking for /usr/bin/ld option to reload object files... (cached) -r
 checking for BSD-compatible nm... (cached) /usr/bin/nm -B
 checking for a sed that does not truncate output... (cached) /bin/sed
 checking how to recognise dependent libraries... (cached) pass_all
 checking for object suffix... (cached) o
 checking for executable suffix... (cached) no
 checking command to parse /usr/bin/nm -B output... (cached) ok
 checking for ranlib... (cached) ranlib
 checking for strip... (cached) strip
 checking for objdir... .libs
 checking for gcc option to produce PIC... (cached)  -fPIC
 checking if gcc PIC flag  -fPIC works... (cached) yes
 checking if gcc static flag -static works... (cached) yes
 checking if gcc supports -c -o file.o... (cached) yes
 checking if gcc supports -c -o file.lo... (cached) yes
 checking if gcc supports -fno-rtti -fno-exceptions... yes
 checking whether the linker (/usr/bin/ld) supports shared libraries... yes
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking dynamic linker characteristics... GNU/Linux ld.so
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... no
 checking whether -lc should be explicitly linked in... (cached) no
 creating libtool
 
 Generating files
 updating cache ./config.cache
 creating ./config.status
 creating php4.spec
 creating main/build-defs.h
 creating scripts/phpize
 creating scripts/man1/phpize.1
 creating scripts/php-config
 creating scripts/man1/php-config.1
 creating sapi/cli/php.1
 creating main/php_config.h
 main/php_config.h is unchanged
 creating main/internal_functions.c
 creating main/internal_functions_cli.c
 +--------------------------------------------------------------------+
 | License:                                                           |
 | This software is subject to the PHP License, available in this     |
 | distribution in the file LICENSE.  By continuing this installation |
 | process, you are bound by the terms of this license agreement.     |
 | If you do not agree with the terms of this license, you must abort |
 | the installation process at this point.                            |
 +--------------------------------------------------------------------+
 |                          *** NOTE ***                              |
 |            The default for register_globals is now OFF!            |
 |                                                                    |
 | If your application relies on register_globals being ON, you       |
 | should explicitly set it to on in your php.ini file.               |
 | Note that you are strongly encouraged to read                      |
 | http://www.php.net/manual/en/security.globals.php                  |
 | about the implications of having register_globals set to on, and   |
 | avoid using it if possible.                                        |
 +--------------------------------------------------------------------+
 
 Thank you for using PHP.
 
 
 [root@localhost php]# make
 /bin/sh /usr/local/php/libtool --silent --preserve-dup-deps --mode=compile gcc-Iext/ctype/ -I/usr/local/php/ext/ctype/ -DPHP_ATOM_INC -I/usr/local/php/include -I/usr/local/php/main -I/usr/local/php -I/usr/local/mysql/include -I/usr/local/php/ext/xml/expat -I/usr/local/php/TSRM -I/usr/local/php/Zend    -g -O2  -prefer-non-pic -c /usr/local/php/ext/ctype/ctype.c -o ext/ctype/ctype.lo
 In file included from /usr/local/php/Zend/zend.h:223,
 from /usr/local/php/main/php.h:34,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_alloc.h:26:26: ../TSRM/TSRM.h: No such file or directory
 In file included from /usr/local/php/Zend/zend.h:223,
 from /usr/local/php/main/php.h:34,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_alloc.h:153: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_alloc.h:154: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/Zend/zend.h:245,
 from /usr/local/php/main/php.h:34,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_hash.h:117: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_hash.h:118: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_hash.h:123: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_hash.h:133: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_hash.h:183: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_hash.h:184: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_hash.h:185: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/Zend/zend.h:246,
 from /usr/local/php/main/php.h:34,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_llist.h:34: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_llist.h:35: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_llist.h:59: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_llist.h:61: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_llist.h:62: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_llist.h:64: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/main/php.h:34,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend.h:287: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend.h:321: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend.h:339: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend.h:396: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend.h:397: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend.h:471: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/main/php.h:35,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_qsort.h:23: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/Zend/zend_API.h:25,
 from /usr/local/php/main/php.h:38,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_modules.h:65: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_modules.h:66: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_modules.h:67: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_modules.h:68: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_modules.h:69: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_modules.h:84: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_modules.h:85: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/Zend/zend_execute_globals.h:24,
 from /usr/local/php/Zend/zend_globals.h:34,
 from /usr/local/php/Zend/zend_list.h:25,
 from /usr/local/php/Zend/zend_API.h:26,
 from /usr/local/php/main/php.h:38,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_compile.h:118: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/Zend/zend_execute_globals.h:24,
 from /usr/local/php/Zend/zend_globals.h:34,
 from /usr/local/php/Zend/zend_list.h:25,
 from /usr/local/php/Zend/zend_API.h:26,
 from /usr/local/php/main/php.h:38,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_compile.h:192: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:193: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:194: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:196: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:198: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:199: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:200: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:201: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:204: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:205: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:206: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:208: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:209: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:210: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:211: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:220: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:221: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:222: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:223: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:224: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:225: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:226: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:227: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:228: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:229: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:231: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:232: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:233: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:234: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:235: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:240: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:241: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:242: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:243: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:246: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:247: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:248: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:250: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:251: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:252: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:254: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:255: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:257: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:258: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:260: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:262: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:263: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:264: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:265: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:267: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:268: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:269: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:270: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:271: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:272: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:273: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:274: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:277: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:279: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:282: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:283: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:284: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:285: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:287: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:289: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:290: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:291: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:292: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:293: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:295: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:296: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:297: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:299: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:302: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:303: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:306: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:307: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:309: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:311: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:313: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:314: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:316: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:317: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:318: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:319: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:320: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:322: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:323: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:325: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:326: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:328: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:329: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:330: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:332: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:333: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:334: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:336: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:338: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:340: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:341: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:343: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:344: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:345: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:347: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:348: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:349: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:351: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:359: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:360: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:361: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:362: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:363: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:364: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:366: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:376: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:377: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:379: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:381: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:383: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_compile.h:384: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:386: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_compile.h:388: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/Zend/zend_execute_globals.h:27,
 from /usr/local/php/Zend/zend_globals.h:34,
 from /usr/local/php/Zend/zend_list.h:25,
 from /usr/local/php/Zend/zend_API.h:26,
 from /usr/local/php/main/php.h:38,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_operators.h:39: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:40: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:41: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:42: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:43: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:44: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:47: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:48: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:49: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:50: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:51: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:52: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:54: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:55: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:56: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:57: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:58: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:59: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:149: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:169: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:170: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:171: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:173: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:187: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:188: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_operators.h:189: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/Zend/zend_list.h:25,
 from /usr/local/php/Zend/zend_API.h:26,
 from /usr/local/php/main/php.h:38,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_globals.h:195: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/Zend/zend_API.h:26,
 from /usr/local/php/main/php.h:38,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_list.h:38: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_list.h:65: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_list.h:66: warning: parameter names (without types) infunction declaration
 /usr/local/php/Zend/zend_list.h:67: warning: parameter names (without types) infunction declaration
 /usr/local/php/Zend/zend_list.h:68: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_list.h:73: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_list.h:74: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_list.h:75: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_list.h:82: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_list.h:84: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/Zend/zend_API.h:30,
 from /usr/local/php/main/php.h:38,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_execute.h:31: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_execute.h:32: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_execute.h:34: warning: parameter names (without types)in function declaration
 /usr/local/php/Zend/zend_execute.h:35: warning: parameter names (without types)in function declaration
 /usr/local/php/Zend/zend_execute.h:36: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_execute.h:38: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_execute.h:48: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_execute.h:86: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_execute.h:101: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_execute.h: In function `zend_ptr_stack_get_arg':
 /usr/local/php/Zend/zend_execute.h:106: error: `requested_arg' undeclared (first use in this function)
 /usr/local/php/Zend/zend_execute.h:106: error: (Each undeclared identifier is reported only once
 /usr/local/php/Zend/zend_execute.h:106: error: for each function it appears in.)
 /usr/local/php/Zend/zend_execute.h:109: error: `data' undeclared (first use in this function)
 /usr/local/php/Zend/zend_execute.h: At top level:
 /usr/local/php/Zend/zend_execute.h:113: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_execute.h:117: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_execute.h:118: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_execute.h:119: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_execute.h:120: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_execute.h:123: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_execute.h:138: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/main/php.h:38,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_API.h:112: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:114: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:125: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:126: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:131: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:132: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:135: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:136: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:139: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:140: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:142: warning: parameter names (without types) infunction declaration
 /usr/local/php/Zend/zend_API.h:166: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:167: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:168: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:171: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:244: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:245: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_API.h:252: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/main/php.h:284: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php.h:286: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php.h:292: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php.h:301: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php.h:303: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php.h:305: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php.h:320: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/main/php.h:366,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/main/php_output.h:24: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:27: warning: parameter names (without types) in function declaration
 /usr/local/php/main/php_output.h:28: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:29: warning: parameter names (without types) in function declaration
 /usr/local/php/main/php_output.h:30: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:31: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:32: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:33: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:34: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:35: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:36: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:37: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:38: warning: parameter names (without types) in function declaration
 /usr/local/php/main/php_output.h:39: warning: parameter names (without types) in function declaration
 /usr/local/php/main/php_output.h:40: warning: parameter names (without types) in function declaration
 /usr/local/php/main/php_output.h:41: warning: parameter names (without types) in function declaration
 /usr/local/php/main/php_output.h:42: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:43: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:44: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:45: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:46: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:48: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:49: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:50: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:51: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:52: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:53: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:54: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:55: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:56: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:57: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:58: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:59: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:60: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:78: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:79: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:105: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_output.h:106: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/main/php.h:386,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/main/php_streams.h:106: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:149: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:150: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:151: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:152: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:157: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:158: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:159: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:160: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:166: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:168: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:170: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:172: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:175: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:192: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:194: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:195: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:196: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:197: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:287: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:293: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:294: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:295: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:303: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:306: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:307: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:308: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:327: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:340: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:345: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:349: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:352: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:355: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:359: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:363: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:366: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:369: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:372: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:375: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:381: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:384: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:387: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:390: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:392: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:397: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:425: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:432: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:436: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:442: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:445: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:448: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:451: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:454: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:457: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:460: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:478: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:527: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:528: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:529: warning: parameter names (without types)in function declaration
 /usr/local/php/main/php_streams.h:530: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:532: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:533: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:534: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:535: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:536: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:537: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:543: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:554: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:560: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:600: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_streams.h:632: warning: parameter names (without types)in function declaration
 In file included from /usr/local/php/main/php.h:387,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/main/php_memory_streams.h:40: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_memory_streams.h:41: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_memory_streams.h:42: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_memory_streams.h:44: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/php_memory_streams.h:45: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/main/php.h:388,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/main/fopen_wrappers.h:26: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/fopen_wrappers.h:27: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/fopen_wrappers.h:29: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/fopen_wrappers.h:30: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/fopen_wrappers.h:31: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/fopen_wrappers.h:33: error: syntax error before "TSRMLS_DC"
 /usr/local/php/main/fopen_wrappers.h:35: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/main/php.h:392:30: tsrm_virtual_cwd.h: No such file or directory
 In file included from /usr/local/php/main/php.h:394,
 from /usr/local/php/ext/ctype/ctype.c:23:
 /usr/local/php/Zend/zend_constants.h:47: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_constants.h:49: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_constants.h:50: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_constants.h:51: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_constants.h:52: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_constants.h:53: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_constants.h:54: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_constants.h:55: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_constants.h:56: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_constants.h:57: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_constants.h:58: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/main/php_ini.h:22,
 from /usr/local/php/ext/ctype/ctype.c:24:
 /usr/local/php/Zend/zend_ini.h:70: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_ini.h:86: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_ini.h:87: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_ini.h:88: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_ini.h:89: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_ini.h:91: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_ini.h:93: warning: parameter names (without types) in function declaration
 /usr/local/php/Zend/zend_ini.h:95: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_ini.h:96: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_ini.h:97: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_ini.h:176: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_ini.h:177: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_ini.h:178: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_ini.h:179: error: syntax error before "TSRMLS_DC"
 /usr/local/php/Zend/zend_ini.h:180: error: syntax error before "TSRMLS_DC"
 In file included from /usr/local/php/ext/ctype/ctype.c:24:
 /usr/local/php/main/php_ini.h:26: warning: parameter names (without types) in function declaration
 In file included from /usr/local/php/ext/ctype/ctype.c:25:
 /usr/local/php/ext/ctype/php_ctype.h:36: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:37: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:38: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:39: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:40: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:42: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:43: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:44: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:45: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:46: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:47: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:48: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:49: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:50: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:51: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/php_ctype.h:52: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/ctype.c:26:18: SAPI.h: No such file or directory
 In file included from /usr/local/php/ext/ctype/ctype.c:27:
 /usr/local/php/ext/standard/info.h:58: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/standard/info.h:59: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/standard/info.h:60: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/standard/info.h:61: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/standard/info.h:62: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/standard/info.h:63: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/standard/info.h:64: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/standard/info.h:65: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/standard/info.h:66: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/standard/info.h:67: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/standard/info.h:68: warning: parameter names (without types)in function declaration
 /usr/local/php/ext/standard/info.h:69: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/standard/info.h:81: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/ctype.c:84: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/ctype.c:127: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/ctype.c: In function `zif_ctype_alnum':
 /usr/local/php/ext/ctype/ctype.c:129: error: `ht' undeclared (first use in thisfunction)
 /usr/local/php/ext/ctype/ctype.c:129: error: syntax error before "TSRMLS_CC"
 /usr/local/php/ext/ctype/ctype.c:129: error: `return_value' undeclared (first use in this function)
 /usr/local/php/ext/ctype/ctype.c: At top level:
 /usr/local/php/ext/ctype/ctype.c:135: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/ctype.c: In function `zif_ctype_alpha':
 /usr/local/php/ext/ctype/ctype.c:137: error: `ht' undeclared (first use in thisfunction)
 /usr/local/php/ext/ctype/ctype.c:137: error: syntax error before "TSRMLS_CC"
 /usr/local/php/ext/ctype/ctype.c:137: error: `return_value' undeclared (first use in this function)
 /usr/local/php/ext/ctype/ctype.c: At top level:
 /usr/local/php/ext/ctype/ctype.c:143: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/ctype.c: In function `zif_ctype_cntrl':
 /usr/local/php/ext/ctype/ctype.c:145: error: `ht' undeclared (first use in thisfunction)
 /usr/local/php/ext/ctype/ctype.c:145: error: syntax error before "TSRMLS_CC"
 /usr/local/php/ext/ctype/ctype.c:145: error: `return_value' undeclared (first use in this function)
 /usr/local/php/ext/ctype/ctype.c: At top level:
 /usr/local/php/ext/ctype/ctype.c:151: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/ctype.c: In function `zif_ctype_digit':
 /usr/local/php/ext/ctype/ctype.c:153: error: `ht' undeclared (first use in thisfunction)
 /usr/local/php/ext/ctype/ctype.c:153: error: syntax error before "TSRMLS_CC"
 /usr/local/php/ext/ctype/ctype.c:153: error: `return_value' undeclared (first use in this function)
 /usr/local/php/ext/ctype/ctype.c: At top level:
 /usr/local/php/ext/ctype/ctype.c:159: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/ctype.c: In function `zif_ctype_lower':
 /usr/local/php/ext/ctype/ctype.c:161: error: `ht' undeclared (first use in thisfunction)
 /usr/local/php/ext/ctype/ctype.c:161: error: syntax error before "TSRMLS_CC"
 /usr/local/php/ext/ctype/ctype.c:161: error: `return_value' undeclared (first use in this function)
 /usr/local/php/ext/ctype/ctype.c: At top level:
 /usr/local/php/ext/ctype/ctype.c:167: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/ctype.c: In function `zif_ctype_graph':
 /usr/local/php/ext/ctype/ctype.c:169: error: `ht' undeclared (first use in thisfunction)
 /usr/local/php/ext/ctype/ctype.c:169: error: syntax error before "TSRMLS_CC"
 /usr/local/php/ext/ctype/ctype.c:169: error: `return_value' undeclared (first use in this function)
 /usr/local/php/ext/ctype/ctype.c: At top level:
 /usr/local/php/ext/ctype/ctype.c:175: error: syntax error before "TSRMLS_DC"
 /usr/local/php/ext/ctype/ctype.c: In function `zif_ctype_print':
 /usr/local/php/ext/ctype/ctype.c:177: error: `ht' undeclared (first use in thisfunct
 | 
 |