[PHP] floating point exception after php 4 upgrade on raq 2

2001-11-19 Thread Paul Schreiber

Old config:
Apache/1.3.12 (Unix) mod_auth_pam/1.0a PHP/3.0.15 configured

New config:
Apache/1.3.22 (Unix) mod_auth_pam/1.0a PHP/4.0.6 configured

From /var/log/httpd/error:
[Mon Nov 19 19:53:19 2001] [notice] child pid 30261 exit signal Floating 
point exception (8)
[Mon Nov 19 19:53:34 2001] [notice] child pid 30263 exit signal Floating 
point exception (8)
[Mon Nov 19 19:53:40 2001] [notice] child pid 30264 exit signal Floating 
point exception (8)
[Mon Nov 19 19:53:41 2001] [notice] child pid 30262 exit signal Floating 
point exception (8)

# uname -a
Linux www 2.0.34 #1 Thu Feb 25 21:04:19 PST 1999 mips unknown

# gcc -v
Reading specs from /usr/lib/gcc-lib/mipsel-redhat-linux/egcs-2.90.27/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)


What's going on / how do I fix this / what other information do you need?


Paul

 shad 96c / uw cs 2001 / mac activist / eda / fumbler
fan of / jewel / sophie b. / sarah slean / steve poltz / emm gryner /
   / x-files / buffy / dawson's creek / habs / bills / 49ers /
 
 t h i n k  d i f f e r e n t.

I've heard about your witness protection program -- it's called
 woodlawn cemetary. -- as heard on Law  Order


-- 
PHP General 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] irix compile error (4.0.4pl1): libpq

2001-03-21 Thread Paul Schreiber

okay, i'm trying to compile on an irix 5.3 box ... configure gives some 
sort of warning/error, and this is what's in debug.log:

---
-
CONFIGURE:   './configure' '--with-mysql' 
'--with-apache=../apache_1.3.19/' '--w
ith-openssl' '--with-imap' '--enable-magic-quotes' '--with-curl' 
'--enable-ftp' 
'--with-pgsql' '--enable-trans-sid'
CC: gcc
CFLAGS: -O2
CPPFLAGS:   
CXX:
CXXFLAGS:   
INCLUDES:-I/disk2/usr/people/paul/apache_1.3.19/src/include 
-I/disk2/usr/peo
ple/paul/apache_1.3.19/src/os/unix  -I$(top_builddir)/Zend 
-I/usr/local/ssl/incl
ude -I/usr/local/include 
-I/disk2/usr/people/paul/php-4.0.4pl1/ext/mysql/libmysq
l
LDFLAGS: -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib 
-Wl,-rpath,/usr/
local/lib -L/usr/local/lib -Wl,-rpath,/lib -L/lib
LIBS:   -lpq -lcurl -lcrypto -lssl -lm -ldl -lcrypt -lsocket  -lsocket
DLIBS:  -lc-client 
SAPI:   apache
PHP_RPATHS:  /usr/local/ssl/lib /usr/local/lib /lib
uname -a:   IRIX imprint 5.3 02091401 IP22 mips

gcc -o conftest -O2   -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib 
-Wl,-rp
ath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/lib -L/lib conftest.c 
-lpq -lcur
l -lcrypto -lssl -lm -ldl -lcrypt -lsocket  -lsocket 15
/usr/bin/../lib/ld:
Can't locate file for: -lpq
collect2: ld returned 1 exit status

---
-
make gives a different error:

main.c: In function `php_message_handler_for_zend':
main.c:582: too few arguments to function `asctime_r'
make[2]: *** [main.lo] Error 1
make[2]: Leaving directory `/disk2/usr/people/paul/php-4.0.4pl1/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/disk2/usr/people/paul/php-4.0.4pl1/main'
make: *** [all-recursive] Error 1
---
-


anyone know how to fix this?


Paul

 shad 96c / 4B CS / mac activist / eda / fumbler
fan of / jewel / sophie b. / sarah slean / steve poltz / emm gryner /
   / x-files / buffy / dawson's creek / habs / bills / 49ers /
 
 t h i n k  d i f f e r e n t.

i chained my angel to the eavestrough /
it was november and i think i pissed him off /
-- Sarah Slean, "Angel"


-- 
PHP General 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] irix compile error (4.0.4pl1)

2001-03-21 Thread Paul Schreiber

Yasou wrote:

Do you have llibpq in your system? Is it under path /usr/lib or 
/usr/local/lib?
If not, get PostgreSQL source, create lib, specify Pgsql install location for
configure.
If this does not help, I don't know

okay, I removed --with-pgsql ... but I'm still getting this error:

 main.c: In function `php_message_handler_for_zend':
 main.c:582: too few arguments to function `asctime_r'

argh! damn sgi :p

This is gcc version 2.95.1 and irix 5.3.


Paul


 shad 96c / 4B CS / mac activist / eda / fumbler
fan of / jewel / sophie b. / sarah slean / steve poltz / emm gryner /
   / x-files / buffy / dawson's creek / habs / bills / 49ers /
 
 t h i n k  d i f f e r e n t.

i'm still recalling the things you said to make me feel alright /
i carried them with me today /
-- Sophie B. Hawkins, "As I Lay Me Down"


-- 
PHP General 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] using slash as delimiter

2001-02-18 Thread Paul Schreiber

okay, i swear, this *must* be a FAQ. :-) I looked on php.net's FAQ and 
php.faqts.com, but couldn't find it. 

How do I use slashes to delimit query string (url) paramters?

i.e., I want
   http://foo.com/name/paul
instead of
   http://foo.com/?name=paul

Manuel Lemos does this on his php classes site:
   http://phpclasses.UpperDesign.com/


thanks.

Paul

 shad 96c / 4B CS / mac activist / eda / fumbler
fan of / jewel / sophie b. / sarah slean / steve poltz / emm gryner /
   / x-files / buffy / dawson's creek / habs / bills / 49ers /
 
 t h i n k  d i f f e r e n t.

"We're a couple of nice guys ... which stopped being a desirable
 character trait about fifty years ago."
 -- Dawson Leary, "Dawson's Creek"


-- 
PHP General 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] php code to do ph?

2001-01-27 Thread Paul Schreiber

has anyone used PHP to talk to ph (directory) servers?

I found an old perl cgi, but i'd rather do this w/ php.

Paul

 shad 96c / 4B CS / mac activist / eda / fumbler
fan of / jewel / sophie b. / sarah slean / steve poltz / emm gryner /
   / x-files / buffy / dawson's creek / habs / bills / 49ers /
 
 t h i n k  d i f f e r e n t.

"Oh I'll be 21 and old without a clue" -- Emm Gryner, "July"


-- 
PHP General 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]