Trouble with install.... tempnam error
Posted: Tue Jan 14, 2003 12:30 am
Hello...
I'm trying to install PHP4.3.0 on Redhat8 I386.... Nothing too strange.... When I try and Make the installation files i get:
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/php-4.3.0/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp'
I read it may have something to do with mysql??
my config is ./configure --with-mysql --with-apxs2
Any help would be greatly appreciated... I'm trying to get my website back up and it needs PHP..
all the installs are the most current from apache, mysql and php....
thanks
-obz :
I'm trying to install PHP4.3.0 on Redhat8 I386.... Nothing too strange.... When I try and Make the installation files i get:
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/php-4.3.0/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp'
I read it may have something to do with mysql??
my config is ./configure --with-mysql --with-apxs2
Any help would be greatly appreciated... I'm trying to get my website back up and it needs PHP..
all the installs are the most current from apache, mysql and php....
thanks
-obz :