[PHP-INSTALL] Secure Layer support PHP 4.3.4 as Apache 2 module

2003-12-12 Thread Roman 'Ra' Melihhov
Trying to build PHP 4.4 as apache 2.0.48 module with OpenSSL 0.9.6b support
but while build doesn´t make any complaints I can´t see secure layer stream
on the phpinfo() http://www.blakout.net/temp/ page and neither does any
file(https://someurl) works. Here are the compilation options:

./configure --with-apxs2=/etc/httpd/bin/apxs --with-mysql --with-openssl=/us
r --enable-ftp --enable-magic-quotes --with-zlib --enable-bcmath --enable-ca
lendar --with-bz2 --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/li
bexec --libdir=/usr/lib --with-gd  --enable-gd-native-ttf --with-imap --with
-kerberos

What could possibly be wrong? Ideas appreciated.
=
System Linux blakout.net 2.4.20-20.7 #1 Mon Aug 18 14:56:30 EDT 2003 i686
Build Date Nov 19 2003 08:41:29
Configure Command './configure' '--with-apxs2=/etc/httpd/bin/apxs'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.bzip2, compress.zlib
=


Re: Fwd: [PHP-INSTALL] Re: PHP and httpd.conf

2003-12-12 Thread Michael Mauch
sara kolster wrote:

> >>#AddType application/x-httpd-php .php 
> >>#AddType application/x-httpd-php-source .phps
> >>
> >>which i have to uncomment are NOT there. ??
> >>   
> >>
> >
> >Then add these lines (copy and paste to avoid typos) and remove the "#".
> > 
> >
> I did this in the AddType-section of the httpd.conf file.

Good.
 
> I did ./configure --with-apxs ; no error messages, so i suppose 
> everything went well. But php isn't running after restarting gracefully 
> apache..

Restarting gracefully won't work, even "apachectl restart" won't pick
up the new PHP module IIRC.

Just to be sure: you did "make" and "make install" in the PHP source
directory after "configure ..."?
 
> I read at http://nl2.php.net/manual/en/install.macosx.php you had to 
> configure httpd (apache) --enable-shared=max \ . Would that be it?

I'm not sure, but I don't think that you have to use
"--enable-shared=max". If you have the "apxs" of your current Apache,
you should be fine (you can compare the timestamps of "apxs" and the
"httpd" or "apache" program).

Regards...
Michael


[PHP-INSTALL] configure: error: libpng.(a|so) not found

2003-12-12 Thread Rob Lloyd
Newbie trying to install php 4.3.4 on RH9 w/ apache 2.0. Also my first time
posting to this group.

tried:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-t
rack-vars --with-xmlrpc --with-gd --enable-mbstring=all -enable-mbregex --wi
th-zlib-dir=/usr/include

Bombs out at this point.

Configuring extensions
checking for OpenSSL support... no
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined...
/usr/include/
checking for gzgets in -lz... yes
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... yes
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 fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=
configure: error: libpng.(a|so) not found.

No idea what is causing this because all of the libraries seem to be there
when I check /usr/lib
any pointers would be most helpful.

Thanks,
rob lloyd


[PHP-INSTALL] recompiling php with cur - Problem with libjpeg.

2003-12-12 Thread Gene Ballard
Using:
Redhat 7.1
PHP 4.1.2

I’ve looked through config.log file, searched Google and tried
to find info on php.net but to no avail.

Working on recompiling php with curl but I get the error:
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... no
configure: error: Problem with libjpeg.

= Configure Command ==
./configure
i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/u
sr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/sh
are --includedir=/usr/include --libdir=/usr/lib --libexecdir=/
usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --m
andir=/usr/share/man --infodir=/usr/share/info --prefix=/usr -
-with-config-file-path=/etc --enable-force-cgi-redirect --disa
ble-debug --enable-pic --disable-rpath --enable-inline-optimiz
ation --with-bz2 --with-db3 --with-exec-dir=/usr/bin --with-pn
g-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --with-
gdbm --with-gettext --with-ncurses --with-gmp --with-iconv --w
ith-jpeg-dir=/usr/lib --with-mcrypt --with-openssl --with-png 
--with-pspell --with-regex=system --with-ftp --with-zlib --wit
h-layout=GNU --enable-bcmath --enable-debugger --enable-magic-
quotes --enable-safe-mode --enable-sockets --enable-sysvsem --
enable-sysvshm --enable-discard-path --enable-track-vars --ena
ble-trans-sid --enable-yp --enable-wddx --without-oci8 --with-
imap=shared --with-imap-ssl --with-kerberos=/usr/kerberos --wi
th-ldap=shared --with-mysql=shared,/usr --with-xml --with-pgsq
l=shared --with-snmp=shared,/usr --with-snmp=shared --enable-u
cd-snmp-hack --with-unixODBC=shared --enable-memory-limit --en
able-bcmath --enable-shmop --enable-versioning --enable-calend
ar --enable-dbx --enable-dio --enable-mbstring --enable-mbstr-
enc-trans --with-apxs=/usr/sbin/apxs --with-curl=/usr/lib/curl

= config.log file ===
http://dev.wolfix.com/config.txt

Please share helpful documentation or a fix.

Respectfully,

Gene


[PHP-INSTALL] Re: configure: error: libpng.(a|so) not found

2003-12-12 Thread Michael Mauch
Rob Lloyd wrote:
> Newbie trying to install php 4.3.4 on RH9 w/ apache 2.0. Also my first time
> posting to this group.
> 
> tried:
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-t
> rack-vars --with-xmlrpc --with-gd --enable-mbstring=all -enable-mbregex --wi
> th-zlib-dir=/usr/include

Try "--with-zlib-dir=/usr", so configure can find the header file /usr/include/zlib.h 
as
well as the library /usr/lib/libz.so. Probably --with-zlib is enough, either.

Regards...
Michael


[PHP-INSTALL] Re: configure: error: libpng.(a|so) not found

2003-12-12 Thread Rob Lloyd
This time I tried both "--with-zlib" & "--with-zlib-dir=/usr"
Unfortunately I get the same error.

here are the last fewlines of the config.log
configure:29785: checking for fabsf
configure:29813: gcc -o conftest -g -O2
  conftest.c -lz -lresolv -lm -ldl -lnsl  1>&5
configure:29797: warning: conflicting types for built-in function `fabsf'
configure:29785: checking for floorf
configure:29813: gcc -o conftest -g -O2
  conftest.c -lz -lresolv -lm -ldl -lnsl  1>&5


 Rob Lloyd wrote:
> > Newbie trying to install php 4.3.4 on RH9 w/ apache 2.0. Also my first
time
> > posting to this group.
> >
> > tried:
> >
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-t
> >
rack-vars --with-xmlrpc --with-gd --enable-mbstring=all -enable-mbregex --wi
> > th-zlib-dir=/usr/include
>
> Try "--with-zlib-dir=/usr", so configure can find the header file
/usr/include/zlib.h as
> well as the library /usr/lib/libz.so. Probably --with-zlib is enough,
either.


[PHP-INSTALL] Re: recompiling php with cur - Problem with libjpeg.

2003-12-12 Thread Michael Mauch
Gene Ballard wrote:

> I?ve looked through config.log file, searched Google and tried
> to find info on php.net but to no avail.

Perhaps this info is really missing on php.net - I can't find it either.
I filed a documentation bug report for it now.

> Working on recompiling php with curl but I get the error:
> checking for the location of libjpeg... yes
> checking for jpeg_read_header in -ljpeg... no
> configure: error: Problem with libjpeg.
> 
> = Configure Command ==
> ./configure
> i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/u
> sr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/sh
> are --includedir=/usr/include --libdir=/usr/lib --libexecdir=/
> usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --m
> andir=/usr/share/man --infodir=/usr/share/info --prefix=/usr -
> -with-config-file-path=/etc --enable-force-cgi-redirect --disa
> ble-debug --enable-pic --disable-rpath --enable-inline-optimiz
> ation --with-bz2 --with-db3 --with-exec-dir=/usr/bin --with-pn
> g-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --with-
> gdbm --with-gettext --with-ncurses --with-gmp --with-iconv --w
> ith-jpeg-dir=/usr/lib

Try "--with-jpeg-dir=/usr", so configure can find the header file in
/usr/include and the library in /usr/lib.

Regards...
Michael


[PHP-INSTALL] php parses file at www.url.com but not url.com

2003-12-12 Thread Tyler Brown
I'm installing on windows with apache and a test page displays 
perfectly if I reference the page at
www.sooreal.net/test.php
but not if I reference it at
sooreal.net/test.php

I've made virtualhost entries for both in the apache config fileany
clues?

Thanks!

[EMAIL PROTECTED]


[PHP-INSTALL] Apache Tomcat with PHP

2003-12-12 Thread Duy Viet JSC






Hi there,
I have a Linux 7.3 with Apache Tomcat 4.0. Now I want to install PHP but don't know how to configure Apache Tomcat to run with it. Please help me.
Thanks







  IncrediMail - Email has finally evolved - Click Here