[PHP] Re: php.ini ignored! Re: [PHP] PHP 4.3.0 released

2002-12-29 Thread Michael Mauch
In php.dev Omer K [EMAIL PROTECTED] wrote:
 redhat, apache2.0.43 (as dso).  compiles and runs without a problem
 
 php4.3.0release fails to utilize php.ini settings. ignores changes to the
 ini file.
 
 ./configure --with-config-file-path=/usr/local/apache2/conf/php.ini --with-a
 pxs2=/usr/local/apache2/bin/apxs --with-mysql   (got no errors)

Does it help if you use --with-config-file-path=/usr/local/apache2/conf
instead?

Regards...
Michael

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




Re: [PHP] PHP 4.3.0 released

2002-12-28 Thread Rick Widmer
At 08:40 PM 12/27/02 -0700, The Doctor wrote:



Is it just my or are there problems with static Aapche 1.3.27 compiles?


I don't know if it is _just_ you, but my static install compiled and is 
running just fine.

SuSE 8.0

php 4.3.0

Apache 1.3.27

Mod_SSL 2.8.12-1.3.27

OpenSSL 0.9.6h

ming 0.2a

pdflib 4.0.3

./configure --with-apache=../apache --with-mysql --with-pgsql=/usr 
--enable-cli --enable-calendar --enable-debug=no 
--with-config-file=/web/conf --with-PEAR --with-jpeg-dir=/usr/local 
--with-phg-dir=/usr/local --with-zlib-dir=/usr/local --with-gd=/usr 
--enable-gd-native-ttf --with-freetype=/usr/include/freetype2 
--with-pdflib=/usr/local --with-ming --enable-magic-quotes --with-mm=../mm 
--with-pspell




Script started on Fri Dec 27 20:34:45 2002
nl2k.ca//usr/source/php-4.3.0$ cat configphp

configure --prefix=/usr/contrib --localstatedir=/var 
--infodir=/usr/share/info --mandir=/usr/share/man --with-low-memory 
--with-elf --with-x   --with-mysql --with-zlib --enable-track-vars 
--enable-debug  --enable-versioning --with-config-file-path=/usr/local/lib 
--with-iconv=/usr --with-openssl=/usr/contrib  --enable-ftp --with-gd=/usr 
--enable-imap --with-bz2 
--with-apache=/usr/source/apache_1.3.27_nonSSL/ 
--with-pgsql=/usr/contrib/pgsql --enable-gd-native-ttf 
--with-jpeg-dir=/usr --with-png-dir=/usr 
--with-freetype-dir=/usr  --with-xpm-dir=/usr/X11/lib


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




Re: [PHP] PHP 4.3.0 released

2002-12-28 Thread The Doctor
On Sat, Dec 28, 2002 at 04:04:14AM -0700, Rick Widmer wrote:
 At 08:40 PM 12/27/02 -0700, The Doctor wrote:
 
 
 Is it just my or are there problems with static Aapche 1.3.27 compiles?
 
 I don't know if it is _just_ you, but my static install compiled and is 
 running just fine.
 
 SuSE 8.0
 
 php 4.3.0
 
 Apache 1.3.27
 
 Mod_SSL 2.8.12-1.3.27
 
 OpenSSL 0.9.6h
 
 ming 0.2a
 
 pdflib 4.0.3
 
 ./configure --with-apache=../apache --with-mysql --with-pgsql=/usr 
 --enable-cli --enable-calendar --enable-debug=no 
 --with-config-file=/web/conf --with-PEAR --with-jpeg-dir=/usr/local 
 --with-phg-dir=/usr/local --with-zlib-dir=/usr/local --with-gd=/usr 
 --enable-gd-native-ttf --with-freetype=/usr/include/freetype2 
 --with-pdflib=/usr/local --with-ming --enable-magic-quotes --with-mm=../mm 
 --with-pspell
 
 
 
 
 Script started on Fri Dec 27 20:34:45 2002
 nl2k.ca//usr/source/php-4.3.0$ cat configphp
 
 configure --prefix=/usr/contrib --localstatedir=/var 
 --infodir=/usr/share/info --mandir=/usr/share/man --with-low-memory 
 --with-elf --with-x   --with-mysql --with-zlib --enable-track-vars 
 --enable-debug  --enable-versioning --with-config-file-path=/usr/local/lib 
 --with-iconv=/usr --with-openssl=/usr/contrib  --enable-ftp --with-gd=/usr 
 --enable-imap --with-bz2 
 --with-apache=/usr/source/apache_1.3.27_nonSSL/ 
 --with-pgsql=/usr/contrib/pgsql --enable-gd-native-ttf 
 --with-jpeg-dir=/usr --with-png-dir=/usr 
 --with-freetype-dir=/usr  --with-xpm-dir=/usr/X11/lib


Same result adding in --enable-cli and --with-PEAR .
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

-- 
Member - Liberal International  On 11 Sept 2001 the WORLD was violated.
This is [EMAIL PROTECTED]   Ici [EMAIL PROTECTED]
Society MUST be saved! Extremists must dissolve.  
Merry Christmas 2002 and Happy 2003

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




[PHP] php.ini ignored! Re: [PHP] PHP 4.3.0 released

2002-12-28 Thread omer k
redhat, apache2.0.43 (as dso).  compiles and runs without a problem

php4.3.0release fails to utilize php.ini settings. ignores changes to the
ini file.

./configure --with-config-file-path=/usr/local/apache2/conf/php.ini --with-a
pxs2=/usr/local/apache2/bin/apxs --with-mysql   (got no errors)

this was not an issue when i had 4.3.0RC2 installed in the exact same
manner!

ive tried this twice, reinstalling apache as well with not difference and
since php otherwise works with its defaults i have a feeling this might be a
bug with the release!?

any help appreciated,
omer.


The Doctor [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 On Sat, Dec 28, 2002 at 04:04:14AM -0700, Rick Widmer wrote:
  At 08:40 PM 12/27/02 -0700, The Doctor wrote:
 
 
  Is it just my or are there problems with static Aapche 1.3.27 compiles?
 
  I don't know if it is _just_ you, but my static install compiled and is
  running just fine.
 
  SuSE 8.0
 
  php 4.3.0
 
  Apache 1.3.27
 
  Mod_SSL 2.8.12-1.3.27
 
  OpenSSL 0.9.6h
 
  ming 0.2a
 
  pdflib 4.0.3
 
  ./configure --with-apache=../apache --with-mysql --with-pgsql=/usr
  --enable-cli --enable-calendar --enable-debug=no
  --with-config-file=/web/conf --with-PEAR --with-jpeg-dir=/usr/local
  --with-phg-dir=/usr/local --with-zlib-dir=/usr/local --with-gd=/usr
  --enable-gd-native-ttf --with-freetype=/usr/include/freetype2

 --with-pdflib=/usr/local --with-ming --enable-magic-quotes --with-mm=../mm
  --with-pspell
 
 
 
  
  Script started on Fri Dec 27 20:34:45 2002
  nl2k.ca//usr/source/php-4.3.0$ cat configphp
  
  configure --prefix=/usr/contrib --localstatedir=/var
  --infodir=/usr/share/info --mandir=/usr/share/man --with-low-memory
  --with-elf --with-x   --with-mysql --with-zlib --enable-track-vars
 
--enable-debug  --enable-versioning --with-config-file-path=/usr/local/lib
 
--with-iconv=/usr --with-openssl=/usr/contrib  --enable-ftp --with-gd=/usr
  --enable-imap --with-bz2
  --with-apache=/usr/source/apache_1.3.27_nonSSL/
  --with-pgsql=/usr/contrib/pgsql --enable-gd-native-ttf
  --with-jpeg-dir=/usr --with-png-dir=/usr
  --with-freetype-dir=/usr  --with-xpm-dir=/usr/X11/lib
 

 Same result adding in --enable-cli and --with-PEAR .

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

 --
 Member - Liberal International On 11 Sept 2001 the WORLD was violated.
 This is [EMAIL PROTECTED] Ici [EMAIL PROTECTED]
 Society MUST be saved! Extremists must dissolve.
 Merry Christmas 2002 and Happy 2003



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




[PHP] Re: [PHP-DEV] Re: [PHP] PHP 4.3.0 released

2002-12-28 Thread Rick Widmer
At 11:29 AM 12/28/02 -0700, The Doctor wrote:

On Sat, Dec 28, 2002 at 04:04:14AM -0700, Rick Widmer wrote:
 At 08:40 PM 12/27/02 -0700, The Doctor wrote:
 ./configure --with-apache=../apache --with-mysql --with-pgsql=/usr
 --enable-cli --enable-calendar --enable-debug=no
 --with-config-file=/web/conf --with-PEAR --with-jpeg-dir=/usr/local
 --with-phg-dir=/usr/local --with-zlib-dir=/usr/local --with-gd=/usr
 --enable-gd-native-ttf --with-freetype=/usr/include/freetype2
 --with-pdflib=/usr/local --with-ming --enable-magic-quotes --with-mm=../mm
 --with-pspell


vs.



 configure --prefix=/usr/contrib --localstatedir=/var
 --infodir=/usr/share/info --mandir=/usr/share/man --with-low-memory
 --with-elf --with-x   --with-mysql --with-zlib --enable-track-vars
 --enable-debug  --enable-versioning 
--with-config-file-path=/usr/local/lib
 --with-iconv=/usr --with-openssl=/usr/contrib  --enable-ftp 
--with-gd=/usr
 --enable-imap --with-bz2
 --with-apache=/usr/source/apache_1.3.27_nonSSL/
 --with-pgsql=/usr/contrib/pgsql --enable-gd-native-ttf
 --with-jpeg-dir=/usr --with-png-dir=/usr
 --with-freetype-dir=/usr  --with-xpm-dir=/usr/X11/lib


What I have that you do not:
   cli - create command line interface executable program.
   calendar - fancy tricks with dates.
   pear - a library of handy functions
   gd-native-ttf
   pdflib - create pdf files
   ming - create swf files
   magic-quotes - eliminates a lot of addslashes()
   mm - I'm not sure
   pspell - spelling checker

I don't think anything I added would make any difference.

Things that look wrong to me:

--with-low-memory, --with-elf and --with-x are not listed as valid options 
in ./configure --help, and look scary to me.  Get rid of them.


You used enable-zlib, but the correct statement is with-zlib or with-zlib-dir.


--enable-track-vars - is enabled by default and ignored for a couple of php 
versions now.

--enable-versioning - is only needed when you want to run more than one PHP 
module version at the same time.



The next thing to try...

xpm-dir, bz2, imap, iconv  are the modules you are using that I am 
not.  Try compiling without them and see what happens.



I don't see where any of these _should_ affect things, but I've gotten in 
trouble before using options I did not need...

--prefix - --with-apache specifies where the resulting files are placed, so 
prefix is not relevant to static install.

localstatedir, infodir, mandir - not relevant to a static install because a 
php module does not use any of the directories specified by these.



Rick


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



[PHP] PHP 4.3.0 released

2002-12-27 Thread Andrei Zmievski
The PHP developers are pleased to announce the immediate availability of
PHP 4.3.0, the latest and greatest version of this extremely popular and
widely used scripting language.

This release contains a multitude of changes, bug fixes and improvements
over the previous one, PHP 4.2.3. It further elevates PHP's standing as
a serious contender in the general purpose scripting language arena. The
highlights of this release are listed below:

 Command line interface

 This version finalizes the separate command line interface (CLI) that
 can be used for developing shell and desktop applications (with
 PHP-GTK). The CLI is always built, but installed automatically only if
 CGI version is disabled via --disable-cgi switch during configuration.
 Alternatively, one can use make install-cli target. On Windows CLI can
 be found in cli folder.

 CLI has a number of differences compared to other server APIs. More
 information can be found here:

 * PHP Manual: Using PHP from the command line
   http://www.php.net/manual/en/features.commandline.php


 Streams

 A very important under the hood feature is the streams API. It
 introduces a unified approach to the handling of files, pipes, sockets,
 and other I/O resources in the PHP core and extensions.

 What this means for users is that any I/O function that works with
 streams (and that is almost all of them) can access built-in protocols,
 such as HTTP/HTTPS and FTP/FTPS, as well as custom protocols registered
 from PHP scripts. For more information please see:

 * List of Supported Protocols/Wrappers
   http://www.php.net/manual/en/wrappers.php

 * Streams API
   http://www.php.net/manual/en/streams.php


 New build system

 This iteration of the build system, among other things, replaces the
 slow recursive make with one global Makefile and eases the integration
 of proper dependencies. Automake is only needed for its aclocal tool.
 The build process is now more portable and less resource-consuming.


 PHP 4.3.0 has many improvements and enhancements:

 * GD library is now bundled with the distribution and it is
   recommended to always use the bundled version
 * vpopmail and cybermut extensions are moved to PECL
 * several deprecated extensions (aspell, ccvs, cybercash, icap) and
   SAPIs (fastcgi, fhttpd) are removed
 * speed improvements in a variety of string functions
 * Apache2  filter is improved, but is still considered experimental
   (use with PHP in prefork and not worker (thread) model since many
   extensions based on external libraries are not thread safe)
 * various security fixes (imap, mysql, mcrypt, file upload, gd, etc)
 * new SAPI for embedding PHP in other applications (experimental)
 * much better test suite
 * significant improvements in dba, gd, pcntl, sybase, and xslt
   extensions
 * debug_backtrace() should help with debugging
 * error messages now contain URLs linking to pages describing the
   error or function in question
 * Zend Engine has some fixes and minor performance enhancements
 * and TONS of other fixes, updates, new functions, etc

For the full list of changes in PHP 4.3.0, see the NEWS file
(http://www.php.net/ChangeLog-4.php).

Thank you to all who coded, tested, and documented this release!

-Andrei   http://www.gravitonic.com/

It's an emergent property of connected human minds that
they create things for one another's pleasure and to conquer
their uneasy sense of being too alone. -- Eben Moglen


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




Re: [PHP] PHP 4.3.0 released

2002-12-27 Thread The Doctor
On Fri, Dec 27, 2002 at 11:12:22AM -0500, Andrei Zmievski wrote:
 The PHP developers are pleased to announce the immediate availability of
 PHP 4.3.0, the latest and greatest version of this extremely popular and
 widely used scripting language.
 
 This release contains a multitude of changes, bug fixes and improvements
 over the previous one, PHP 4.2.3. It further elevates PHP's standing as
 a serious contender in the general purpose scripting language arena. The
 highlights of this release are listed below:
 
  Command line interface
 
  This version finalizes the separate command line interface (CLI) that
  can be used for developing shell and desktop applications (with
  PHP-GTK). The CLI is always built, but installed automatically only if
  CGI version is disabled via --disable-cgi switch during configuration.
  Alternatively, one can use make install-cli target. On Windows CLI can
  be found in cli folder.
 
  CLI has a number of differences compared to other server APIs. More
  information can be found here:
 
  * PHP Manual: Using PHP from the command line
http://www.php.net/manual/en/features.commandline.php
 
 
  Streams
 
  A very important under the hood feature is the streams API. It
  introduces a unified approach to the handling of files, pipes, sockets,
  and other I/O resources in the PHP core and extensions.
 
  What this means for users is that any I/O function that works with
  streams (and that is almost all of them) can access built-in protocols,
  such as HTTP/HTTPS and FTP/FTPS, as well as custom protocols registered
  from PHP scripts. For more information please see:
 
  * List of Supported Protocols/Wrappers
http://www.php.net/manual/en/wrappers.php
 
  * Streams API
http://www.php.net/manual/en/streams.php
 
 
  New build system
 
  This iteration of the build system, among other things, replaces the
  slow recursive make with one global Makefile and eases the integration
  of proper dependencies. Automake is only needed for its aclocal tool.
  The build process is now more portable and less resource-consuming.
 
 
  PHP 4.3.0 has many improvements and enhancements:
 
  * GD library is now bundled with the distribution and it is
recommended to always use the bundled version
  * vpopmail and cybermut extensions are moved to PECL
  * several deprecated extensions (aspell, ccvs, cybercash, icap) and
SAPIs (fastcgi, fhttpd) are removed
  * speed improvements in a variety of string functions
  * Apache2  filter is improved, but is still considered experimental
(use with PHP in prefork and not worker (thread) model since many
extensions based on external libraries are not thread safe)
  * various security fixes (imap, mysql, mcrypt, file upload, gd, etc)
  * new SAPI for embedding PHP in other applications (experimental)
  * much better test suite
  * significant improvements in dba, gd, pcntl, sybase, and xslt
extensions
  * debug_backtrace() should help with debugging
  * error messages now contain URLs linking to pages describing the
error or function in question
  * Zend Engine has some fixes and minor performance enhancements
  * and TONS of other fixes, updates, new functions, etc
 
 For the full list of changes in PHP 4.3.0, see the NEWS file
 (http://www.php.net/ChangeLog-4.php).
 
 Thank you to all who coded, tested, and documented this release!
 
 -Andrei   http://www.gravitonic.com/
 
 It's an emergent property of connected human minds that
 they create things for one another's pleasure and to conquer
 their uneasy sense of being too alone. -- Eben Moglen


Is it just my or are there problems with static Aapche 1.3.27 compiles?

 
Script started on Fri Dec 27 20:34:45 2002
nl2k.ca//usr/source/php-4.3.0$ cat configphp
configure --prefix=/usr/contrib --localstatedir=/var --infodir=/usr/share/info 
--mandir=/usr/share/man --with-low-memory --with-elf --with-x   --with-mysql 
--with-zlib --enable-track-vars --enable-debug  --enable-versioning 
--with-config-file-path=/usr/local/lib --with-iconv=/usr --with-openssl=/usr/contrib  
--enable-ftp --with-gd=/usr --enable-imap --with-bz2 
--with-apache=/usr/source/apache_1.3.27_nonSSL/  --with-pgsql=/usr/contrib/pgsql 
--enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr 
--with-freetype-dir=/usr  --with-xpm-dir=/usr/X11/lib 
nl2k.ca//usr/source/php-4.3.0$ make
nl2k.ca//usr/source/php-4.3.0$ make install
Installing PHP CLI binary:/usr/contrib/bin/
Installing PHP SAPI module
Installing shared extensions: 
/usr/contrib/lib/php/extensions/debug-non-zts-20020429/
Installing PEAR environment:  /usr/contrib/lib/php/
[PEAR] Archive_Tar- already installed: 0.9
[PEAR] Console_Getopt - already installed: 1.0
[PEAR] PEAR   - already installed: 1.0b3
[PEAR] DB - already installed: 1.3
[PEAR] HTTP   -