php-install Digest 24 Mar 2003 08:54:12 -0000 Issue 1303

Topics (messages 10394 through 10396):

Buidlingprobs: make: *** [libs/libphp4.bundle] Error 1
        10394 by: heilo

Trouble connecting to Oracle
        10395 by: gede.e.dharmika.astra-honda.com

Re: apache/php/mysql seems *really* slow on winxp
        10396 by: Franz Max

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 there everybody!

I installed all the required extensions i need (which was really frustrating
sometimes...) - i was really happy as the configure-command succeeded
without errormessages.  I tried this all on Mac Os X 10.2.4, my
configure-command looks like this:
./configure
  --with-apxs
  --with-xml
  --with-mysql
  --enable-trans-sid
  --enable-exif
  --enable-wddx
  --enable-ftp
  --enable-dbx
  --enable-mbstring
  --enable-xslt
  --enable-dbx
  --enable-dbase
  --enable-sockets
  --enable-calendar
  --enable-shared
  --enable-mbregex
  --enable-session
  --enable-tokenizer
  --enable-yp
  --enable-versioning
  --enable-mime-magic
  --with-xmlrpc=/usr/local
  --with-gd=/usr/local
  --with-dom=/usr/local/
  --with-png-dir=/usr/local/lib
  --with-zlib=/usr/local
  --with-jpeg-dir=/usr/local/lib
  --with-freetype-dir=/usr/local
  --with-t1lib=/usr/local
  --with-curl=/usr/local
  --with-tiff-dir=/usr/local
  --with-pdflib=/usr/local
  --with-xslt-sablot=/usr/local
  --with-imap=../imap-2002b
  --with-expat-dir=/usr/local
  --with-mhash=/usr/local/lib
  --with-openssl=/usr
  --with-iodbc=/usr
  --with-iconv=/usr/local/lib
  --with-sybase=/usr/local
  --with-ttf=/usr/local
  --with-pspell=/usr/local
  --with-imap-ssl=/usr
Well, there occurred about a thousand errors, which look the same all the
time.

cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory

Somewhere I also get the following (I installed the newest available version
of iconvlib):

gcc  -Iext/iconv/ -I/Users/phreak/Documents/dls/php-4.3.1/ext/iconv/
-DPHP_ATOM_INC -I/Users/phreak/Documents/dls/php-4.3.1/include
-I/Users/phreak/Documents/dls/php-4.3.1/main
-I/Users/phreak/Documents/dls/php-4.3.1
-I/Users/phreak/Documents/dls/php-4.3.1/Zend -I/usr/local/include
-I/usr/local/include/libxml2 -I/usr/local/include/freetype2
-I/Users/phreak/Documents/dls/imap-2002b/c-client
-I/usr/local/include/pspell  -no-cpp-precomp -DDARWIN -DUSE_HSREGEX
-DUSE_EXPAT -DHARD_SERVER_LIMIT=2048 -DEAPI -no-cpp-precomp
-I/Users/phreak/Documents/dls/php-4.3.1/TSRM  -g -O2  -c
/Users/phreak/Documents/dls/php-4.3.1/ext/iconv/iconv.c -o ext/iconv/iconv.o
&& echo > ext/iconv/iconv.lo
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/Users/phreak/Documents/dls/php-4.3.1/ext/iconv/iconv.c: In function
`zif_ob_iconv_handler':
/Users/phreak/Documents/dls/php-4.3.1/ext/iconv/iconv.c:411: warning:
passing arg 4 of `php_iconv_string' from incompatible pointer type


These were all only warnings, so the compiler worked on. But then he
suddenly dies after

gcc -dynamic -twolevel_namespace -bundle -bundle_loader /usr/sbin/httpd -g
-O2   --export-symbols=/Us [...] -lssl -lcrypto -lz  -o libs/libphp4.bundle
&& cp libs/libphp4.bundle libs/libphp4.so

[ hundreds of warnings, that some symbols were defined multiple times ]

/usr/sbin/httpd definition of _XmlPrologStateInit
/usr/local/lib/libexpat.dylib(xmlrole.lo) definition of _XmlPrologStateInit
ld: warning multiple definitions of symbol _crypt
/usr/lib/libcrypto.dylib(fcrypt.o) definition of _crypt
/usr/lib/libm.dylib(crypt.So) definition of _crypt
make: *** [libs/libphp4.bundle] Error 1

And then i'm back to the command line


--- End Message ---
--- Begin Message ---
Dear all,

I have my server running on Linux RH 7.2, Kernel 2.4.7 (RPM), Apache 1.3.20,
PHP 4.0.6, MySQl 3.23.xx. So far there is no problem. But now I tried to
connect to Oracle DB on remote server (Oracle 9i).
First I install the Oracle client in the webserver (Oracle 8i Client
8.1.6.0.0 - Programmer type) . Then I try the connection with tnsping and it
works properly.

After that I reconfigured the PHP (I use guidance from Ismail Yenigul,
Configuring PHP with Oracle 8i Support)

./configure --with-apxs=/usr/sbin/apxs --enable-track-vars \
--with-oci8=/home/oracle/OraHome1 \
--with-oracle=/home/oracle/OraHome1

/home/oracle/OraHome1 is my $ORACLE_HOME path

There is no error when I run the configure script.

I check the phpinfo and still :
--without-oci8 --without-oracle

In php.ini, I enable the line
oci.so and oracle.so manually.

But still there is no change in phpinfo.
Finally I try to find those two file (oci8.so and oracle.so) all around my
server and I can not find it.

Could anybody help me with a clue ?

Thank you.

Regards,

Gilijk


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 17/03/2003


--- End Message ---
--- Begin Message ---
Hi,
Probably the reason is in the notebooks hardrdrive. Except of few notebooks
the bult in hdds speed is 3400rpm because of its power consumption. I think
your p3-700 is a desktop pc with at least 7200rpm hdd ata100. Its bandwith
is minimum 4 times more than the notebooks hdd. I think that is the
solution.
regards
Franz
"Jeff D. Hamann" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've got a web project that was developed using apache 2.0.44 php 4.3.x
and
> mysql 4.0.11-gamma and it runs much faster on a win2k machine with P3-700
> and 512MB than it does on a brnad new winxp laptop with a P4-2GHz with
> 512MB. The database is pretty small (about 30 MB) and I've configured
> apache, php and mysql similarily on both machines.
>
> has anyone else noticed this behavior?
>
> jeff.
>
>



--- End Message ---

Reply via email to