php-install Digest 3 May 2002 03:47:20 -0000 Issue 816
Topics (messages 6814 through 6824):
Re: php (4.1.2) and gd (2.0.1) truecolor functions missing
6814 by: Eric D Nielsen
MySQL from Access
6815 by: News
6816 by: Jerry
Error: Cannon find -lxmltok on 4.2.0 install
6817 by: Eric Anderson
php crashes apache?
6818 by: The Gabster
error in Apache when configuring PHP...
6819 by: The Gabster
php3 on php4?
6820 by: Walter Barrett
GD Won't work :(
6821 by: Franck Nijhof
6822 by: Rasmus Lerdorf
Re: PHP 4.2.0 causes...oddities...in Apache2.
6823 by: Dylan Fitzgerald
6824 by: Stephan Wuelfert
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Here's some more information.
I've double checked all the gd files on my system, they are all 2.0.1, freshly
generated.
I dug a little into the php-4.1.2/ext/gd directory. The
various files in that directory that appear to create teh stubs for the gd
functions don't appear to list imagecreatetruecolor.
Now I don't know if these files are generated by configure (which is also
overlooking this function) or if this is a seperate problem.
Does anyone have any advice?
Eric
--- End Message ---
--- Begin Message ---
Hi Guys!
I am having trouble after upgrading a database application from Access to
MySQL.
My whole site runs fine except for one SQL query which works fine in Access
but for some reason MySQL doesn't like it at all. Is there a big difference
between the way Access and MySQL implement SQL?
Here is the query.....
SELECT Periode.LibPeriode, PaysPeriode.RefPaysPeriode,
PaysPeriode.DateDebut, PaysPeriode.DateFin
FROM Periode
INNER JOIN (Pays INNER JOIN PaysPeriode ON Pays.RefPays =
PaysPeriode.RefPays) ON Periode.RefPeriode = PaysPeriode.RefPeriode ORDER
BY Periode.libPeriode, PaysPeriode.DateDebut
This has got my really confused as like I said it work fine in Access.
Can anybody help? Please?
Thanks,
Chris
--- End Message ---
--- Begin Message ---
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (News) wrote:
> SELECT Periode.LibPeriode, PaysPeriode.RefPaysPeriode,
> PaysPeriode.DateDebut, PaysPeriode.DateFin
> FROM Periode
> INNER JOIN (Pays INNER JOIN PaysPeriode ON Pays.RefPays =
> PaysPeriode.RefPays) ON Periode.RefPeriode = PaysPeriode.RefPeriode ORDER
> BY Periode.libPeriode, PaysPeriode.DateDebut
I am far from an expert in SQL, but I don't think I've seen a MySQL
statement that uses parentheses to separate JOINs. I suspect what you
want is:
SELECT Periode.LibPeriode, PaysPeriode.RefPaysPeriode,
PaysPeriode.DateDebut, PaysPeriode.DateFin FROM
Pays INNER JOIN PaysPeriode ON Pays.RefPays=PaysPeriode.RefPays
INNER JOIN Periode ON PaysPeriode.RefPeriode=Periode.RefPeriode
ODER BY Periode.libPeriode, PaysPeriode.DateDebut
Jerry
--
http://www.hoboes.com/jerry/
"Give a man a fish and you feed him for a day. Teach him to fish, and you've
depleted the lake."--It Isn't Murder If They're Yankees
(http://www.hoboes.com/jerry/Murder/)
--- End Message ---
--- Begin Message ---
Hi,
I'm trying to install PHP 4.2 w/ Sablotron/XSLT/DOM support and during the
'make install' step I get the following error:
/usr/bin/ld: cannot find -lxmltok
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/home/eric/php-4.2.0'
make: *** [install-recursive] Error 1
I'm using the latest versions of libxml2 and libxslt and zlib 1.1.4
Any ideas what's causing the error? What might be missing? Here's my
configure command:
php-4.2.0]# ./configure \
> --with-apxs=/usr/local/apache/bin/apxs \
> --with-mysql=/usr/local/mysql \
> --with-openssl=/usr/local/ssl \
> --with-zlib \
> --with-pear \
> --with-dom \
> --with-iconv \
> --with-xslt-sablot \
> --with-dom-xslt \
> --enable-xslt \
> --enable-bcmath
Any help would be appreciated,
Eric Anderson
Information Systems Developer
Lundquist College of Business - University of Oregon
541-346-3124
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Hello everyone...
I am trying to configure httpd.conf to support php 4.2.0 and I added
this lines:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
and
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .php
but when I try to start Apache, I receive an "requested operation has
failed" message...
Also it I copied the php4ts.dll in the WINNT/system32 directory. It is
suspect to me that the line c:/php/sapi/php4apache.dll references to a dll
file that I never found on my system (php4apache.dll). Aslo I do not have an
"sapi" subdirectory in my C:/PHP directory. Is there something wrong in the
php install documentation?
Anyone has an idea what am I doing wrong? (I am running Apache 2.0.35
version on a win2k machine)...
Thanks a lot,
gabi
--- End Message ---
--- Begin Message ---
Hello everyone...
I am trying to configure httpd.conf to support php 4.2.0 and I added
this lines:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
and
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .php
but when I try to start Apache, I receive an "requested operation has
failed" message...
Also it I copied the php4ts.dll in the WINNT/system32 directory. It is
suspect to me that the line c:/php/sapi/php4apache.dll references to a dll
file that I never found on my system (php4apache.dll). Aslo I do not have an
"sapi" subdirectory in my C:/PHP directory. Is there something wrong in the
php install documentation?
Anyone has an idea what am I doing wrong? (I am running Apache 2.0.35
version on a win2k machine)...
Thanks a lot,
gabi
--- End Message ---
--- Begin Message ---
I am running 4.2.0 and trying to display .php3 pages. httpd.conf includes:
AddType application/x-httpd-php .php .php3 .php4 .phtml .html .inc
However, when there is a request for a .php3 page, my browser attempts to download the
page like the AddType for php3 was not listed, but it is. :(
Any suggestions? Thanks
oh, yes, I could rename and convert the php3 files to php(4), but that is not an
option. I would like to have a fix.
--
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
--- End Message ---
--- Begin Message ---
I have compiled PHP 4.1.2 with GD 1.8.4. GD is installed (100% sure)
but 't doesn't work.
GD doesn't show up in the phpinfo(), nothing :(
This is how I compiled:
'./configure' '--with-apxs=/usr/sbin/apxs'
'--with-config-file-path=/etc/php' '--with-gd' '--enable-memory-limit'
'--with-xml' '--with-mysql' '--with-zlib' '--enable-track-vars'
'--enable-inline-optimization' '--with-gd=shared'
'--with-mysql=/usr/local' '--enable-force-cgi-redirect'
'--enable-trans-sid' '--enable-ftp' '--with-magic-quotes' '--with-ldap'
'--with-gettext=/usr' '--with-ttf' '--with-gdbm' '--with-mbstring'
'--with-mbstr-enc-trans' '--enable-track-vars' '--enable-wddx=shared'
'--enable-mm=shared' '--enable-xml' '--disable-debug'
'--with-libdir=/usr/lib' '--with-db'
Any solutions? tips? Anything? Please!
Frenck
--- End Message ---
--- Begin Message ---
Why do you have both --with-gd and --with-gd=shared?
On Mon, 22 Apr 2002, Franck Nijhof wrote:
> I have compiled PHP 4.1.2 with GD 1.8.4. GD is installed (100% sure)
> but 't doesn't work.
> GD doesn't show up in the phpinfo(), nothing :(
>
> This is how I compiled:
>
> './configure' '--with-apxs=/usr/sbin/apxs'
> '--with-config-file-path=/etc/php' '--with-gd' '--enable-memory-limit'
> '--with-xml' '--with-mysql' '--with-zlib' '--enable-track-vars'
> '--enable-inline-optimization' '--with-gd=shared'
> '--with-mysql=/usr/local' '--enable-force-cgi-redirect'
> '--enable-trans-sid' '--enable-ftp' '--with-magic-quotes' '--with-ldap'
> '--with-gettext=/usr' '--with-ttf' '--with-gdbm' '--with-mbstring'
> '--with-mbstr-enc-trans' '--enable-track-vars' '--enable-wddx=shared'
> '--enable-mm=shared' '--enable-xml' '--disable-debug'
> '--with-libdir=/usr/lib' '--with-db'
>
> Any solutions? tips? Anything? Please!
>
> Frenck
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Okay, I have Apache2 up and running quite nicely on a Sorcerer box. Joy of
joys. And I finally managed to get PHP to compile against it, which
took a good deal longer.
Interestingly enough, though, when I start Apache2 with the LoadModule
line for PHP4.2.0 in /usr/local/apache2/conf/httpd.conf, it doesn't
error out, doesn't touch error_log or access_log, but instead simply
disappears within a second or so.
Apache2 runs fine without the LoadModule line, so it seems to be
PHP-related...any ideas?
PHP4.2.0 configure/compile/execute/ps ax follows.
Running:
make clean; ./configure --with-apxs2=/usr/local/apache2/bin/apxs
--enable-tracking-vars --enable-magic-quotes --with-mysql && make && make
install && killall httpd
(then insert into httpd.conf: LoadModule /usr/local/apache2/modules/libphp4.so and
<files *.php>SetOutput Filer PHP
and SetInputFilter PHP</files>)
apachectl start && sleep 2s && ps ax | grep -i httpd
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking dependency style of gcc... (cached) none
checking whether gcc and cc understand -c and -o together... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether compiler supports -R... no
checking whether compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for bison... bison -y
checking bison version... 1.35 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...
[1mConfiguring SAPI modules[m
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 for mod_charset compatibility option... no
checking for Apache 2.0 module support via DSO through APXS... yes
checking for Caudium support... no
checking for fhttpd module support... no
checking for CLI build... no
checking for FastCGI 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... apache2filter
[1mRunning system checks[m
checking for missing declarations of reentrant functions... done
checking for sendmail... /usr/sbin/sendmail
checking whether system uses EBCDIC... no
checking for socket in -lsocket... no
checking for htonl in -lsocket... no
checking for yp_get_default_domain... no
checking for gethostname in -lnsl... yes
checking for dlopen in -ldl... yes
checking for sin in -lm... yes
checking for inet_aton in -lresolv... yes
checking for res_search in -lsocket... no
checking for res_search in -lresolv... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for fclose declaration... ok
checking for ApplicationServices/ApplicationServices.h... no
checking for alloca.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for crypt.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for ieeefp.h... no
checking for langinfo.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for netinet/in.h... yes
checking for pwd.h... yes
checking for resolv.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for sysexits.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/sysexits.h... no
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for sys/varargs.h... no
checking for sys/wait.h... yes
checking for unistd.h... yes
checking for unix.h... no
checking for utime.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for tm_gmtoff in struct tm... yes
checking for struct flock... yes
checking for socklen_t... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for struct sockaddr_storage... yes
checking for IPv6 support... yes
checking for vprintf... yes
checking for _doprnt... no
checking for asctime_r... yes
checking for chroot... yes
checking for ctime_r... yes
checking for cuserid... yes
checking for crypt... no
checking for flock... yes
checking for gai_strerror... yes
checking for gcvt... yes
checking for getlogin... yes
checking for gethostbyaddr... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for inet_aton... yes
checking for isascii... yes
checking for link... yes
checking for localtime_r... yes
checking for lockf... yes
checking for lrand48... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nl_langinfo... yes
checking for putenv... yes
checking for realpath... yes
checking for random... yes
checking for rand_r... yes
checking for regcomp... yes
checking for res_search... yes
checking for setitimer... yes
checking for setlocale... yes
checking for localeconv... yes
checking for setsockopt... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sin... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for getaddrinfo... yes
checking for strlcat... no
checking for strlcpy... no
checking for getopt... yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether sprintf is broken... no
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... yes
checking for type of readdir_r... POSIX
checking whether to include debugging symbols... no
checking layout of installed files... yes
checking path to configuration file... yes
checking whether to install PEAR, and where... yes
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking for OpenSSL support... no
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to enable magic quotes by default... yes
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 for crypt in -lcrypt... yes
[1mConfiguring extensions[m
checking if the location of ZLIB install directory is defined... no
checking for ZLIB support... no
checking for ASPELL support... 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 CCVS 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 CyberCash support... no
checking for cybermut 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 DB2 support... no
checking for Berkeley DB3 support... no
checking for DBM support... no
checking for CDB support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... no
checking for dbplus 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 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 GNU gettext support... no
checking for GNU MP support... no
checking for Hyperwave support... no
checking for ICAP support... no
checking for iconv support... no
checking for IMAP 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 japanese encoding translation... no
checking whether to enable multibyte regex support... no
checking for MCAL support... no
checking for mcrypt support... no
checking for MCVE support... no
checking for mhash support... no
checking for MING support... no
checking for mnoGoSearch support... no
checking for msession support... no
checking for mSQL support... no
checking for Muscat support... no
checking for MySQL support... yes
checking for MySQL UNIX socket... /var/tmp/mysql.sock
checking for inline... inline
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking return type of signal handlers... void
checking for ANSI C header files... (cached) yes
checking for sgtty.h... no
checking for sys/ioctl.h... no
checking for fcntl.h... (cached) yes
checking for float.h... no
checking for floatingpoint.h... no
checking for ieeefp.h... (cached) no
checking for limits.h... (cached) yes
checking for memory.h... (cached) yes
checking for pwd.h... (cached) yes
checking for select.h... no
checking for stdlib.h... (cached) yes
checking for stddef.h... no
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking for synch.h... no
checking for sys/mman.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/timeb.h... no
checking for sys/types.h... (cached) yes
checking for sys/un.h... no
checking for sys/vadvise.h... no
checking for sys/wait.h... (cached) yes
checking for term.h... no
checking for unistd.h... (cached) yes
checking for utime.h... (cached) yes
checking for sys/utime.h... no
checking for termio.h... no
checking for termios.h... no
checking for sched.h... no
checking for crypt.h... (cached) yes
checking for alloca.h... (cached) yes
checking for char... yes
checking size of char... 1
checking for int... (cached) yes
checking size of int... (cached) 4
checking for long... (cached) yes
checking size of long... (cached) 4
checking for long long... yes
checking size of long long... 8
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for uid_t in sys/types.h... (cached) yes
checking for type ulong... yes
checking for type uchar... no
checking for type uint... yes
checking for type ushort... yes
checking for int8... no
checking base type of last arg to accept... socklen_t
checking return type of qsort... void
checking for alarm... yes
checking for bmove... no
checking for chsize... no
checking for ftruncate... yes
checking for rint... yes
checking for finite... yes
checking for fpsetmask... no
checking for fpresetsticky... no
checking for cuserid... (cached) yes
checking for fcntl... yes
checking for fconvert... no
checking for getrusage... (cached) yes
checking for getpwuid... yes
checking for getcwd... yes
checking for getrlimit... yes
checking for getwd... yes
checking for index... yes
checking for locking... no
checking for longjmp... yes
checking for perror... yes
checking for pread... yes
checking for realpath... (cached) yes
checking for rename... yes
checking for socket... yes
checking for strnlen... yes
checking for madvise... yes
checking for strtoul... yes
checking for strtoull... yes
checking for snprintf... (cached) yes
checking for tempnam... (cached) yes
checking for thr_setconcurrency... no
checking for gethostbyaddr_r... yes
checking for gethostbyname_r... yes
checking for getpwnam... yes
checking for bfill... no
checking for bzero... yes
checking for bcmp... yes
checking for strstr... (cached) yes
checking for strpbrk... yes
checking for strerror... (cached) yes
checking for tell... no
checking for atod... no
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for setupterm... no
checking for strcasecmp... (cached) yes
checking for sighold... yes
checking for vidattr... no
checking for setupterm... (cached) no
checking for lrand48... (cached) yes
checking for localtime_r... (cached) yes
checking for sigset... yes
checking for sigthreadmask... no
checking for pthread_sigmask... yes
checking for pthread_setprio... no
checking for pthread_setprio_np... no
checking for pthread_setschedparam... yes
checking for pthread_attr_setprio... no
checking for pthread_attr_setschedparam... yes
checking for pthread_attr_create... no
checking for pthread_getsequence_np... no
checking for pthread_attr_setstacksize... yes
checking for pthread_condattr_create... no
checking for rwlock_init... no
checking for crypt... (cached) no
checking for dlopen... yes
checking for dlerror... yes
checking for fchmod... yes
checking for getpass... yes
checking for getpassphrase... no
checking for strtok_r... (cached) yes
checking style of gethostname_r routines... other
checking 3 argument to gethostname_r routines... char
checking "args to pthread_getspecific"... POSIX
checking "args to pthread_mutex_init"... POSIX
checking "args to readdir_r"... POSIX
checking "style of sigwait"... POSIX
checking for ncurses support... no
checking for Oracle-OCI8 support... 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 OpenLink ODBC support... no
checking for DBMaker support... no
checking for Oracle-ORACLE support... no
checking whether to enable user-space object overloading support... no
checking for Ovrimos SQL Server support... no
checking whether to enable pcntl support... no
checking for PCRE support... yes
checking for memmove... (cached) yes
checking for PDFlib support... no
checking for Verisign Payflow Pro support... no
checking for PostgreSQL support... no
checking whether to enable POSIX-like functions... yes
checking for seteuid... yes
checking for setegid... yes
checking for setsid... yes
checking for getsid... yes
checking for setpgid... yes
checking for getpgid... yes
checking for ctermid... yes
checking for mkfifo... yes
checking for getrlimit... (cached) yes
checking for PSPELL support... no
checking whether to include QDOM 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 for pread... (cached) yes
checking for pwrite... yes
checking whether pwrite works without custom declaration... yes
checking whether pread works without custom declaration... yes
checking whether to enable shmop support... no
checking for SNMP support... no
checking whether to enable UCD SNMP hack... no
checking whether to enable sockets support... no
checking for dlopen... (cached) yes
checking for pam_start in -lpam... yes
checking for getcwd... (cached) yes
checking for getwd... (cached) yes
checking for standard DES crypt... yes
checking for extended DES crypt... no
checking for MD5 crypt... yes
checking for Blowfish crypt... no
checking whether flush should be called explicitly after a bufferered io... no
checking whether to enable aggregation support... no
checking for libswf support... no
checking for Sybase support... no
checking for Sybase-CT 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... no
checking for vpopmail support... no
checking whether to enable WDDX support... no
checking whether byte ordering is bigendian... 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... no
checking whether to enable xslt support... no
checking for XSLT Sablotron backend... no
checking libexpat dir for Sablotron XSL support... no
checking enable JavaScript for Sablotron... no
checking for YAZ support... no
checking whether to include YP support... no
checking for ZIP support... no
checking whether to enable versioning... no
checking which regex library to use... php
[1mConfiguring Zend[m
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... 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... no
creating libtool
checking bison version... 1.35 (ok)
checking for limits.h... (cached) yes
checking for malloc.h... 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 dlfcn.h... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for dlopen in -ldl... (cached) yes
checking for dlopen... (cached) yes
checking whether dlsym() requires a leading underscore in symbol names... no
checking for uint... yes
checking for ulong... yes
checking for vprintf... (cached) yes
checking for _doprnt... (cached) no
checking for working memcmp... 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... yes
checking for kill... yes
checking for strtod... yes
checking for strtol... yes
checking for finite... (cached) yes
checking for fpclass... no
checking whether sprintf is broken... (cached) no
checking for finite... (cached) yes
checking for isfinite... no
checking for isinf... yes
checking for isnan... yes
checking whether fp_except is defined... no
checking whether to enable experimental ZTS... yes
checking whether to enable inline optimization for GCC... no
checking whether to enable a memory limit... no
checking whether to enable Zend debugging... no
checking for inline... (cached) inline
[1mConfiguring TSRM[m
checking for stdarg.h... (cached) yes
checking for pthreads_cflags... (cached) -pthread
checking for pthreads_lib... (cached)
checking for POSIX threads... yes
[1mGenerating files[m
checking for working mkdir -p... yes
creating config_vars.mk
configure: creating ./config.status
fastgen.sh: creating sapi/Makefile
fastgen.sh: creating ext/Makefile
fastgen.sh: creating Makefile
fastgen.sh: creating pear/Makefile
fastgen.sh: creating main/Makefile
fastgen.sh: creating sapi/cli/Makefile
fastgen.sh: creating ext/ctype/Makefile
fastgen.sh: creating ext/mysql/Makefile
fastgen.sh: creating ext/mysql/libmysql/Makefile
fastgen.sh: creating ext/pcre/Makefile
fastgen.sh: creating ext/pcre/pcrelib/Makefile
fastgen.sh: creating ext/posix/Makefile
fastgen.sh: creating ext/session/Makefile
fastgen.sh: creating ext/standard/Makefile
fastgen.sh: creating ext/xml/Makefile
fastgen.sh: creating ext/xml/expat/Makefile
fastgen.sh: creating sapi/apache2filter/Makefile
fastgen.sh: creating regex/Makefile
creating main/internal_functions.c
creating main/internal_functions_cli.c
[make; make install snipped for size]
/usr/sbin/apachectl start: httpd started
ps ax | grep -i httpd gives no output.
--- End Message ---
--- Begin Message ---
Hi Dylan Fitzgerald,
well, thats _exactly_ what I get! There ist one little trick to get it
running. Start apache _without_ the LoadModule line with php. Now apache
starts up correctly. Insert the LoadModule line in httpd.conf and make a
restart. apache loads the php-module and ist fully functional. Even on high
load and longer runtime it doesn't crash here. But I am unable to start it
with the php-module.
Why? hmm, I have absolutely no idea. No logfile, no errors on syslog,
nothing. Maybe there is something to see with strace but until now I have
had no time to test this.
by
Stephan Wuelfert
Dylan Fitzgerald wrote:
> Okay, I have Apache2 up and running quite nicely on a Sorcerer box. Joy
> of
> joys. And I finally managed to get PHP to compile against it, which
> took a good deal longer.
>
> Interestingly enough, though, when I start Apache2 with the LoadModule
> line for PHP4.2.0 in /usr/local/apache2/conf/httpd.conf, it doesn't
> error out, doesn't touch error_log or access_log, but instead simply
> disappears within a second or so.
>
> Apache2 runs fine without the LoadModule line, so it seems to be
> PHP-related...any ideas?
>
> PHP4.2.0 configure/compile/execute/ps ax follows.
>
> Running:
> make clean; ./configure --with-apxs2=/usr/local/apache2/bin/apxs
> --enable-tracking-vars --enable-magic-quotes --with-mysql && make && make
> install && killall httpd
> (then insert into httpd.conf: LoadModule
> /usr/local/apache2/modules/libphp4.so and <files *.php>SetOutput Filer PHP
> and SetInputFilter PHP</files>) apachectl start && sleep 2s && ps ax |
> grep -i httpd
>
[snipped]
--- End Message ---