Re: [PHP4BETA] modules loading problem

From: Date: Mon, 22 May 2000 19:57:20 +0000
Subject: Re: [PHP4BETA] modules loading problem
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-15452@lists.php.net to get a copy of this message
On Mon, May 22, 2000 at 08:10:53PM +0200, Sascha Schumann wrote: > > extension_dir in php.ini is set correctly and the only way to fix > > these errors we found setting LD_LIBRARY_PATH to a directory the > > same as is in extension_dir, where modules actually are. It is > > rather strange or even ugly solution, isn't it? Did we miss > > something or it's a kind of silly bug? > > Make a simple script which calls phpinfo() and check whether the local > value of extension_dir is correct. root@wiget /root# date Mon May 22 21:46:32 CEST 2000 root@wiget /root# grep -E 'extension_dir.*=' /etc/httpd/php.ini extension_dir = /usr/lib/apache/php root@wiget /root# cat ~wiget/public_html/index.php <?php phpinfo(); ?> root@wiget /root# httpd root@wiget /root# root@wiget /root# tail -10 /var/log/httpd/error_log PHP Fatal error: Unable to load dynamic library 'posix.so' - posix.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Fatal error: Unable to load dynamic library 'pcre.so' - pcre.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Fatal error: Unable to load dynamic library 'sysvsem.so' - sysvsem.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Fatal error: Unable to load dynamic library 'sysvshm.so' - sysvshm.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Fatal error: Unable to load dynamic library 'yp.so' - yp.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Fatal error: Unable to load dynamic library 'ftp.so' - ftp.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Fatal error: Unable to load dynamic library 'bcmath.so' - bcmath.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Fatal error: Unable to load dynamic library 'zlib.so' - zlib.so: cannot open shared object file: No such file or directory in Unknown on line 0 [Mon May 22 21:50:30 2000] [notice] Apache/1.3.12 (Unix) (PLD/Linux) PHP/4.0RC2 configured -- resuming normal operations [Mon May 22 21:50:30 2000] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) root@wiget /root# lynx -dump http://localhost/~wiget/index.php|grep -A1 extension_dir extension_dir /usr/lib/apache/php /usr/lib/apache/php root@wiget /root# ls -l /usr/lib/apache/php/*.so -rwxr-xr-x 1 root root 22268 May 11 18:34 /usr/lib/apache/php/bcmath.so -rwxr-xr-x 1 root root 19556 May 11 18:34 /usr/lib/apache/php/calendar.so -rwxr-xr-x 1 root root 18752 May 11 18:34 /usr/lib/apache/php/dba.so -rwxr-xr-x 1 root root 22056 May 11 18:34 /usr/lib/apache/php/dbase.so -rwxr-xr-x 1 root root 10172 May 11 18:34 /usr/lib/apache/php/filepro.so -rwxr-xr-x 1 root root 25264 May 11 18:34 /usr/lib/apache/php/ftp.so -rwxr-xr-x 1 root root 12720 May 11 18:34 /usr/lib/apache/php/libphp_java.so -rwxr-xr-x 1 root root 125488 May 11 18:34 /usr/lib/apache/php/mysql.so -rwxr-xr-x 1 root root 49092 May 11 18:34 /usr/lib/apache/php/pcre.so -rwxr-xr-x 1 root root 24272 May 11 18:34 /usr/lib/apache/php/pgsql.so -rwxr-xr-x 1 root root 15976 May 11 18:34 /usr/lib/apache/php/posix.so -rwxr-xr-x 1 root root 8972 May 11 18:34 /usr/lib/apache/php/sysvsem.so -rwxr-xr-x 1 root root 11312 May 11 18:34 /usr/lib/apache/php/sysvshm.so -rwxr-xr-x 1 root root 117912 May 11 18:34 /usr/lib/apache/php/xml.so -rwxr-xr-x 1 root root 9328 May 11 18:34 /usr/lib/apache/php/yp.so -rwxr-xr-x 1 root root 16464 May 11 18:34 /usr/lib/apache/php/zlib.so Other documents needed ? -- wiget

« previous php.version4 (#15452) next »