php-install Digest 27 Nov 2002 23:58:03 -0000 Issue 1137

Topics (messages 9258 through 9264):

Has anyone got the Netscape C LDAP SDK 4.x for linux?
        9258 by: jqp.park.se

Re: XSLT support for RH8
        9259 by: Derick Rethans

Re: XSLT support for RH8]
        9260 by: Marco A. mateos

building on OS X with pgsql support
        9261 by: Frank Joerdens

segmantation fault
        9262 by: Richard Pijnenburg

obdc doesn't like me ?
        9263 by: Vincent Courcelle

PHP Code in .html/.htm pages
        9264 by: Robert W. Kramer III

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 ---
 Hi everyone.

 I'm trying to get php-4.2.3 to be able to verify against our
 Netware NDS/LDAP server over SSL and for that I need the
 Netscape/iplanet/SUN SDK, I can't use OpenLDAP/OpenSSL.

 The problem is that php doesn't seem to work with the 5.x
 version of the SDK tha SUN offers and I haven't been able
 to locate the 4.x version that I've heard should work.
 I've been able to hack the php configure file to include
 and link the 5.x libraries but when I start it I get
 "ldap_start_tsl_s" errors.

 Has anyone got the 4.x , or does anyone know how to get 5.x to work?

 Regards,

  Peder Hedlund
  Sysadmin
  Parkskolan
  Övik
  Sweden

--- End Message ---
--- Begin Message ---
Dan Kuykendall wrote:
I cannot seem to get RH8 to to compile XSLT support. Has anyone else gotten this to work? Anyone with the resulting php-xslt rpm?
What is the error message? And you really should not rely on the RH8 RPMS as they found it necessary to change some defaults.

--

-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
-- 
Marco A. Mateos
www.lomejordeinternet.net / specka.com
[EMAIL PROTECTED] / ICQ: 172542875
Clave Pública disponible en pgp.rediris.es
--- Begin Message ---
Well,.. I'm using XSLT (sablotron..) with php-4.2.2-8.0.5,
sablotron-0.96-1

Steps
=====
1.- Download sablotron src (actual is 0.96-2 but today not tested for
me) in http://www.gingerall.com/charlie/ga/xml/d_sab.xml
2.- Download (if not installed js) in
http://download-2.gingerall.cz/download/related/js-1.5rc4-2.src.rpm
3.- rpmbuild --rebuild js-1.5rc4-2.src.rpm and install
(if problem with rebuild this package send email with problem)
4.- rpmbuild --rebuild sablotron-*.src.rpm and install it.
5.- rpm -ivh php-4.2.X.X.src.rpm
6.- Edit php.spec into /usr/src/redhat/SPECS/ for adding this lines inf
%configure:
    --enable-xslt \
    --with-xslt-sablot-sablot=/usr \
    --with-sablot-js=/usr \
7.- Run on SPECS dir, rpmbuild -bb php*.spec and reinstall all php-*.rpm
8.- Edit php.ini for active [mbstrings]



    





El mié, 27-11-2002 a las 10:55, Dan Kuykendall escribió:
> I cannot seem to get RH8 to to compile XSLT support. Has anyone else 
> gotten this to work? Anyone with the resulting php-xslt rpm?
> 
> Dan
-- 
Marco A. Mateos
www.lomejordeinternet.net / specka.com
[EMAIL PROTECTED] / ICQ: 172542875
Clave Pública disponible en pgp.rediris.es

Attachment: signature.asc
Description: Esta parte del mensaje esta firmada digitalmente

--- End Message ---

Attachment: signature.asc
Description: Esta parte del mensaje esta firmada digitalmente

--- End Message ---
--- Begin Message ---
I tried both the fink postgresql package (installed the package
postgresql-shlibs as well), which is based on 7.2.3, and compiled 7.3rc1
myself. With the fink package, it won't find libpq-fe.h (it ain't there, as far
as I can make out, i.e. I ran a find on the entire fink tree). With 7.3rc1, I
get an error upon running

./configure --with-pgsql=/usr/local/pgsql:

+--------------------------------------------------------------------+
|                       *** ATTENTION ***                            |
|                                                                    |
| Something is likely to be messed up here, because the configure    |
| script was not able to detect a simple feature on your platform.   |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages.                         |
|                                                                    |
| If you are unable to fix this, send the file debug.log to the      |
| [EMAIL PROTECTED] mailing list and include appropiate      |
| information about your setup.                                      |
+--------------------------------------------------------------------+

The debug.log file looks like this:

-------------------- begin debug.log --------------------
bash-2.05a# cat debug.log
CONFIGURE:   './configure' '--with-pgsql=/usr/local/pgsql'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -traditional-cpp
CXX:
CXXFLAGS:
INCLUDES:      -I$(top_builddir)/Zend -I/usr/src/php-4.2.3/ext/mysql/libmysql 
-I/usr/local/pgsql/include
LDFLAGS:     -L/usr/local/pgsql/lib -L/usr/local/pgsql/lib
LIBS:       -lpq -lm
DLIBS:
SAPI:       cgi
PHP_RPATHS:  /usr/local/pgsql/lib
uname -a:   Darwin titan.archi-me-des.de 6.2 Darwin Kernel Version 6.2: Tue Nov  5 
22:00:03 PST 2002; root:xnu/xnu-344.12.2.obj~1/RELEASE_PPC  Power Macintosh powerpc

gcc -o conftest -g -O2  -traditional-cpp  -L/usr/local/pgsql/lib 
-L/usr/local/pgsql/lib conftest.c -lpq -lm  1>&5
-------------------- end debug.log --------------------

Running ./configure without pgsql support doesn't give an error.

The system is OS X 10.2.2 with the latest fink (cvs) packages installed.

Any ideas?

Regards, Frank
--- End Message ---
--- Begin Message ---
Hi all,
 
I've installed Imap like it's described at:
http://www.php.net/manual/en/ref.imap.php
I've compiled php to use imap which went fine.
 
But when I try to start apache, I get a segmentation fault.
 
Does any one have an idea how to get imap support with php?
 
Thanks a lot.
 
With kind regards,
 
Richard Pijnenburg
 
--- End Message ---
--- Begin Message ---
print("hello world!");
when i'm triing to "make" php (4.2.3 patched by the patch on boutell to
accept the gdlib 2.0.8), php says me :
In file included from php_odbc.c:37:
php_odbc.h:120:17: sql.h: No such file or directory
php_odbc.h:121:20: sqlext.h: No such file or directory
make[3]: *** [php_odbc.slo] Error 1
make[3]: Leaving directory `/root/php-4.2.3/ext/odbc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.2.3/ext/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.2.3/ext'
make: *** [all-recursive] Error 1

what happened ?
i've already a distrib installed via a rpm by my hoster (rackshack) but
without a gd>2 which i will uninstall when i'll have installed this (did i
must uninstall the other first ?)
(i've the same problem when trying to install php-4.3-0RC1)
thanks to help me (i just need gdlib 2 or > to use imagecreatetruecolor())
(i'm a french linux newbie, so sorry for my bad english)
thanks again


my compiling options (red hat 7.2) :
./configure
i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbind
ir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/includ
e --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --shareds
tatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --prefix=
/usr --with-config-file-path=/etc --enable-force-cgi-redirect --disable-debu
g --enable-pic --disable-rpath --enable-inline-optimization --with-bz2 --wit
h-db3 --with-curl --with-dom=/usr --with-exec-dir=/usr/bin --with-freetype-d
ir=/usr --with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --wi
th-gdbm --with-gettext=shared --with-ncurses --with-gmp --with-iconv --with-
jpeg-dir=/usr --with-openssl --with-pear --with-png --with-pspell --with-reg
ex=system --with-expat-dir=/usr --with-zlib --with-layout=GNU --enable-bcmat
h --enable-debugger --enable-exif --enable-ftp=shared --enable-magic-quotes
--enable-safe-mode --enable-sockets --enable-sysvsem=shared --enable-sysvshm
=shared --enable-discard-path --enable-track-vars --enable-trans-sid --enabl
e-yp --enable-wddx --without-oci8 --with-kerberos=/usr/kerberos --with-ldap=
shared --with-mysql=shared,/usr --with-pgsql=shared --with-unixODBC=shared -
-enable-memory-limit --enable-bcmath --enable-shmop --enable-versioning --en
able-calendar --enable-dbx --enable-dio --enable-mcal --enable-mbstring --en
able-mbstr-enc-trans --disable-experimental-zts --with-apxs=/usr/sbin/apxs


Vincent Courcelle,
http://www.france-jeunes.net et http://www.tubededentifrice.com
 
--- End Message ---
--- Begin Message ---
If I name my file .php and run the printinfo() routine, I get output. But
when the file is named .html or .htm, the printinfo() just displays in the
page.

Is there a way to get .html files to execute the PHP code within them? For
example, the following code will only work from within a file with .php as
the extension:

(index.php)
<?php
print ("Hello World!<P>");
phpinfo();
?>

This will display as expected showing the PHP environment in pretty tables.

When I rename index.php to index.htm, I get output that looks like this:

"); phpinfo(); ?>

Can't PHP code be inserted in .html named files?

Bob Kramer






--- End Message ---

Reply via email to