php-install Digest 5 Apr 2003 19:19:42 -0000 Issue 1323
Topics (messages 10510 through 10514):
problem to the installation
10510 by: Milhouse Van Houten
10512 by: Rasmus Lerdorf
File Upload Issues / Mandrake Linux v8.2 / PHP 4.2.3 -> 4.3.1
10511 by: Christophe Banal
10513 by: Rasmus Lerdorf
10514 by: Christophe Banal
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 ---
I have downloaded PHP 4.3.1 in php.net for Linux. When I execute ./configure
--prefix=/php --with-mysql --with-apache2=/httpd-2.0.34 everything is ok. But, when I
execute the command make after, I have two errors: the use of `tempnam' is dangerou
s, better use `mkstemp'
and a few style error: ext/mysql/libmysql/my_lib.o(.text+0x3c4): In function `my_dir':
/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
Who can help me?
Thank you,
Benoit Tremblay
--- End Message ---
--- Begin Message ---
There is no --with-apache2 switch. Use --with-apxs2 and point it at your
apxs script.
But, keep in mind that Apache2+PHP is barely beta-quality and you are
likely to run into problems. For any sort of production server, use
Apache-1.3.x
-Rasmus
On Sat, 5 Apr 2003, Milhouse Van Houten wrote:
> I have downloaded PHP 4.3.1 in php.net for Linux. When I execute ./configure
> --prefix=/php --with-mysql --with-apache2=/httpd-2.0.34 everything is ok. But, when
> I execute the command make after, I have there errors in the compilation, who can
> help me???:
>
> In function `my_tempnam':
> /php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerou
> s, better use `mkstemp'
> ext/mysql/libmysql/my_lib.o(.text+0x3c4): In function `my_dir':
> /php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
> ext/mysql/libmysql/my_lib.o(.text+0x5ab): In function `my_stat':
> /php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
> ext/mysql/libmysql/my_malloc.o(.text+0xb7): In function `my_malloc':
> /php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
> ext/mysql/libmysql/my_realloc.o(.text+0xb0): In function `my_realloc':
> /php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
> ext/mysql/libmysql/my_delete.o(.text+0x71): In function `my_delete':
> /php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
> ext/mysql/libmysql/my_tempnam.o(.text+0x78):/php-4.3.1/ext/mysql/libmysql/my_tem
> pnam.c:108: more undefined references to `errno' follow
> collect2: ld returned 1 exit status
> make: *** [sapi/cgi/php] Error 1
>
--- End Message ---
--- Begin Message ---
Hello All,
I would appreciate any help in trouble shooting the following issue.
Current Installation:
Static Apache 1.3.27 w/ PHP 4.2.3
Mandrake Linux 8.2
With this installation file uploads have no issues.
New Installation
Static Apache 1.3.27 w/ PHP 4.3.1
Mandrake Linux 8.2 (same system as above)
With this installation the same script does not handle file uploads
properly. The file upload variables are empty.
Other Installation
Static Apache 1.3.27 w/ PHP 4.3.1
Red Hat Linux v9 (different system)
With this installation file uploads have no issues.
Other Installation
Static Apache 1.3.27 w/ PHP 4.3.1
MacOS 10.2.4 (different system)
With this installation file uploads have no issues.up
I would like to upgrade the version of PHP which is currently running
PHP 4.2.3 but without the functionality of file uploads I am unable to
do so. Any ideas would be greatly appreciated.
Thank you,
Christophe Banal
--- End Message ---
--- Begin Message ---
Check for any php.ini differences between the working and non-working
installations. Most like it is the register_globals setting that is
tripping you up.
-Rasmus
On Fri, 4 Apr 2003, Christophe Banal wrote:
> Hello All,
>
> I would appreciate any help in trouble shooting the following issue.
>
>
> Current Installation:
> Static Apache 1.3.27 w/ PHP 4.2.3
> Mandrake Linux 8.2
> With this installation file uploads have no issues.
>
> New Installation
> Static Apache 1.3.27 w/ PHP 4.3.1
> Mandrake Linux 8.2 (same system as above)
> With this installation the same script does not handle file uploads
> properly. The file upload variables are empty.
>
> Other Installation
> Static Apache 1.3.27 w/ PHP 4.3.1
> Red Hat Linux v9 (different system)
> With this installation file uploads have no issues.
>
>
> Other Installation
> Static Apache 1.3.27 w/ PHP 4.3.1
> MacOS 10.2.4 (different system)
> With this installation file uploads have no issues.up
>
>
> I would like to upgrade the version of PHP which is currently running
> PHP 4.2.3 but without the functionality of file uploads I am unable to
> do so. Any ideas would be greatly appreciated.
>
> Thank you,
> Christophe Banal
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Rasmus,
During the upgrade I am only copying over the httpd binary and
utilizing the same php.ini which does contain the line
register_globals = On
when I downgrade back to the working version of PHP I am once again
only replacing only the httpd binary.
Thank you very much,
Christophe Banal
On Friday, April 4, 2003, at 11:38 PM, Rasmus Lerdorf wrote:
Check for any php.ini differences between the working and non-working
installations. Most like it is the register_globals setting that is
tripping you up.
-Rasmus
On Fri, 4 Apr 2003, Christophe Banal wrote:
Hello All,
I would appreciate any help in trouble shooting the following issue.
Current Installation:
Static Apache 1.3.27 w/ PHP 4.2.3
Mandrake Linux 8.2
With this installation file uploads have no issues.
New Installation
Static Apache 1.3.27 w/ PHP 4.3.1
Mandrake Linux 8.2 (same system as above)
With this installation the same script does not handle file uploads
properly. The file upload variables are empty.
Other Installation
Static Apache 1.3.27 w/ PHP 4.3.1
Red Hat Linux v9 (different system)
With this installation file uploads have no issues.
Other Installation
Static Apache 1.3.27 w/ PHP 4.3.1
MacOS 10.2.4 (different system)
With this installation file uploads have no issues.up
I would like to upgrade the version of PHP which is currently running
PHP 4.2.3 but without the functionality of file uploads I am unable to
do so. Any ideas would be greatly appreciated.
Thank you,
Christophe Banal
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---