Skip to Main Content

GoldenGate

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

GoldenGate versions and Oracle 12c

user9527632Aug 15 2017 — edited Aug 16 2017

The support matrix is a little confusing to me.  I have GoldenGate 12.1 for Oracle 12c   version  (A)  and GoldenGate 12.2 for Oracle 12c.  (B)

According to support Matrix, neither of A or B fully supports Oracle 12CR2,   does anyone have an experience what it doesn't support?

for (A),  if i specify my Oracle 12CR2 database's compatible parameter to 12.1,   would (A) fully support?

for(B),  the matrix tells you to use compatible to 12.1 on 12cr2 database.

Any comments?   I am upgrading my Oracle database from 11.2.0.4 to 12.2,  but my Goldengate is 12.1,   and I don't want to go to Goldengate 12.2 now, is it possible?

Thanks.

Comments

801146
First check to see if GD is compiled into this PHP. Create a simple PHP file with phpinfo(); as the only instruction, then scan through the list of extensions. If it's available then there will be a section called "GD" with the parameters available.

If GD isn't already compiled into this PHP binary then you'll need to recompile PHP with the GD extension. This is easier than it sounds if you have an environment that already capable of building (see php.net for instructions on how to assemble a buildable environment).

Once you have a rebuilt PHP it should be trivial to make Web Server use the new binary. Your Web Server is already configured to use PHP, you just need to replace the PHP binary Web Server is looking for. Just make sure you compile PHP to use the same API (NSAPI or FastCGI) that Web Server is expecting.
807567
j.mccabe,

Thanks for your reply. right now I am using the php that was compiled by sun for use with sun web server 7. how do I recompile it with gd library? I am trying to look for instruction at php.net, but was unable to find it. Do you have the link? Thanks.
807567
This is the version of php I am using.

phppack-5_2_0-solaris-amd64.zip
801146
I'm afraid I don't know if that build of PHP has GD in it or not. I'll assume that it does not since you're having problems.

If you're on Solaris you can use the PHP from the Web Stack by following Sriram's instructions: [http://blogs.sun.com/natarajan/entry/a_simple_way_to_get|http://blogs.sun.com/natarajan/entry/a_simple_way_to_get]

If you need to compile from scratch then you can follow these instructions: [http://developers.sun.com/webtier/reference/techart/php2.html|http://developers.sun.com/webtier/reference/techart/php2.html]

Since you're using the add-on Sun provided, the installer script configured Web Server to use the PHP binary. During installation you will have selected either NSAPI or FastCGI, so you will need to build the new binary to use the same API your Web Server is already configured to use.

The first essential step in compiling PHP (after assembling the necessary tools and dependencies) will be your configure line. For reference, here's the line I use:
./configure --with-openssl --with-gettext --with-zlib --with-jpeg-dir=/opt --with-gd --with-mysql=/opt --with-png-dir=/opt --with-mcrypt --enable-mbstring --enable-sockets 
After that the process is more-or-less laid out in the link above.
807567
I've downloaded gd library from sunfreeware and all its dependencies and installed them. With the downloaded php-5.3.2 source code from php.net, I run the command

./configure with-openssl with-gettext with-zlib with-jpeg-dir=/usr/local/lib with-gd with-mysql=/usr/local/lib with-png-dir=/usr/local/lib with-mcrypt enable-mbstring enable-sockets

I got the following error.

loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... egrep
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
801146
Ahh. Windows.

Compiling for Windows is a pain. It's the only platform that PHP.net distributes in binary form just 'cause it's such a pain.

http://windows.php.net/download/

Unfortunately I couldn't really tell you which of those to download.
807567
I am running on solaris 10 x86 machine. This is the version I downloaded.

PHP 5.3.2

Complete Source Code

PHP 5.3.2 (tar.gz) [13,413Kb] - 04 Mar 2010 from

http://www.php.net/downloads.php#v5
801146
Ahh. OK. A bad assumption on my part based on the Cygwin failure in your quoted text combined with late-night laziness. Sorry about that.

Your failure shows that your build environment is missing a lot of necessary components. Let's start with these:

checking for Cygwin environment... no
checking for mingw32 environment... no
checking for gcc... no
checking for cc... no

Have you confirmed that you installed the dependencies that PHP requires as described here ?
807567
I have downloaded and installed following dependencies for php

gcc (recommended, other C compilers may work)
make
flex
bison
m4
autoconf
automake
perl
gzip
tar
GNU sed

as well as following dependencies for gd library

xpm,
freetype,
fontconfig,
libiconv,
libintl,
libpng,
zlib,
expat,
jpeg
and /usr/local/lib/libgcc_s.so.1 from libgcc-3.4.6 or gcc-3.4.6 or higher.

but I am still getting the same error.

Does the files or the dependencies packages needs to be in a specific folder? or the php has to be in a specific folder? or Do I need to point them to the right directory? currently the dependence packages are located under /usr/local/
801146
The configure script is going to look in the default OS locations for the various dependencies. If you haven't installed them with the OS-native package manager then the odds are pretty good that the configure script won't be able to find them.

A quick Googling found me this blog: [http://blogs.whardy.com/john/2008/01/02/moodle-on-solaris/|http://blogs.whardy.com/john/2008/01/02/moodle-on-solaris/] It seems to be more-or-less a step-by-step for compiling PHP on Solaris and then using it with Web Server. Can you double-check your steps against it?
807567
with the following command

# ./configure with-gettext with-jpeg-dir=/usr/local/bin with-gd with-png-dir=/usr/local/bin enable-mbstring enable-sockets

I got the following output.

loading cache ./config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for egrep... (cached) egrep
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
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 how to run the C preprocessor... (cached) gcc -E
checking for icc... no
checking for suncc... no
checking whether gcc and cc understand -c and -o together... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether ln -s works... (cached) yes
checking for system library directory... lib
checking whether to enable runpaths... yes
checking if compiler supports -R... (cached) yes
checking for gawk... (cached) nawk
checking if nawk is broken... ./configure: !: not found
no
checking for bison... (cached) bison -y
checking for bison version... (cached) invalid
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none).
checking for re2c... no
configure: warning: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
./configure: !: not found
./configure: !: not found
checking whether to enable computed goto gcc extension with re2c... no
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking for pthreads_cflags... (cached)
checking for pthreads_lib... (cached)

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
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 Apache 1.x (hooks) module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support... no
checking whether to enable Apache charset compatibility option... no
checking for Caudium support... no
checking for CLI build... yes
checking for Continuity support... no
checking for embedded SAPI library support... no
checking for Zeus ISAPI support... no
checking for LiteSpeed support... no
checking for Milter support... no
checking for NSAPI support... no
checking for PHTTPD support... no
checking for Pi3Web support... no
checking whether Roxen module is build using ZTS... no
checking for Roxen/Pike support...
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking whether to build CGI binary... yes
checking for socklen_t in sys/socket.h... yes
checking for sun_len in sys/un.h... no
checking whether cross-process locking is required by accept()... yes
checking for chosen SAPI module... cgi
807567
Running system checks
checking for sendmail... (cached) /usr/sbin/sendmail
checking whether system uses EBCDIC... (cached) no
checking whether byte ordering is bigendian... (cached) no
checking whether writing to stdout works... (cached) yes
checking for socket... no
checking for __socket... no
checking for socket in -lsocket... yes
checking for socketpair... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... no
checking for __gethostbyaddr... no
checking for gethostbyaddr in -lnsl... yes
checking for yp_get_default_domain... yes
checking for dlopen... yes
checking for sin in -lm... (cached) yes
checking for inet_aton... 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 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 dns.h... (cached) no
checking for fcntl.h... (cached) yes
checking for grp.h... (cached) yes
checking for ieeefp.h... (cached) yes
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 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/ioctl.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/stat.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) yes
checking for sys/wait.h... (cached) yes
checking for sys/loadavg.h... (cached) yes
checking for termios.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 assert.h... (cached) yes
checking for fopencookie... (cached) no
checking for broken getcwd... yes
checking for broken libc stdio... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) no
checking for tzname... (cached) yes
checking for missing declarations of reentrant functions... done
checking for fclose declaration... ok
checking for tm_gmtoff in struct tm... (cached) no
checking for struct flock... (cached) yes
checking for socklen_t... (cached) yes
checking size of size_t... (cached) 4
807567
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 size of intmax_t... (cached) 8
checking size of ssize_t... (cached) 4
checking size of ptrdiff_t... (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 field sa_len in struct sockaddr... (cached) no
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) yes
checking for flock... (cached) no
checking for ftok... (cached) yes
checking for funopen... (cached) no
checking for gai_strerror... (cached) yes
checking for gcvt... (cached) yes
checking for getloadavg... (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 gethostname... (cached) yes
checking for getrusage... (cached) yes
checking for gettimeofday... (cached) yes
checking for gmtime_r... (cached) yes
checking for getpwnam_r... (cached) yes
checking for getgrnam_r... (cached) yes
checking for getpwuid_r... (cached) yes
checking for grantpt... (cached) yes
checking for inet_ntoa... (cached) yes
checking for inet_ntop... (cached) yes
checking for inet_pton... (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 lchown... (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 ptsname... (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 scandir... (cached) yes
checking for setitimer... (cached) yes
checking for setlocale... (cached) yes
checking for localeconv... (cached) yes
checking for setenv... (cached) yes
checking for setpgid... (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 strnlen... (cached) no
checking for strptime... (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 unlockpt... (cached) yes
checking for unsetenv... (cached) yes
checking for usleep... (cached) yes
checking for utime... (cached) yes
checking for vsnprintf... (cached) yes
checking for vasprintf... (cached) no
checking for asprintf... (cached) no
checking for nanosleep... (cached) yes
checking for getaddrinfo... (cached) yes
checking for strlcat... (cached) yes
checking for strlcpy... (cached) yes
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
checking for in_addr_t... (cached) yes
checking for crypt_r... (cached) no
807567
General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... DEFAULT
checking where to scan for configuration files...
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 explicitly link against libgcc... yes
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking how big to make fd sets... using system default

Configuring extensions
checking size of long... (cached) 4
checking size of int... (cached) 4
checking for int32_t... (cached) yes
checking for uint32_t... (cached) yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... (cached) yes
checking for atoll... (cached) yes
checking for strftime... (cached) yes
checking which regex library to use... php
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking for OpenSSL support... no
checking for Kerberos support... no
checking for PCRE library to use... bundled
checking whether to enable the SQLite3 extension... yes
checking bundled sqlite3 library... yes
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 whether to enable ctype functions... yes
checking for cURL support... no
checking if we should use cURL for url streams... no
checking for QDBM support... 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 DB1 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
807567
checking whether to enable DOM support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking for ENCHANT support... no
checking whether to enable EXIF (metadata from images) support... no
checking for fileinfo support... yes
checking for utimes... (cached) yes
checking for strndup... (cached) no
checking whether to enable input filter support... yes
checking pcre install prefix... no
checking whether to enable FTP support... no
checking OpenSSL dir for FTP... no
checking for GD support... yes
checking for the location of libjpeg... /usr/local/bin
checking for the location of libpng... /usr/local/bin
checking for the location of libXpm... 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 fabsf... (cached) yes
checking for floorf... (cached) yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for png_write_image in -lpng... (cached) yes
If configure fails try --with-xpm-dir=<DIR>
If configure fails try --with-freetype-dir=<DIR>
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dngettext in -lintl... yes
checking for dcngettext in -lintl... yes
checking for bind_textdomain_codeset in -lintl... yes
checking for GNU MP support... no
checking for mhash support... no
checking whether to enable hash support... yes
checking whether byte ordering is bigendian... (cached) no
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking for iconv support... yes
checking for iconv... (cached) yes
checking if iconv is glibc's... no
checking if using GNU libiconv... 269yes
checking if iconv supports errno... yes
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... no
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking for InterBase support... no
checking whether to enable internationalization support... no
checking whether to enable JavaScript Object Serialization support... yes
checking for ANSI C header files... (cached) yes
checking for LDAP support... no
checking for LDAP Cyrus SASL support... no
checking whether to enable multibyte string support... yes
checking whether to enable multibyte regex support... yes
checking whether to check multibyte regex backtrack... yes
checking for external libmbfl... no
checking for external oniguruma... no
checking for variable length prototypes and stdarg.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... yes
checking for unistd.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/times.h... yes
checking for stdarg.h... (cached) yes
checking size of int... (cached) 4
checking size of short... (cached) 2
checking size of long... (cached) 4
checking for working const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for stdarg.h... (cached) yes
checking for mcrypt support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... no
checking for specified location of the MySQL UNIX socket... no
checking for MySQLi support... no
checking whether to enable embedded MySQLi support... no
checking for Oracle (OCI8) support... no
checking whether to enable pcntl support... no
checking whether to enable PDO support... yes
checking for PDO_DBLIB support via FreeTDS... no
checking for Firebird support for PDO... no
checking for MySQL support for PDO... no
checking Oracle OCI support for PDO... no
checking for ODBC v3 support for PDO... no
checking for PostgreSQL support for PDO... no
checking for sqlite 3 support for PDO... yes
checking for PDO includes... checking for PDO includes... /download/php-5.3.2/ext
checking for usleep... (cached) yes
checking for nanosleep... (cached) yes
checking for time.h... (cached) yes
checking for fdatasync in -lrt... (cached) yes
checking for PostgreSQL support... no
checking for phar archive support... yes
checking for phar openssl support... no
checking whether to enable POSIX-like functions... yes
checking for sys/mkdev.h... (cached) 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 mknod... (cached) yes
checking for getrlimit... (cached) yes
checking for getlogin... (cached) yes
checking for getgroups... (cached) yes
checking for makedev... (cached) no
checking for initgroups... (cached) yes
checking for getpwuid_r... (cached) yes
checking for getgrgid_r... (cached) yes
807567
checking for working ttyname_r() implementation... no, posix_ttyname() will be thread-unsafe
checking for utsname.domainname... (cached) no
checking for PSPELL 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 whether to enable SimpleXML support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking for SNMP support... no
checking OpenSSL dir for SNMP... no
checking whether to enable UCD SNMP hack... no
checking whether to enable SOAP support... no
checking whether to enable sockets support... yes
checking for struct cmsghdr... yes
checking for hstrerror... no
checking for socketpair... (cached) yes
checking for netdb.h... (cached) yes
checking for netinet/tcp.h... yes
checking for sys/un.h... yes
checking for errno.h... yes
checking whether zend_object_value is packed... yes
checking for sqlite support... yes
checking whether to enable UTF-8 support in sqlite (default: ISO-8859-1)... no
checking for PDO includes... (cached) /download/php-5.3.2/ext
checking for lemon... no
configure: warning: lemon versions supported for regeneration of libsqlite parsers: 1.0 (found: none).
checking size of char *... (cached) 4
checking for usleep... (cached) yes
checking for nanosleep... (cached) yes
checking for time.h... (cached) yes
checking whether flush should be called explicitly after a buffered io... (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) yes
checking for SHA512 crypt... (cached) no
checking for SHA256 crypt... (cached) no
checking whether the compiler supports __alignof__... (cached) yes
checking whether the compiler supports aligned attribute... (cached) yes
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 glob... (cached) yes
checking for strfmon... (cached) yes
checking for nice... (cached) yes
checking for fpclass... (cached) yes
checking for isinf... (cached) no
checking for isnan... (cached) yes
checking for mempcpy... (cached) no
checking for strpncpy... (cached) no
checking for working fnmatch... (cached) yes
checking for fork... (cached) yes
checking if your OS can spawn processes with inherited handles... yes
checking for res_nsearch... no
checking for __res_nsearch... no
checking for res_nsearch in -lresolv... yes
checking for dns_search... no
checking for __dns_search... no
checking for dns_search in -lresolv... no
checking for __dns_search in -lresolv... no
checking for dns_search in -lbind... no
checking for __dns_search in -lbind... no
checking for dns_search in -lsocket... no
checking for __dns_search in -lsocket... no
checking for dn_expand... yes
checking for dn_skipname... yes
checking for res_search... yes
checking whether atof() accepts NAN... (cached) yes
checking whether atof() accepts INF... (cached) no
checking whether HUGE_VAL == INF... (cached) no
checking whether HUGE_VAL + -HUGEVAL == NAN... (cached) yes
checking whether strptime() declaration fails... (cached) yes
checking for wchar.h... (cached) yes
checking for mblen... (cached) yes
checking for mbrlen... (cached) yes
checking for mbsinit... (cached) yes
checking for mbstate_t... (cached) yes
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 for TIDY support... no
checking whether to enable tokenizer support... yes
checking whether to enable WDDX support... no
checking libexpat dir for WDDX... no
checking whether to enable XML support... yes
checking libexpat install dir... no
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking whether to enable XMLReader support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking for XMLRPC-EPI support... no
checking libexpat dir for XMLRPC-EPI... no
checking iconv dir for XMLRPC-EPI... no
checking whether to enable XMLWriter support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking for XSL support... no
checking for zip archive read/writesupport... no
checking pcre install prefix... no
checking whether to disable compressed protocol support in mysqlnd... yes
807567
Configuring PEAR
checking whether to install PEAR... yes

Configuring Zend
checking for bison version... (cached) invalid
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none).
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 stdlib.h... (cached) yes
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) yes
checking for sigsetjmp... (cached) yes
checking whether sprintf is broken... (cached) no
checking for finite... (cached) yes
checking for isfinite... (cached) no
checking for isinf... (cached) no
checking for isnan... (cached) yes
checking whether fp_except is defined... (cached) no
checking for usable FPUSETCW... no
checking for usable fpsetprec... no
checking for usable _controlfp... no
checking for usable controlfps... no
checking whether FPU control word can be manipulated by inline assembler... yes
checking whether double cast to long preserves least significant bits... no
checking for dlfcn.h... (cached) yes
checking whether dlsym() requires a leading underscore in symbol names... no
checking virtual machine dispatch method... CALL
checking whether to enable thread-safety... no
checking whether to enable inline optimization for GCC... yes
checking whether to enable Zend debugging... no
checking whether to enable Zend multibyte... no
checking for inline... (cached) inline
checking target system is Darwin... no
checking for MM alignment and log values... done
checking for memory allocation using mmap(MAP_ANON)... yes
checking for memory allocation using mmap(/dev/zero)... yes
checking for mremap... (cached) no

Configuring TSRM
checking for stdarg.h... (cached) yes

Configuring libtool
checking build system type... i386-pc-solaris2.10
checking for ld used by gcc... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for /usr/ccs/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
checking how to recognize dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking the maximum length of command line arguments... (cached) 786240
checking command to parse /usr/ccs/bin/nm -p output from gcc object... (cached) ok
checking for objdir... (cached) .libs
checking for ar... no
checking for ranlib... no
checking for strip... no
checking if gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) no
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes

creating libtool
appending configuration tag "CXX" to libtool

Generating files
updating cache ./config.cache
creating ./config.status
creating php5.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
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. |
--------------------------------------------------------------------

Thank you for using PHP.
807567
I am trying to use the ./php -version command. I am not finding ./php under my php directory /download/php-5.3.2/sapi/cgi
801146
After you ran ./configure you need to run make (or gmake) to actually compile the binary.
807567
I ran it again, because i forgot to enable fastcgi and I got the following error.

Thank you for using PHP.

Notice: Following unknown configure options were used:

--enable-fastcgi

Check './configure --help' for available options
801146
I believe that current versions (5.3.something) of PHP now build FastCGI by default. This renders --enable-fastcgi as not-needed.

I use FastCGI with PHP. Here's my configure line from 5.3.2:
./configure --with-openssl --with-gettext --with-zlib --with-jpeg-dir=/opt --with-gd --with-mysql=/opt --with-png-dir=/opt --with-mcrypt --enable-mbstring--enable-sockets
807567
After compile, I got the following.

bash-3.00# ./php -version
PHP 5.3.2 (cli) (built: Jul 18 2010 20:55:30)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

But my php is located under

bash-3.00# pwd
/download/php-5.3.2/sapi/cli

instead of under
/download/php-5.3.2/sapi/cgi

as described at http://developers.sun.com/webtier/reference/techart/php2.html

is it because of the different version?

How do I config the web server 7 to work with this version of php, should I follow the site
http://developers.sun.com/webtier/reference/techart/php2.html#4

or is there any difference in php-5.3.2?
801146
I don't recall if the PHP people have changed the name of the FCGI binary. I just did a build on CentOS and ended up with this:

# cd sapi/cgi/
# *./php-cgi -v*
PHP 5.3.2 (cgi-fcgi) (built: Jul 19 2010 09:04:06)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

Notice that the binary (just after build completion) is called php-cgi, that it's in the sapi/cgi directory, and that it reports itself as "cgi-fcgi".


Regarding where to put it ... Look in your Web Server obj.conf file. Somewhere in there you will find a section that contains "app-path" and points to a particular location (again, this assumes that you told the PHP Add-On installer that you wanted to use FastCGI). That line is telling Web Server where to find the PHP binary to execture. Either replace that binary with the one you just built, or change the path to point to the new location of your binary. Then stop/start your Web Server and access a test PHP page with phpinfo(); inside. Verify that the page that comes back indicates that you're using PHP 5.3.2 and also contains a section with information about GD.
807567
Thanks, Looks like it's working, after pointing app-path in obj.conf, I restarted the web server. and tested with a phpinfo(); testing page. it shows that gd library is enabled.

Now, I am trying to compile also mysql into the php, but it's giving me error, can you help with that. error message is shown as follow;

configure: error: Cannot find MySQL header files under /data/Software/mysql-standard-5.0.27-solaris10-x86_64/include.
Note that the MySQL client library is not bundled anymore!

I am pointing --with-mysql to the mysql directory and also tried pointing to the mysql header folder. both are giving me error.
801146
On Centos I have to have the mysql-devel-5.0.77-4.el5_5.3 package installed. I have no idea what it might be called on Solaris.

Good luck!
1 - 25
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 13 2017
Added on Aug 15 2017
3 comments
1,048 views