php-install Digest 11 Dec 2001 15:50:50 -0000 Issue 597

Topics (messages 5256 through 5264):

Re: PHP 4.1.0/gd compile error
        5256 by: Rasmus Lerdorf

problem installing php 4.1.0 with ldap support (for OpenLDAP 2.0. 18)
        5257 by: Kaltz, Wolfgang

php with oci8 / apache will not start
        5258 by: Kenneth

4.1.0 compilation error
        5259 by: Takacs Istvan

problems running index.php on win98, apache, php 4.06
        5260 by: Myers, Stephen

[confirm: b34c3d15e890017ea19b0ddb5cb64359 [EMAIL PROTECTED]]
        5261 by: Myers, Stephen

post install
        5262 by: Myers, Stephen

Warning: mail() is not supported in this PHP build
        5263 by: J.L.Gilmour.exeter.ac.uk

How to compile PHP-4.1.0 or 4.0.6 with Oracle-9i ?
        5264 by: Somsak RAKTHAI

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 ---
Sounds like you have an old gd1 header file lying around that PHP is 
picking up instead of the 2.0 one.  Do a "locate gd.h" on your system and 
get rid of any old stray versions of this file.

-Rasmus

On Mon, 10 Dec 2001, Allie Micka wrote:

> I'm having a problem compiling PHP 4.1.0 with gd support.  I've got gd-2.0.
> 1 installed from the ports tree.  php configures fine, but during the 
> compile it outputs the following:
> 
> -c gd.c
> gd.c: In function `zm_startup_gd':
> gd.c:271: `gdArc' undeclared (first use in this function)
> gd.c:271: (Each undeclared identifier is reported only once
> gd.c:271: for each function it appears in.)
> gd.c:272: `gdPie' undeclared (first use in this function)
> gd.c:273: `gdChord' undeclared (first use in this function)
> gd.c:274: `gdNoFill' undeclared (first use in this function)
> gd.c:275: `gdEdged' undeclared (first use in this function)
> gd.c: In function `zif_imagecreatetruecolor':
> gd.c:556: warning: assignment makes pointer from integer without a cast
> gd.c: In function `zif_imagecreatefromstring':
> gd.c:1061: `gdImageCreateFromGifCtx' undeclared (first use in this 
> function)
> gd.c: In function `zif_imagecreatefromgif':
> gd.c:1203: `gdImageCreateFromGif' undeclared (first use in this function)
> gd.c:1203: `gdImageCreateFromGifCtx' undeclared (first use in this 
> function)
> gd.c: In function `zif_imagecolorat':
> gd.c:1594: structure has no member named `tpixels'
> gd.c: In function `_php_image_convert':
> gd.c:3491: `gdImageCreateFromGif' used prior to declaration
> gd.c:3491: warning: assignment makes pointer from integer without a cast
> 
> 
> and then dies.
> 
> Please let me know if there's anything else you need to know.
> 
> thanks in advance,
> 
> Allie Micka
> pajunas interactive, inc.
> http://pajunas.com
> 
> 
> 

--- End Message ---
--- Begin Message ---
Hi
I'm trying configure as follows
./configure --with-apxs=/usr/local/apache/bin/apxs --with-ldap --with-db3
--with-openssl --with-java=/usr/local/java --without-mysql
and getting an error message referring me to see debug.log (file is
attached).
It seems there is something wrong with the LDAP support ?

Cheers
Wolfgang

 <<debug.log>> 
--- End Message ---
--- Begin Message ---
I have tried several times to compile a php4 with oci8, but untill now I
have not been able to start apache afterwards.

I have reinstalled apache, because apache was not linked with the pthread
library, so that part of it is ok now. But apache will not start. If I make
a new php4.so without oic8 there is no problems.

Any help is apprecaited.

Kenneth Demskov


--- End Message ---
--- Begin Message ---
Hi

I want to compile 4.1.0 with these configuration
options:

./configure --with-apxs=/usr/local/apache/bin/apxs
--with-config-file=/etc/httpd
--with-mysql=/usr
--with-system-regex
--with-xml
--with-zlib
--with-gd
--enable-gd-native-ttf
--with-mnogosearch
--enable-track-vars

but it hangs up with mysqlclient errors:

/usr/lib/mysql/libmysqlclient.a(dbug.o): In function `_db_unlock_file':
dbug.o(.text+0xaf4): multiple definition of `_db_unlock_file'

/usr/lib/mysql/libmysqlclient.a(ctype-tis620.o)(.data+0x1701): first defined
here
/usr/lib/mysql/libmysqlclient.a(ctype-tis620.o): In function
`my_strnncoll_tis620':
ctype-tis620.o(.text+0x244): multiple definition of `my_strnncoll_tis620'

/usr/lib/mysql/libmysqlclient.a(ctype.o)(.data+0x684): first defined here
/usr/lib/mysql/libmysqlclient.a(ctype.o): In function
`find_compiled_charset_by_name':
ctype.o(.text+0x0): multiple definition of `find_compiled_charset_by_name'

/usr/lib/mysql/libmysqlclient.a(array.o)(.text+0x78): first defined here
/usr/lib/mysql/libmysqlclient.a(array.o): In function `alloc_dynamic':
array.o(.text+0xc4): multiple definition of `alloc_dynamic'

and so on...

We use the latest stable mysql (3.23.46-1).

What's wrong with it?

Thanks in advace!

Regards

                  Istvan

--- End Message ---
--- Begin Message ---
hi,

im having problems running index.php scripts. the following is the set up
that ive made:

httpd.conf:
ScriptAlias /php/ "c:/apache/ApacheGroup/php/"
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "/php.exe"

php.ini:
doc_root=c:\apache\ApacheGroup\apache\htdocs
extension_dir=c:\apache\ApacheGroup\php

the dll files are in:
c:\apache\ApacheGroup\php\extensions

php.exe isin:
c:\apache\ApacheGroup\php

php.ini file is in:
c:\Windows

the phpinfo.php file runs fine, its just when i try to run my own scripts,
the output of the file is printed straight back to the screen, as though it
were a text file.

tia, steve
--- End Message ---
--- Begin Message ---
[confirm: b34c3d15e890017ea19b0ddb5cb64359 [EMAIL PROTECTED]]
--- End Message ---
--- Begin Message ---
ive just installed php on apache on win98. i wrote the test phpinfo.php
file, ran it and it worked fine. after that i tried to run index.php
from the same directory and from 'website' directory where i have other
pages that i know run, although it only prints back the contents of the
file as they are, and not as an actual php file. the following is the
code of the index.php file:

<html>
<head>
<title>PHP Index</title>
<body bgcolor="#FFFFFF">
<?php
echo "hello world";
?>
</body>
</html>

--- End Message ---
--- Begin Message ---

I'm not too hopeful about getting any help about this, but here goes.

I've installed PHP 4.0.5 on a Solaris 8 box, all works well but
using mail() produces the following error:

Warning: mail() is not supported in the PHP build

sendmail is installed in /usr/lib/sendmail and linked from /usr/bin/sendmail
just in case. sendmail is detected by 'configure'. 

Now, looking through the archives I see many people reporting similar
problems. Has anyone figured out what the problem is?

Thanks in advance for any useful suggestions!


Jayne.

-- 
+----+----+----+----+----+----+----+----+----+----+----+----+----+
      Jayne Gilmour, BSc. MSc.  Unix & Network Administrator 
       Department of Computer Science, University of Exeter

      "Do not meddle in the affairs of sysadmins, for they 
        are quick to anger and have no need for subtlety"
+----+----+----+----+----+----+----+----+----+----+----+----+----+
--- End Message ---
--- Begin Message ---
Dear sir,
  Now I install "Oracle-9i" running on RedHat-7.2.

  In php-4.1.0 and php-4.0.6 have option for Oracle-7 or 8 below.

  --with-oci8[=DIR]       Include Oracle-oci8 support. Default DIR is
                          ORACLE_HOME.
  --with-oracle[=DIR]     Include Oracle-oci7 support.  Default DIR is
                          ORACLE_HOME.

  Don't have option for Oracle-9i.
  When I used command below.
      ./configure --with-apache=../apache_1.3.22 \
        --with-mysql=/usr/local/mysql \
        --with-imap=../imap-2001a \
        --with-ldap=/usr/local/openldap \
        --with-oci8=/u01/app/oracle/product/9.0.1 \
        --enable-sigchild

   It has error messages below.

       checking for Oracle-OCI8 support... yes
       checking Oracle Install-Dir... /u01/app/oracle/product/9.0.1
       checking Oracle version... configure: error: Oracle-OCI8 needed
libraries not found

   I want to compile PHP with Oracle-9i.
   Please let me know more detail how to solve this problem ?
                   thank you very much.
                       regards,
                       Somsak.

--- End Message ---

Reply via email to