php-install Digest 17 Oct 2002 08:56:52 -0000 Issue 1073

Topics (messages 8823 through 8838):

rpm bcmath
        8823 by: Marcus Van Wyk

[BSD] PHP 4.2.x executable missing
        8824 by: dodo.fuckmicrosoft.com
        8826 by: Jim Thome

Sablotron support, lstdc++ usage in PHP 4.3
        8825 by: Dean Dahnke

Re: Multibyte ([PHP-INST] Re: "If-Modified-Since"..)
        8827 by: Yasuo Ohgaki
        8828 by: Yasuo Ohgaki

apxs missing
        8829 by: Marcus Van Wyk
        8830 by: Rasmus Lerdorf
        8831 by: Peter Houchin
        8833 by: Marcus Van Wyk

PHP on Novell 5
        8832 by: Stewart Walker

Re: [PHP-DEV] Re: Multibyte ([PHP-INST] Re: "If-Modified-Since"..)
        8834 by: Masaki Fujimoto
        8835 by: Yasuo Ohgaki

Newbie: Apache PHP Install OK but doesn't work
        8836 by: MarkS

Querystring or GET Variables not both!
        8837 by: Mike Schwede

php 4.2.3 on appache 1.3.23 on win98se
        8838 by: Matthias Baumgart

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 ---
Hi there 

Just a question.

Is there a rpm somewhere ? that I can download for php for MDK that has bcmath already 
configured.



Thanks in advance
Marcus


==========================================================
This message contains information intended for the perusal, and/or use (if
so stated), by the stated addressee(s) only. The information is
confidential and privileged. If you are not an intended recipient, do not
peruse, use, disseminate, distribute, copy or in any manner rely upon the
information contained in this message (directly or indirectly). The sender
and/or the entity represented by the sender shall not be held accountable
in the event that this prohibition is disregarded. If you receive this
message in error, notify the sender immediately by e-mail, fax or telephone
representations contained in this message, whether express or implied, are
those of the sender only, unless that sender expressly states them to be
the views or representations of an entity or person, who shall be named by
the sender and who the sender shall state to represent. No liability shall
otherwise attach to any other entity or person.
==========================================================

--- End Message ---
--- Begin Message ---

hi,
when installing PHP 4.2.3, 4.2.2, or 4.2.1
It perfectly compiles n stuff but when I run php from the command line:

box# php
php: Command not found.

I used the following configure line:
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-ncurses

This happened on my freeBSD 4.5 and openBSD 3.1 boxes
please help, I\'ve been searching very long for a solution!


----------------------------------------
mail from dodo  [[EMAIL PROTECTED]]
using WiredMail [by dodo]

--- End Message ---
--- Begin Message ---
Remove the switch --with-apxs and recompile.  This will give you a standalone PHP 
binary (that is not tied to Apache), which you can then run on the command line.  

>>> <[EMAIL PROTECTED]> 10/17/02 05:18PM >>>

hi,
when installing PHP 4.2.3, 4.2.2, or 4.2.1
It perfectly compiles n stuff but when I run php from the command line:

box# php
php: Command not found.

I used the following configure line:
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-ncurses

This happened on my freeBSD 4.5 and openBSD 3.1 boxes
please help, I\'ve been searching very long for a solution!


----------------------------------------
mail from dodo  [[EMAIL PROTECTED]] 
using WiredMail [by dodo]


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


--- End Message ---
--- Begin Message ---
Hi,

I am still attempting to build PHP 4.3 on Mac OS X v10.2 with Sabloron 
support.

My configure script looks like this:
ZEND_EXTRA_LIBS=" -lstdc++" ./configure \
        --prefix=/DCServers/php_server/php \
        --enable-sablot-errors-descriptive \
        --with-sablot \
        --with-xslt-sablot \
        --enable-xslt \
        --enable-debug \
        < /dev/null

And when I try to do the make it ends with this error:
ld: Undefined symbols:
vtable for __cxxabiv1::__class_type_info
vtable for __cxxabiv1::__si_class_type_info
operator delete[](void*)
operator delete(void*)
operator new(unsigned long)
___gxx_personality_v0
operator new[](unsigned long)
std::terminate()
vtable for __cxxabiv1::__vmi_class_type_info
___cxa_pure_virtual
make: *** [sapi/cgi/php-cgi] Error 1

The ZEND_EXTRA_LIBS definition on the configure line is an attempt to 
get lstdc++ library included as the last library. This was done because 
we discovered that if we changed the following lines in the Makefile:

BUILD_CGI = $(CC) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS) 
$(LDFLAGS) $(NATIVE_RPATHS) $(PHP_GLOBAL_OBJS:.lo=.o) 
$(PHP_SAPI_OBJS:.lo=.o) $(PHP_FRAMEWORKS) $(EXTRA_LIBS) 
$(ZEND_EXTRA_LIBS) -o $(SAPI_CGI_PATH)
SAPI_CLI_PATH = sapi/cli/php
BUILD_CLI = $(CC) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS) 
$(LDFLAGS) $(NATIVE_RPATHS) $(PHP_GLOBAL_OBJS:.lo=.o) 
$(PHP_CLI_OBJS:.lo=.o) $(PHP_FRAMEWORKS) $(EXTRA_LIBS) 
$(ZEND_EXTRA_LIBS) -o $(SAPI_CLI_PATH)

to look like this:
BUILD_CGI = $(CC) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS) 
$(LDFLAGS) $(NATIVE_RPATHS) $(PHP_GLOBAL_OBJS:.lo=.o) 
$(PHP_SAPI_OBJS:.lo=.o) $(PHP_FRAMEWORKS) $(EXTRA_LIBS) 
$(ZEND_EXTRA_LIBS) -lstdc++ -o $(SAPI_CGI_PATH)
SAPI_CLI_PATH = sapi/cli/php
BUILD_CLI = $(CC) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS) 
$(LDFLAGS) $(NATIVE_RPATHS) $(PHP_GLOBAL_OBJS:.lo=.o) 
$(PHP_CLI_OBJS:.lo=.o) $(PHP_FRAMEWORKS) $(EXTRA_LIBS) 
$(ZEND_EXTRA_LIBS) -lstdc++ -o $(SAPI_CLI_PATH)

that make works just fine.

My question is what environment variable, configure option or flag can 
I set to get the lstdc++ library included as the last library.


Any help would be greatly appreciated.

Dean Dahnke
--- End Message ---
--- Begin Message ---
Ryo Takagi wrote:
>   If the line:
> 
>     print ( mb_convert_encoding( $jstr, "ISO-2022-JP" ) ) ;
> 
> in this script is modified to:
> 
>     print ( mb_convert_encoding( $jstr, "ISO-2022-JP", "EUC-JP" ) ) ;
> 
> then it works again.

This cannot be fixed. Check & modify your detect order by
mb_detect_order().

--
Yasuo Ohgaki



--- End Message ---
--- Begin Message ---
Forgot to what it's doing.

Since the multibyte char sequence is too short, mbstring
is failing to detect encoding correctly. In this case,
we can specify encoding or modify detect order.

--
Yasuo Ohgaki

Yasuo Ohgaki wrote:
> Ryo Takagi wrote:
> 
>>   If the line:
>>
>>     print ( mb_convert_encoding( $jstr, "ISO-2022-JP" ) ) ;
>>
>> in this script is modified to:
>>
>>     print ( mb_convert_encoding( $jstr, "ISO-2022-JP", "EUC-JP" ) ) ;
>>
>> then it works again.
> 
> 
> This cannot be fixed. Check & modify your detect order by
> mb_detect_order().
> 
> -- 
> Yasuo Ohgaki
> 
> 
> 


--- End Message ---
--- Begin Message ---
Hi there Just installed Mandrake 8 

And I'm trying to configure php so that I can use it for script on a Web server

but it say that you have to configure like this

./configure --with-mysql --with-apxs=/to/the/path/apxs

I've looked just about every where for apxs but can not find it any ideas

Thank in advance 
Marcus


==========================================================
This message contains information intended for the perusal, and/or use (if
so stated), by the stated addressee(s) only. The information is
confidential and privileged. If you are not an intended recipient, do not
peruse, use, disseminate, distribute, copy or in any manner rely upon the
information contained in this message (directly or indirectly). The sender
and/or the entity represented by the sender shall not be held accountable
in the event that this prohibition is disregarded. If you receive this
message in error, notify the sender immediately by e-mail, fax or telephone
representations contained in this message, whether express or implied, are
those of the sender only, unless that sender expressly states them to be
the views or representations of an entity or person, who shall be named by
the sender and who the sender shall state to represent. No liability shall
otherwise attach to any other entity or person.
==========================================================

--- End Message ---
--- Begin Message ---
Install the apache-devel package

On Thu, 17 Oct 2002, Marcus Van Wyk wrote:

> Hi there Just installed Mandrake 8
>
> And I'm trying to configure php so that I can use it for script on a Web server
>
> but it say that you have to configure like this
>
> ./configure --with-mysql --with-apxs=/to/the/path/apxs
>
> I've looked just about every where for apxs but can not find it any ideas
>
> Thank in advance
> Marcus
>
>
> ==========================================================
> This message contains information intended for the perusal, and/or use (if
> so stated), by the stated addressee(s) only. The information is
> confidential and privileged. If you are not an intended recipient, do not
> peruse, use, disseminate, distribute, copy or in any manner rely upon the
> information contained in this message (directly or indirectly). The sender
> and/or the entity represented by the sender shall not be held accountable
> in the event that this prohibition is disregarded. If you receive this
> message in error, notify the sender immediately by e-mail, fax or telephone
> representations contained in this message, whether express or implied, are
> those of the sender only, unless that sender expressly states them to be
> the views or representations of an entity or person, who shall be named by
> the sender and who the sender shall state to represent. No liability shall
> otherwise attach to any other entity or person.
> ==========================================================
>
>

--- End Message ---
--- Begin Message ---
apxs can be found in any source distribution of apache in the bin folder

> -----Original Message-----
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 17 October 2002 9:23 AM
> To: Marcus Van Wyk
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] apxs missing
>
>
> Install the apache-devel package
>
> On Thu, 17 Oct 2002, Marcus Van Wyk wrote:
>
> > Hi there Just installed Mandrake 8
> >
> > And I'm trying to configure php so that I can use it for script
> on a Web server
> >
> > but it say that you have to configure like this
> >
> > ./configure --with-mysql --with-apxs=/to/the/path/apxs
> >
> > I've looked just about every where for apxs but can not find it
> any ideas
> >
> > Thank in advance
> > Marcus
> >
> >
> > ==========================================================
> > This message contains information intended for the perusal,
> and/or use (if
> > so stated), by the stated addressee(s) only. The information is
> > confidential and privileged. If you are not an intended
> recipient, do not
> > peruse, use, disseminate, distribute, copy or in any manner
> rely upon the
> > information contained in this message (directly or indirectly).
> The sender
> > and/or the entity represented by the sender shall not be held
> accountable
> > in the event that this prohibition is disregarded. If you receive this
> > message in error, notify the sender immediately by e-mail, fax
> or telephone
> > representations contained in this message, whether express or
> implied, are
> > those of the sender only, unless that sender expressly states them to be
> > the views or representations of an entity or person, who shall
> be named by
> > the sender and who the sender shall state to represent. No
> liability shall
> > otherwise attach to any other entity or person.
> > ==========================================================
> >
> >
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

--- End Message ---
--- Begin Message ---
thanks found it on another server here never new you could actually edit the
dam thing

Thanks
I'm at the
make of the install looks to be running okay

But I'll wait for a test page e.g. <?phpinfo()?>
to claim victory first


----- Original Message -----
From: Peter Houchin <[EMAIL PROTECTED]>
To: Marcus Van Wyk <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, October 17, 2002 1:52 AM
Subject: RE: [PHP-INST] apxs missing


> apxs can be found in any source distribution of apache in the bin folder
>
> > -----Original Message-----
> > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 17 October 2002 9:23 AM
> > To: Marcus Van Wyk
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP-INST] apxs missing
> >
> >
> > Install the apache-devel package
> >
> > On Thu, 17 Oct 2002, Marcus Van Wyk wrote:
> >
> > > Hi there Just installed Mandrake 8
> > >
> > > And I'm trying to configure php so that I can use it for script
> > on a Web server
> > >
> > > but it say that you have to configure like this
> > >
> > > ./configure --with-mysql --with-apxs=/to/the/path/apxs
> > >
> > > I've looked just about every where for apxs but can not find it
> > any ideas
> > >
> > > Thank in advance
> > > Marcus
> > >
> > >
> > > ==========================================================
> > > This message contains information intended for the perusal,
> > and/or use (if
> > > so stated), by the stated addressee(s) only. The information is
> > > confidential and privileged. If you are not an intended
> > recipient, do not
> > > peruse, use, disseminate, distribute, copy or in any manner
> > rely upon the
> > > information contained in this message (directly or indirectly).
> > The sender
> > > and/or the entity represented by the sender shall not be held
> > accountable
> > > in the event that this prohibition is disregarded. If you receive this
> > > message in error, notify the sender immediately by e-mail, fax
> > or telephone
> > > representations contained in this message, whether express or
> > implied, are
> > > those of the sender only, unless that sender expressly states them to
be
> > > the views or representations of an entity or person, who shall
> > be named by
> > > the sender and who the sender shall state to represent. No
> > liability shall
> > > otherwise attach to any other entity or person.
> > > ==========================================================
> > >
> > >
> >
> >
> > --
> > 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 ---
--- Begin Message ---
Would like to get PHP running on our Novell 5.0 Server.
I see Novell has PHP for 5.1 which requires a version of LibC for 5.1.
Any one know where PHP for Novell 5.0 can be found?
Thanks
Stewart Walker
Casper College
Assistant Director Computer Services
[EMAIL PROTECTED]              307-268-2331

--- End Message ---
--- Begin Message ---
nah...

"If it(==from_encoding) is not specified, the internal encoding will be
used." (http://jp.php.net/manual/en/function.mb-convert-encoding.php)

so it's just because mbstring.internal_encoding is not properly set?

Masaki Fujimoto

On Thu, 17 Oct 2002 08:17:27 +0900
Yasuo Ohgaki <[EMAIL PROTECTED]> wrote:

> Forgot to what it's doing.
> 
> Since the multibyte char sequence is too short, mbstring
> is failing to detect encoding correctly. In this case,
> we can specify encoding or modify detect order.
> 
> --
> Yasuo Ohgaki
> 
> Yasuo Ohgaki wrote:
> > Ryo Takagi wrote:
> > 
> >>   If the line:
> >>
> >>     print ( mb_convert_encoding( $jstr, "ISO-2022-JP" ) ) ;
> >>
> >> in this script is modified to:
> >>
> >>     print ( mb_convert_encoding( $jstr, "ISO-2022-JP", "EUC-JP" ) ) ;
> >>
> >> then it works again.
> > 
> > 
> > This cannot be fixed. Check & modify your detect order by
> > mb_detect_order().
> > 
> > -- 
> > Yasuo Ohgaki

--- End Message ---
--- Begin Message ---
Masaki Fujimoto wrote:
> nah...
> 
> "If it(==from_encoding) is not specified, the internal encoding will be
> used." (http://jp.php.net/manual/en/function.mb-convert-encoding.php)
> 
> so it's just because mbstring.internal_encoding is not properly set?
> 

Thanks for heads up. I made the same mistake several times even
if I wrote english version of the manual page. Guessing encoding
every time is stupid :)

You should have wrong internal_encoding.

--
Yasuo Ohgaki

--- End Message ---
--- Begin Message ---
I'm very new to all of this so I've probably made some simple mistake 
but I'm stumped.

I just installed Mandrake 8.2 and all went well.
It installed Apache 1.3.23 but not PHP so I went to rpmDrake and 
selected the install of mod_php, php, and php-mysql and it ran through 
the motions and told me I had a successful install and rpmDrake tells me 
these files are installed (v4.1.2 mdk).

Problem is that Apache is not running PHP commands such as phpinfo() so 
I don't think it's installed.

What can I do to get PHP to work?

/Mark

--- End Message ---
--- Begin Message ---
Hello

It's about the same php compilations on both servers. on the raq4-02 you see
that the php variable stop exists. on the one of banderini.ch not.
http://raq4-02.arpanet.ch/info.php?queryexample&stop=andAvariable
http://www.banderini.ch/phpinfo.php?queryexample&stop=andAvariable

Is it because there a two different compilations?

regards,
mike

ps: i know..php?firstvar=1&secondvar=2 does work...


--- End Message ---
--- Begin Message ---
Hallo php-install,

today I installed php 4.2.3 new. in appache is allright, but if I
enter localhost, this folder isn't empty there ist the file index.php,
the monitor "file save?" cames.

Why?

-- 
Matthias                         mailto:[EMAIL PROTECTED]

--- End Message ---

Reply via email to