php-install Digest 2 Mar 2003 15:55:48 -0000 Issue 1272

Topics (messages 10243 through 10248):

Re: How to install PHP431 on RH8?
        10243 by: Rasmus Lerdorf

Re: installing 4.3.0  error
        10244 by: jun
        10248 by: Chris Hewitt

libmysql: error = temname is dangerous.... use...
        10245 by: jun

Re: Apache 2.0.44 + PHP 4.3.1
        10246 by: jun

mnogosearch extension as dynamic module
        10247 by: Philipp Offermann

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,
> 
> I've been trying to install PHP4.3.1 on RH8 (with apache 2.0.40) with mysql.
> Is there anyone has sucessfully install PHP with this combination?
> 
> Besides, I would also like to update the Apache that comes with RH8 to
> 2.0.44 with the same version of PHP and mysql, anyone know how to do it?

Your best bet is honestly to upgrade your Apache to version 1.3.27.

-Rasmus


--- End Message ---
--- Begin Message ---
No one is interested in helping me? :-(

jun

Junu wrote:

> My current PHP version is 4.0.6 (Build. Sep 10 2001). I want to uprade to
> 4.3.0 but.. everytime I execute 'make' an error occurs while compiling the
> mysql library.
> 
> here it is:
> 
> MY CONFIGURATION:
> 
> [EMAIL PROTECTED] php.4.3.0]# './configure' '--disable-static' '--disable-
> debug' '--disable-rpath' '
> --enable-inline-optimization' '--prefix=/usr' '--with-zlib'
> '--with-config- file-path=/etc' '--enab
> le-magic-quotes' '--enable-debugger' '--enable-track-vars' '--enable-safe-
> mode' '--with-exec-dir=/
> usr/bin' '--with-regex=system' '--with-versioning' '--with-mod_charset'
> '-- enable-force-cgi-redire
> ct' '--enable-trans-sid' '--enable-ftp' '--with-xml' '--with-gettext' '--
> with-gd'
> 
> 
> 
> Here's the error:
> Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo
> main/internal_functions_cli.lo -lintl -lpng -lz -lz -lcrypt -lresolv -lm -
> ldl -lnsl -lcrypt  -o sapi/cli/php
> ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
> /www/download/php.4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of
> `tempnam' is dangerous, better use `mkstemp'
> [EMAIL PROTECTED] php.4.3.0]#
> 
> 
> 
> tempname is dangerous.. better use mkstemp...?/???
> 
> Solution, anyone....?
> 
> 
> thank you.
> 
> jun

-- 
-------------------------------------
its never enough

--- End Message ---
--- Begin Message --- jun wrote:

Here's the error:
Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo
main/internal_functions_cli.lo -lintl -lpng -lz -lz -lcrypt -lresolv -lm -
ldl -lnsl -lcrypt  -o sapi/cli/php
ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
/www/download/php.4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of
`tempnam' is dangerous, better use `mkstemp'
[EMAIL PROTECTED] php.4.3.0]#


I've seen this error reported before on this or the php-general list. I can't remember the resolution so a check in the archives might prove fruitful. I remember a comment from Rasmus about this being a warning rather than an error, but I suggest you check that.


Regards

Chris


--- End Message ---
--- Begin Message ---
Hi! I'm compiling PHP4.3.0 and even 4.3.1 but I always get an error when I
issue the 'make' command. (details below)

ldl -lnsl -lcrypt  -o sapi/cli/php
ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
/www/download/php.4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of
`tempnam' is dangerous, better use `mkstemp'
[EMAIL PROTECTED] php.4.3.0]#


What is the cause of this error? How can I resolve the error?
 thanks

jun

----------------------


Here's the error:
Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo
main/internal_functions_cli.lo -lintl -lpng -lz -lz -lcrypt -lresolv -lm -
ldl -lnsl -lcrypt  -o sapi/cli/php
ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
/www/download/php.4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of
`tempnam' is dangerous, better use `mkstemp'
[EMAIL PROTECTED] php.4.3.0]#




--- End Message ---
--- Begin Message ---
I tried installing 4.3.0 and 4.3.1 versions of PHP
but neither was successful.  I also get this error.. is  it really a
warning? can I execute
'make test' after 'make'  to test if all modules and stuff are correctly
setup for installation using 'make install'?



"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> That's not an error.  Just a warning.  Ignore it.
>
> On Mon, 24 Feb 2003, Ken Jeansson wrote:
>
> > Hello There
> >
> > Trying to install php4 on apache2 and I get this error:
> >
> > ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
> > /home/sub/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:105: the use of
> > `tempnam' is dangerous, better use `mkstemp'
> >
> >
> >
> >
>



--- End Message ---
--- Begin Message ---
Hi folks,

I'd like to compile the mnogosearch PHP extension module as a dynamic module 
for PHP so that I don't have to recompile whole PHP but rather include the 
mnogosearch module with "dl('...');" where I need it. Is that possible and if 
so how do I have to compile the module?

Thanks a lot,
Philipp

--- End Message ---

Reply via email to