php-install Digest 16 Nov 2001 11:24:33 -0000 Issue 557
Topics (messages 4985 through 4991):
Re: Sybase/MSSQL
4985 by: Richard Lynch
Cpdflib doesn't work.
4986 by: Anders Backlundd
4989 by: Amiroot
Re: php3 not working
4987 by: chandra
Re: Install php4.0.6 with Oracle9i in Linux Redhat7.2(Kernel 2.4.9-13)
4988 by: Kexiao Liao
Apache2 + php4.0.6 make error
4990 by: Pong
Mysql functions seem to hang.
4991 by: sin
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 ---
Richard Lynch wrote:
> But attempting to connect to a remote MS SQLserver (in either isql or PHP)
> yields:
>
> CT-LIBRARY error:
> ct_connect(): network packet layer: internal net library error:
> Net-Library operation terminated due to disconnect
Grrrr. The dba had *NOT* installed service pack 2, as earlier reported...
So *this* is taken care of...
Alas, I'm now able to isql, but get a segfault from Apache:
http://bugs.php.net/?id=14074
The *WEIRD* thing is that I now cannot even use PHP to talk to the ASE
server, which I *DID* have working yesterday. Sigh.
This all remains unanswered:
> Trying FreeTDS, I get an error from make about not finding -lsybtcl. I
> can "fix" that by editing the Makefile by hand and adding /opt/sybase to
> the library path, since that's the only place I can find any libsybtcl.so
> file on the entire system, but that just makes Apache segfault... And
> isql is not at all happy about trying to use the FreeTDS directory for its
> SYBASE setting... Some error message about a missing directory... Sorry,
> I got so frustrated at this point with FreeTDS, since Sybase at least let
> me talk to ASE that I gave up on FreeTDS.
>
> Is FreeTDS supposed to make its own libsybtcl or what?
>
> I used the FreeTDS configure line from the PHPBuilder article:
> /configure --with-tdsver=4.2 --enable-msdblib --enable-dbmfix
> --with-gnu-ld --enable-shared --enable-static
> http://phpbuilder.com/columns/alberto20000919.php3?page=3
>
> I did not apply the patch because (A) I couldn't find it, and (B) it was
> for 4.0.2, so I was hoping 4.0.6 would already have had it applied... But
> I followed all the other instructions in the article, almost for sure.
> I'm not 100% certain it's SQL 7.0 Service Pack 2 -- The MS dba just left.
> They reassured me very early in this process that they were running the
> latest and greatest MS SQL Server, though.
>
> Please help -- I'm at my wit's end to make PHP talk to SQL Server. This
> should not be this tricky.
--
Like music? http://l-i-e.com/artists.htm
--- End Message ---
--- Begin Message ---
I'm using Apache 1.3.22, mySQL 3.23.44 and PHP 4.0.6. When I configured PHP
I
used --prefix=/usr/local/php --with-apache=/usr/local/apache_1.3.22 --with-m
ysql=/usr/local/mysql --with-cpdflib/usr/local/ClibPDF. Now I get the
scripts to work just fine with the exeption of cpdf_*. These functions
aren't working. Is there anyone that has a magic way of making this problem
go away?
Anders
--- End Message ---
--- Begin Message ---
The cpdf works fine in my linux box. I just use the default config of
redhat7.1 and install the cpdflib with rpm. I use Apache is 1.3.19 and
PHP4.0.4pl
Here is my configure for your reference.
'./configure' '--prefix=/usr' '--with-config-file-path=/etc'
'--disable-debug' '--enable-pic' '--enable-shared'
'--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs'
'--with-exec-dir=/usr/bin' '--with-regex=system' '--with-gettext'
'--with-gd' '--with-jpeg-dir=/usr' '--with-png' '--with-zlib' '--with-db2'
'--with-db3' '--with-gdbm' '--enable-debugger' '--enable-magic-quotes'
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem'
'--enable-sysvshm' '--enable-track-vars' '--enable-ftp' '--without-mysql'
'--without-oracle' '--without-oci8' '--with-xml' '--with-cpdflib'
I think some of the options maybe useless because I just follow the default
setting.
"Anders Backlundd" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
> I'm using Apache 1.3.22, mySQL 3.23.44 and PHP 4.0.6. When I configured
PHP
> I
>
used --prefix=/usr/local/php --with-apache=/usr/local/apache_1.3.22 --with-m
> ysql=/usr/local/mysql --with-cpdflib/usr/local/ClibPDF. Now I get the
> scripts to work just fine with the exeption of cpdf_*. These functions
> aren't working. Is there anyone that has a magic way of making this
problem
> go away?
>
> Anders
>
>
--- End Message ---
--- Begin Message ---
Hi
Im in the proccess of testing php3 extension files. But I get this error.
IT works fine for just php extension files.
cannot load MySQL extension,
please check PHP Configuration.
The webserver is running on RedHat 7.2 wiht Apache, with all the latest
patches and bug fixes installed. As far as I can tell in going throught the
httpd.conf, the setting/entries seem to be allrite.
Chandra
--- End Message ---
--- Begin Message ---
Hi Stephan,
I upgraded binutils to Redhat 7.2 version, and successfully
install/compile php4.0.6. After the installation, libphp4.so was generated in
/opt/apache/libexec directory and /opt/apache/conf/httpd.conf was updated.
However when I start apache server, I got some error messages:
------------------------------------------------------------------
[root@hermes bin]$ ./apachectl start
Syntax error on line 236 of /opt/apache/conf/httpd.conf:
Cannot load /opt/apache/libexec/libphp4.so into server: libclntsh.so.9.0:
cannot open shared object file: No such file or directory
./apachectl start: httpd could not be started
-------------------------------------------------------------------
I remembered there are some shared libraries need to add into php system. But
I can't remember them. Could you give me some suggestion? Thanks
Kexiao
Jaeck Stephan wrote:
> Hmmmm, did you install/compile with Oracle account?
> You must be root!
>
> Stephan
>
> -----Original Message-----
> From: Kexiao Liao [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 15, 2001 2:58 AM
> To: Jaeck Stephan
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] Install php4.0.6 with Oracle9i in Linux
> Redhat7.2(Kernel 2.4.9-13)
>
> Dear Stephan,
> I downloaded php-4.0.6-oci8-oracle9i.patch from below web site as you
> told
> me.
> ...
--- End Message ---
--- Begin Message ---
I got Apache 2.0.25(httpd-2_0_28-beta.tar.gz) installed I believe just fine
with DSO Support.
My config apache 2.0.28 :
./configure --prefix=/usr/local/apache2 -enable-auth-anon --enable-file-ca
che --enable-echo --enable-cache
--enable-ssl --with-ssl=/usr/local/ssl --with-mpm=prefork --enable-http --en
able-info --enable-rewrite
--enable-so --enable-module=most --enable-shared=max
My Config php 4.0.6
./configure --with-apxs2=/usr/local/apache2/bin/apxs
!!!! During the make i see: !!!
Making all in sapi
make[1]: Entering directory `/tmp/php-4.0.6/sapi'
Making all in apache2filter
make[2]: Entering directory `/tmp/php-4.0.6/sapi/apache2filter'
make[3]: Entering directory `/tmp/php-4.0.6/sapi/apache2filter'
/bin/sh /tmp/php-4.0.6/libtool --silent --mode=compile
gcc -I. -I/tmp/php-4.0.6/sapi/apache2filter -I/tmp/php-4.0.6/main -I/tmp/ph
p-4.0.6 -I/usr/local/apache2/include -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/
ext/mysql/libmysql -I/tmp/php-4.0.6/ext/xml/expat/xmltok -I/tmp/php-4.0.6/ex
t/xml/expat/xmlparse -I/tmp/php-4.0.6/TSRM -D_REENTRANT -DSUPPORT_UTF8 -DXM
L_BYTE_ORDER=12 -I../TSRM -DTHREAD=1 -g -O2 -pthread -c sapi_apache2.c
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:248: warning: passing arg 4 of `ap_get_brigade' from
incompatible pointer type
sapi_apache2.c: In function `php_output_filter':
sapi_apache2.c:337: too few arguments to function `ap_save_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:443: warning: passing arg 2 of `ap_register_input_filter'
from incompatible pointer type
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/tmp/php-4.0.6/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/php-4.0.6/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/php-4.0.6/sapi'
make: *** [all-recursive] Error 1
[root@www php-4.0.6]#
?????????? Why make error ?
Thank ...
--- End Message ---
--- Begin Message ---
I posted earlier about the script seeming to hang and not giving the rest of
the html file. after commenting out everything except the very first mysql
function call it seems that it is the mysql finctions that seem to cause the
problems. Is there a line i have to include to load the functions or did i
install php wrong?
--- End Message ---