Try a snapshot release from http://snaps.php.net and let us know if you
still get this problem.

-Rasmus

On Thu, 1 Feb 2001, Extends Internet wrote:

> I get a "Floating point exception - core dumped" on my first attempt
> to start the Apache server once I've added php.  Any help is greatly
> appreciated!
>
> Thanks,
> Steve Amerige
>
>
> OS:     FreeBSD 3.4 (Intel)
> Apache: 1.3.14 (latest production version)
> PHP:    4.0.4pl1
> MySQL:  3.23.32
>
> I started with tarballs of the above and built:
>
> 1. mysql
>
>     % cd /src/mysql-3.23.32
>     % ./configure --prefix=/usr/local/mysql
>     % make
>     % make install
>     % scripts/mysql_install_db
>     % chown -R mysql.mysql /usr/local/mysql
>
> 2. Followed the Quick Installation Instructions
> in the php manual:
>
>     % cd /src/apache_1.3.14
>     % ./configure --prefix=/usr/local/apache1.3.14 --enable-module=all
>     % cd ../php4.0.4pl1
>     % ./configure --with-mysql --with-apache=../apache_1.3.14
> --enable-track-vars
>     % make
>     % make install
>     % cd ../apache_1.3.14
>     % ./configure --prefix=/usr/local/apache1.3.14 --enable-module=all \
>
>         --activate-module=src/modules/php4/libphp4.a
>     % make
>     % make install
>     % cd ../php4.0.4pl1
>     % cp php.ini-dist /usr/local/lib/php.ini
>     # Edit httpd.conf: AddType application/x-httpd-php .php
>     % /usr/local/apache1.3.14/bin/apachectl start
>     Floating point exception - core dumped
>     /usr/local/apache1.3.14/bin/apachectl start: httpd could not be
> started
>     %
>
> The core image shows via gdb:
>
>
> > #0  0x8089c5c in php_minit_crypt (type=1, module_number=2) at crypt.c:109
> > 109             srand48((unsigned int) time(0) * getpid() * (php_combined_lcg() * 
>10000.0));
> > (gdb)
> > (gdb) where
> > #0  0x8089c5c in php_minit_crypt (type=1, module_number=2) at crypt.c:109
> > #1  0x8084fea in php_minit_basic (type=1, module_number=2)
> >     at basic_functions.c:719
> > #2  0x80ce042 in zend_startup_module (module=0x81bea40) at zend_API.c:697
> > #3  0x8065753 in php_startup_extensions (ptr=0x81b8d50, count=6) at main.c:751
> > #4  0x80662fd in php_startup_internal_extensions () at internal_functions.c:59
> > #5  0x80659a9 in php_module_startup (sf=0x81b7d40) at main.c:905
> > #6  0x80634c6 in php_apache_startup ()
> > #7  0x8064043 in php_init_handler ()
> > #8  0x81379b4 in ap_init_modules ()
> > #9  0x8141ef3 in main ()
> > #10 0x80622ad in _start ()
> > (gdb)
> >
>
>
> --
> PHP Install 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 Install 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]

Reply via email to