php-install Digest 12 Jun 2003 17:54:35 -0000 Issue 1420
Topics (messages 11070 through 11073):
Warning with php_var_unserialize during make
11070 by: andre.lagadec.education.gouv.fr
Warning with XtOffsetOf during make
11071 by: andre.lagadec.education.gouv.fr
browsing directories using php scripts
11072 by: hostmaster
activating extensions (Apache/1.3.27; WinXP; PHP/4.3.2)
11073 by: Emily Wrenholt
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 ---
On Solaris 2.7 with Apache 1.3.27 and PHP-4.2.3, I configure PHP with
this
command :
During 'make', I get this warning :
/bin/sh /produits/packages/php-4.2.3/libtool --silent --mode=compile
gcc -I. -I/produits/packages/php-4.2.3/ext/standard -I/produit
s/packages/php-4.2.3/main -I/produits/packages/php-4.2.3
-I/usr/local/apache/include -I/produits/packages/php-4.2.3/Zend
-I/usr/loca
l/include -I/usr/local/include/freetype2/freetype
-I/produits/packages/php-4.2.3/ext/mysql/libmysql
-I/produits/oracle/product/8.1.6
/rdbms/public -I/produits/oracle/product/8.1.6/rdbms/demo
-I/produits/oracle/product/8.1.6/network/public
-D_POSIX_PTHREAD_SEMANTIC
S -DSOLARIS2=270 -DEAPI -I/produits/packages/php-4.2.3/TSRM -g -O2
-prefer-pic -c var_unserializer.c
var_unserializer.c: In function `php_var_unserialize':
var_unserializer.c:308: warning: comparison is always false due to
limited range of data type
Is it normal ?
AL
--- End Message ---
--- Begin Message ---
On Solaris 2.7 with Apache 1.3.27 and PHP-4.2.3, I configure PHP with
this
command :
'./configure' \
'--with-config-file-path=/usr/local/apache/conf' \
'--with-gd=/usr/local' \
'--enable-gd-native-ttf' \
'--with-png-dir=/usr/local' \
'--with-jpeg-dir=/usr/local' \
'--with-zlib=/usr/local' '--with-zlib-dir=/usr/local' \
'--with-freetype-dir=/usr/local' \
'--with-apxs=/usr/local/apache/bin/apxs' \
'--with-oci8=/produits/oracle/product/8.1.7' \
'--enable-track-vars' \
'--enable-libgcc' \
'--without-pear' \
'--disable-FEATURE' \
'--disable-xml' \
'--enable-inline-optimization' 1>>build_apache_php.log
2>>build_apache_php.log
During 'make', I get this warning :
/bin/sh /produits/packages/php-4.2.3/libtool --silent --mode=compile
gcc -I. -I/produits/packages/php-4.2.3/sapi/apache -I/produits
/packages/php-4.2.3/main -I/produits/packages/php-4.2.3
-I/usr/local/apache/include -I/produits/packages/php-4.2.3/Zend
-I/usr/local
/include -I/usr/local/include/freetype2/freetype
-I/produits/packages/php-4.2.3/ext/mysql/libmysql
-I/produits/oracle/product/8.1.6/
rdbms/public -I/produits/oracle/product/8.1.6/rdbms/demo
-I/produits/oracle/product/8.1.6/network/public
-D_POSIX_PTHREAD_SEMANTICS
-DSOLARIS2=270 -DEAPI -I/produits/packages/php-4.2.3/TSRM -g -O2
-prefer-pic -c sapi_apache.c
In file included from /usr/local/apache/include/httpd.h:72,
from sapi_apache.c:32:
/usr/local/apache/include/ap_config.h:1396:1: warning: "XtOffsetOf"
redefined
/produits/packages/php-4.2.3/main/php.h:346:1: warning: this is the
location of the previous definition
/bin/sh /produits/packages/php-4.2.3/libtool --silent --mode=compile
gcc -I. -I/produits/packages/php-4.2.3/sapi/apache -I/produits
/packages/php-4.2.3/main -I/produits/packages/php-4.2.3
-I/usr/local/apache/include -I/produits/packages/php-4.2.3/Zend
-I/usr/local
/include -I/usr/local/include/freetype2/freetype
-I/produits/packages/php-4.2.3/ext/mysql/libmysql
-I/produits/oracle/product/8.1.6/
rdbms/public -I/produits/oracle/product/8.1.6/rdbms/demo
-I/produits/oracle/product/8.1.6/network/public
-D_POSIX_PTHREAD_SEMANTICS
-DSOLARIS2=270 -DEAPI -I/produits/packages/php-4.2.3/TSRM -g -O2
-prefer-pic -c mod_php4.c
In file included from /usr/local/apache/include/httpd.h:72,
from mod_php4.c:32:
/usr/local/apache/include/ap_config.h:1396:1: warning: "XtOffsetOf"
redefined
/produits/packages/php-4.2.3/main/php.h:346:1: warning: this is the
location of the previous definition
/bin/sh /produits/packages/php-4.2.3/libtool --silent --mode=compile
gcc -I. -I/produits/packages/php-4.2.3/sapi/apache -I/produits
/packages/php-4.2.3/main -I/produits/packages/php-4.2.3
-I/usr/local/apache/include -I/produits/packages/php-4.2.3/Zend
-I/usr/local
/include -I/usr/local/include/freetype2/freetype
-I/produits/packages/php-4.2.3/ext/mysql/libmysql
-I/produits/oracle/product/8.1.6/
rdbms/public -I/produits/oracle/product/8.1.6/rdbms/demo
-I/produits/oracle/product/8.1.6/network/public
-D_POSIX_PTHREAD_SEMANTICS
-DSOLARIS2=270 -DEAPI -I/produits/packages/php-4.2.3/TSRM -g -O2
-prefer-pic -c php_apache.c
In file included from php_apache_http.h:6,
from php_apache.c:45:
/usr/local/apache/include/ap_config.h:1396:1: warning: "XtOffsetOf"
redefined
/produits/packages/php-4.2.3/main/php.h:346:1: warning: this is the
location of the previous definition
Is it normal ?
AL
--- End Message ---
--- Begin Message ---
Hello,
Sorry if the subject line is a little screwy, I din't know what else to
call it.
I've tried everything I can get my eyes on to solve this problem and
have reached a fantastic place, it's called "nowhere". The problem is
basically that a php script is able to scan my entire filesystem (all
the way from / !).
I'm not convinced that the php.ini file is being read either as safe_mod
seems to have no effect on anything.
I'm using Debian and PHP4, if some one could give me some pointers I'd
really appreciate it.
regards,
afraz
--
hostmaster <[EMAIL PROTECTED]>
NSMI
--- End Message ---
--- Begin Message ---
I'm having a problem getting any extensions to work in
php.
my phpinfo(); reports in "Configuration
PHP Core" that: extension_dir = c:\php4
but in my php.ini, I set it as:
extension_dir = "c:\WINDOWS\system32\"
I also went through and uncommented my extensions in
the .ini file, and I have copied the .dll files to
where my php.ini is set.
Is there a syntax problem in my .ini file? Does anyone
have a suggestion? I've tried creating a php4 folder
and putting the .dlls inside, but that didn't work. :(
Thanks,
Emily
=====
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--- End Message ---