From:             jphml at videotron dot ca
Operating system: Linux
PHP version:      5.1.1
PHP Bug Type:     Apache2 related
Bug description:  undefined symbol: sqlite3SelectDelete

Description:
------------
When tring to use Apache 2.0.55 with PHP 5.1.1 module  
(libphp5.so) you get the following error on Apache startup  
 
Syntax error on line 232 of /opt/fruity/conf/httpd.conf: 
Cannot load /opt/fruity/modules/libphp5.so into  
server: /opt/fruity/modules/libphp5.so: undefined symbol:  
sqlite3SelectDelete  
  
Your are then unable to start apache. 
 
Here is my configure line for Apache: 
./configure --prefix=/opt/fruity --enable-so 
 
Here is my configure line for PHP 5.1.1: 
./configure --prefix=/opt/fruity 
--with-apxs2=/opt/fruity/bin/apxs --with-mysql 
 
Here is my line about PHP in httpd.conf 
LoadModule php5_module        modules/libphp5.so 
 
I tried the following: 
- Apache 1.3.34 with PHP 5.1.1: same error 
- Compile PHP 5.1.1 with --without-sqlite: Same error 
- Compile PHP without --with-mysql: Same error 
 
The following configuration works: Apache 2.0.55 and PHP 
5.0.5 with the configure lines above. (In Apache 1.x use 
--enable-module=so instead of --enable-so). 
 
Note that both software were always compiled with 
--prefix=/opt/fruity, I didn't tried without. 
 

Expected result:
----------------
You expect that Apache will start without errors  

Actual result:
--------------
When you start apache you get:  
 
[EMAIL PROTECTED] bin]# ./apachectl start 
Syntax error on line 232 of /opt/fruity/conf/httpd.conf: 
Cannot load /opt/fruity/modules/libphp5.so into  
server: /opt/fruity/modules/libphp5.so: undefined symbol:  
sqlite3SelectDelete  
  
and Apache doesn't start  

-- 
Edit bug report at http://bugs.php.net/?id=35737&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=35737&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=35737&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=35737&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=35737&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=35737&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=35737&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=35737&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=35737&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=35737&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=35737&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=35737&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=35737&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=35737&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=35737&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=35737&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=35737&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=35737&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=35737&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=35737&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=35737&r=mysqlcfg

Reply via email to