[PHP-DEV] Undefined index: HTTP_IF_NONE_MATCH

2002-11-06 Thread Laurent FOINEL

I would like to access to variable:
$HTTP_SERVER_VARS[HTTP_IF_NONE_MATCH]

but I have this error:
Notice: Undefined index: HTTP_IF_NONE_MATCH in file...

why can't i access do this var ?

My configuration is php 4.2.2 and apache 1.3.26 on FreeBSD



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Undefined index: HTTP_IF_NONE_MATCH

2002-11-06 Thread Maxim Maletsky

Is it supported by your configuration?
What's your system?

--
Maxim Maletsky
[EMAIL PROTECTED]



Laurent FOINEL [EMAIL PROTECTED] wrote... :

 
 I would like to access to variable:
 $HTTP_SERVER_VARS[HTTP_IF_NONE_MATCH]
 
 but I have this error:
 Notice: Undefined index: HTTP_IF_NONE_MATCH in file...
 
 why can't i access do this var ?
 
 My configuration is php 4.2.2 and apache 1.3.26 on FreeBSD
 
 
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Undefined index: HTTP_IF_NONE_MATCH

2002-11-06 Thread Laurent FOINEL
php 4.2.2 and apache 1.3.26 on FreeBSD

configure command:
./configure' '--with-apache=../apache_1.3.26/'
'--with-mysql=/usr/local/mysql' '--with-ctype' '--with-zlib' '--with-gmp'
'--with-mhash' '--with-ming=../ming-0.2a' '--with-regex=system'
'--enable-wddx' '--with-xmlrpc' '--with-iconv=/usr/local/lib'
'--disable-debug' '--enable-inline-optimization'

Thanks !


Maxim Maletsky [EMAIL PROTECTED] a écrit dans le message news:
[EMAIL PROTECTED]

 Is it supported by your configuration?
 What's your system?

 --
 Maxim Maletsky
 [EMAIL PROTECTED]



 Laurent FOINEL [EMAIL PROTECTED] wrote... :

 
  I would like to access to variable:
  $HTTP_SERVER_VARS[HTTP_IF_NONE_MATCH]
 
  but I have this error:
  Notice: Undefined index: HTTP_IF_NONE_MATCH in file...
 
  why can't i access do this var ?
 
  My configuration is php 4.2.2 and apache 1.3.26 on FreeBSD
 
 
 
  --
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, visit: http://www.php.net/unsub.php
 




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] undefined symbol: mxdriver (help needed)

2001-12-03 Thread Sachin



Hi guys

I m new to the installations on linux. i installed linux7.1 on my machine.
now i m trying to install the apache-1.3.20, PHP4.0.6, imap. apache and php
without imap was installed successfully but when i try to install it with
imap apache start giving problem the error is:
Syntax error on line 223 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/
libexec/libphp4.so: undefined symbol: mxdriver
/usr/local/apache/bin/apachectl start: httpd could not be started



the commands i given are

./configure --prefix=/usr/local/php4.0.6 --with-apxs=/usr/local/apache/bin/a
pxs --with-imap --with-mysql --with-calendar --with-bcmath --with-ftp

i downloaded apache from apache.org
php4.0.6 from php.net

i will b greatful for any kind of help.
thanks in advance


Regards
Sachin


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] undefined symbol: zendtext

2001-08-06 Thread Jani Taskinen


I'm getting this with latest CVS. On apache startup.
After Zeev's latest commits. I have tried a clean checkout too..no help.

--Jani



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] undefined symbol: zendtext

2001-08-06 Thread Adam Dickmeiss

On Mon, Aug 06, 2001 at 09:25:19PM +0200, Jani Taskinen wrote:
 
 I'm getting this with latest CVS. On apache startup.
 After Zeev's latest commits. I have tried a clean checkout too..no help.
 
 --Jani

Removing a few lines fixes the Apache build...

Index: zend_indent.c
===
RCS file: /repository/Zend/zend_indent.c,v
retrieving revision 1.14
diff -u -r1.14 zend_indent.c
--- zend_indent.c   2001/08/06 13:48:51 1.14
+++ zend_indent.c   2001/08/06 21:39:23
@@ -26,13 +26,8 @@
 #include zend_compile.h
 #include zend_indent.h
 
-#ifndef ZTS
-extern char *zendtext;
-extern int zendleng;
-#else
 #define zendtext LANG_SCNG(yy_text)
 #define zendleng LANG_SCNG(yy_leng)
-#endif

Cheers,
  Adam

-- 
Adam Dickmeiss  mailto:[EMAIL PROTECTED]  http://www.indexdata.dk
Index Data  T: +45 33410100   Mob.: 212 212 66

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Undefined symbol: smart_str_free

2001-08-03 Thread Jon Parise

On Fri, Aug 03, 2001 at 02:12:20PM -0400, Sterling Hughes wrote:

 Any ideas why I'm getting this after today's build from cvs:
 
 Cannot load /usr/local/apache/libexec/libphp4.so into server: 
 /usr/local/apache/libexec/libphp4.so: Undefined symbol smart_str_free
 
 I've performed a couple of completely clean builds just to be
 sure something wasn't stale, but that didn't help things.
 
  What's your configure line?
 
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--with-freetype-dir=/usr/local \
--with-gd=/usr/local \
--with-gettext \
--with-imap=/usr/local \
--with-imap-ssl \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--without-mysql \
--with-pgsql=/usr/local/pgsql \
--with-zlib=/usr \
--enable-ftp \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-xml

-- 
Jon Parise ([EMAIL PROTECTED])  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Undefined symbol: smart_str_free

2001-08-03 Thread Jon Parise

On Fri, Aug 03, 2001 at 02:26:09PM -0400, Sterling Hughes wrote:

 ./configure \
  --with-apxs=/usr/local/apache/bin/apxs \
  --with-config-file-path=/usr/local/apache/conf \
  --with-freetype-dir=/usr/local \
  --with-gd=/usr/local \
  --with-gettext \
  --with-imap=/usr/local \
  --with-imap-ssl \
  --with-jpeg-dir=/usr/local \
  --with-png-dir=/usr/local \
  --without-mysql \
  --with-pgsql=/usr/local/pgsql \
  --with-zlib=/usr \
  --enable-ftp \
  --enable-sockets \
  --enable-sysvsem \
  --enable-sysvshm \
  --enable-xml
 
 Hrrm, that's oddd, none of those programs use the smart_str functionality 
 to my knowledge.  smart_str_free() is defined in 
 ext/standard/php_smart_str.h, could you perhaps try a fresh cvs checkout?
 
I found the problem.  Sascha introduced smart_str's into the
sysvshm code, and it looks like he missed the php_smart_str.h
include.  I'll commit the fix in a second once I'm sure that's
the extent of the problem.

-- 
Jon Parise ([EMAIL PROTECTED])  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Undefined symbols

2001-07-13 Thread Chris Boot

Hi,

Sorry if this isn't the right place to ask.  If it isn't, could someone
please tell me where I can ask such questions...

I'm attempting to write a PHP extension to load as an external DSO.  I've
got the extension to build and load using dl(), but when I call a method
from it, the httpd running the request dies.  The Apache error logs report
the following:

/usr/local/apache/bin/httpd: error in loading shared libraries:
/usr/local/lib/php/extensions/no-debug-non-zts-20001222/php_id3.so:
undefined symbol: __7ID3_TagPCc

__7ID3_TagPCc is the mangled name for the ID3_Tag class's constructor
located in another DSO (libid3.so, in /usr/lib) that I am linking against.

My config.m4 file is listed below.  Are there any changes that should be
made to get this to work?

 dnl $Id: config.m4,v 1.5 2001/07/13 17:32:27 bootc Exp $
 dnl config.m4 for extension id3
 
 PHP_ARG_WITH(id3, for id3 support,
 [  --with-id3  Include id3 support])
 
 if test $PHP_ID3 != no; then
 # --with-id3 - check with-path
 SEARCH_PATH=/usr/local /usr
 SEARCH_FOR=/include/id3.h
 if test -r $PHP_ID3/; then # path given as parameter
 ID3_DIR=$PHP_ID3
 else # search default path list
 AC_MSG_CHECKING(for id3 files in default path)
 for i in $SEARCH_PATH ; do
 if test -r $i/$SEARCH_FOR; then
 ID3_DIR=$i
 AC_MSG_RESULT(found in $i)
 fi
 done
 fi
 
 if test -z $ID3_DIR; then
 AC_MSG_RESULT(not found)
 AC_MSG_ERROR(Please reinstall the id3 distribution)
 fi
 
 # --with-id3 - add include path
 PHP_ADD_INCLUDE($ID3_DIR/include)
 
 # --with-id3 - add the libraries
 PHP_ADD_LIBRARY_WITH_PATH(id3, $ID3_DIR/lib)
 PHP_ADD_LIBRARY(z)
 
 PHP_EXTENSION(id3, $ext_shared)
 PHP_REQUIRE_CXX
 fi

Thanks,

-- 
Chris Boot
[EMAIL PROTECTED]


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] undefined

2001-02-22 Thread hilfe

yeah

--
Free WapMail - Via Handy: http://wap3.de/wml/erstell.wml - Via PC: 
http://wap3.de/add.php3

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DEV] Undefined Versioned Symbol

2001-01-19 Thread Mike Robinson

Go to http://bugs.php.net and read #7711,8774, and 8721.

Regards
Mike Robinson

 -Original Message-
 From: Mark Olbert [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 19, 2001 3:24 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP-DEV] Undefined Versioned Symbol
 
 
 I've been having problems getting php-4.0.4 to compile on my linux system;
 the make keeps breaking when libphp.so is being linked with an undefined
 versioned symbol name __ns_name_unpack@@GLIBC_2.1 error.
 
 I've rebuilt and reinstalled glibc2.1.3, and every library I know of that
 php depends on, but that didn't solve the problem.
 
 I saw a post in the php bug database about the exact same problem 
 which the
 poster solved by creating a shared version of libbind (which is not
 supported in the isc.org release of bind).
 
 This lead me to run objdump on both libbind.a and libresolv.so.2. Here's
 what I found:
 
 objdump -x /lib/libresolv.so.2 | grep __ns_name:
 
 4424 g F .text  011a  __ns_name_unpack
 4044 g F .text  01db  __ns_name_ntop
 
 objdump -x /usr/lib/libbind.a | grep __ns_name:
 
 [...snip...]
 03e4 g F .text  0105 __ns_name_unpack
 0684 g F .text  0063 __ns_name_uncompress
 06e8 g F .text  0057 __ns_name_compress
  g F .text  01ae __ns_name_ntop
 [...snip...]
 
 If I'm reading this correctly (I'm not experienced in programming under
 linux), this looks like both libresolv.so.2 (a shared library, part of
 glibc) and libbind.a (a static library, part of bind) are exporting
 __ns_name_unpack and __ns_name_ntop.
 
 Somehow, this does not strike me as a good thing for programs like php,
 which link against both libraries.
 
 Is this potentially the source of my make problem? And, if so, 
 what can I do
 about it?
 
 - Mark
 [EMAIL PROTECTED]
 
 
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DEV] Undefined Versioned Symbol

2001-01-19 Thread Mark Olbert

Sorry, but those bug reports provide no information on how to solve the
problem. Other than re-installing the glibc, which I've done, or
re-installing my entire system, which is similar to killing a fly with a 10
megaton nuclear warhead. Is there any record that reinstalling the entire
system actually solves the problem?

As an FYI, I think making assertions to the effect that "this is not a PHP
problem" is an odd way to handle bug reports. How can anyone know that the
assertion is true if there is no non-PHP-related solution documented?

- Mark

-Original Message-
From: Mike Robinson [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 12:53 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-DEV] Undefined Versioned Symbol


Go to http://bugs.php.net and read #7711,8774, and 8721.

Regards
Mike Robinson

 -Original Message-
 From: Mark Olbert [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 19, 2001 3:24 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP-DEV] Undefined Versioned Symbol


 I've been having problems getting php-4.0.4 to compile on my linux system;
 the make keeps breaking when libphp.so is being linked with an undefined
 versioned symbol name __ns_name_unpack@@GLIBC_2.1 error.

 I've rebuilt and reinstalled glibc2.1.3, and every library I know of that
 php depends on, but that didn't solve the problem.

 I saw a post in the php bug database about the exact same problem
 which the
 poster solved by creating a shared version of libbind (which is not
 supported in the isc.org release of bind).

 This lead me to run objdump on both libbind.a and libresolv.so.2. Here's
 what I found:

 objdump -x /lib/libresolv.so.2 | grep __ns_name:

 4424 g F .text  011a  __ns_name_unpack
 4044 g F .text  01db  __ns_name_ntop

 objdump -x /usr/lib/libbind.a | grep __ns_name:

 [...snip...]
 03e4 g F .text  0105 __ns_name_unpack
 0684 g F .text  0063 __ns_name_uncompress
 06e8 g F .text  0057 __ns_name_compress
  g F .text  01ae __ns_name_ntop
 [...snip...]

 If I'm reading this correctly (I'm not experienced in programming under
 linux), this looks like both libresolv.so.2 (a shared library, part of
 glibc) and libbind.a (a static library, part of bind) are exporting
 __ns_name_unpack and __ns_name_ntop.

 Somehow, this does not strike me as a good thing for programs like php,
 which link against both libraries.

 Is this potentially the source of my make problem? And, if so,
 what can I do
 about it?

 - Mark
 [EMAIL PROTECTED]



 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]