[PHP-DEV] Bug #12727: Bad subdirs assumed in configure and in make

2001-08-13 Thread php-bug

From: [EMAIL PROTECTED]
Operating system: Solaris 7
PHP version:  4.0.6
PHP Bug Type: PostgreSQL related
Bug description:  Bad subdirs assumed in configure and in make

reproduceable - probably an easy fix

during ./configure and later (after I thought I fixed things) in the make,
the php install kept having trouble finding my install.  postgresql was
installed --prefix=/usr/local/pgsql/7.1.2/, and that path was supplied to
the program ($i).  However, it looked like that it assumed that libraries
and such were not immediately in that path.  For example, it looks in
$i/lib/pgsql and $i/lib/postgresql, where my path was (I though
predictable) $i/lib.  I did a ln -s /usr/local/pgsql/7.1.2/lib
/usr/local/lib/pgsql and other but that didn't work.  I mucked around with
the (impressive) config files adding paths and that only gave limited
progress.  I eventually did ln -s . pgsql in lib and other relevant
places and got much further.
   Then, in make, failure again, as the header file couldn't find the
include.  I added a hard path to the build/rules_common.mk (I believe the
variable was DEFS).
   I hope this helps.  Personal note, I hopped on IRC (efnet) to try and
get some advice.  Even though I asked an informed and intelligent (IMHO)
question, I still got the condesending knee-jerk responses.  I have now
been conditioned to a) never ever hope for any help from irc (especially
the ef) and b) never research an issue fully before asking a question.  If
you've done your research, you've spent TONS of times getting caught up,
just to find out you know more than who you're asking for help.  However
[James] was friendly and helpful, more so than anyone.  He deserves a free
beer!
-- 
Edit bug report at: http://bugs.php.net/?id=12727edit=1


-- 
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] PHP 4.0 Bug #9051: $variable = () crashes the server

2001-02-01 Thread php-bug-report

From: [EMAIL PROTECTED]
Operating system: Linux 2.2
PHP version:  4.0.4pl1
PHP Bug Type: Reproduceable crash
Bug description:  $variable = () crashes the server

? $x = () ?test

This code would result in a "The Document Contains No Data" page in Netscape and a 
Segmentation Fault error in the Apache log.

gdb backtrace:
#0  0x402239c1 in _zval_ptr_dtor () from /usr/lib/apache/1.3/libphp4.so
#1  0x402228f4 in execute () from /usr/lib/apache/1.3/libphp4.so
#2  0x4021f327 in execute () from /usr/lib/apache/1.3/libphp4.so
#3  0x4021ffca in execute () from /usr/lib/apache/1.3/libphp4.so
#4  0x4022bf1f in zend_execute_scripts () from /usr/lib/apache/1.3/libphp4.so
#5  0x4023d634 in php_execute_script () from /usr/lib/apache/1.3/libphp4.so
#6  0x40239d8f in apache_php_module_main () from /usr/lib/apache/1.3/libphp4.so
#7  0x4023a740 in send_php () from /usr/lib/apache/1.3/libphp4.so
#8  0x4023a77e in send_parsed_php () from /usr/lib/apache/1.3/libphp4.so
#9  0x8054064 in ap_invoke_handler ()
#10 0x8062d0c in ap_some_auth_required ()
#11 0x8062d68 in ap_process_request ()
#12 0x805ca49 in ap_child_terminate ()
#13 0x805cbdc in ap_child_terminate ()
#14 0x805ccf9 in ap_child_terminate ()
#15 0x805d1ab in ap_child_terminate ()
#16 0x805d86d in main ()
#17 0x400bedcc in __libc_start_main () from /lib/libc.so.6


-- 
Edit Bug report at: http://bugs.php.net/?id=9051edit=1



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