LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > Where is newly built PHP Extensions?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-14-2013, 09:11 AM
skcsknathan001 skcsknathan001 is offline
New Member
 
Join Date: Dec 2010
Posts: 8
Default Where is newly built PHP Extensions?

I used LiteSpeed's php compiling function on the interface.

here are the flags I used with PHP version 5.4.11

'--with-mysqli' '--enable-mbstring' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-libdir=lib' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/usr/share/file/magic.mime' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--with-mysql' '--with-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--enable-libxml' '--with-litespeed' '--with-freetype' '--with-ttf' '--cache-file=../config.cache' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d'



I tried to set the "Install Path Prefix" to "/usr"
also tried with the default value of "/usr/local/lsws/lsphp5"

in all cases I get the following errors on my [STDERR]

2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './dom.so' - ./dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './dbase.so' - ./dbase.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './dom.so' - ./dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './gd.so' - ./gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './imap.so' - ./imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './mbstring.so' - ./mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './mysql.so' - ./mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './mysqli.so' - ./mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './odbc.so' - ./odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './pdo.so' - ./pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './pdo_mysql.so' - ./pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './pdo_odbc.so' - ./pdo_odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './pdo_pgsql.so' - ./pdo_pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.339 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './pdo_sqlite.so' - ./pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.340 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './pgsql.so' - ./pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.340 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './snmp.so' - ./snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.340 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './xmlreader.so' - ./xmlreader.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.340 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './xmlrpc.so' - ./xmlrpc.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.340 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './xmlwriter.so' - ./xmlwriter.so: cannot open shared object file: No such file or directory in Unknown on line 0
2013-03-14 12:09:48.340 [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library './xsl.so' - ./xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0


php.in says the
extension_dir = ./


Please help. Thank you

Last edited by skcsknathan001; 03-14-2013 at 09:14 AM..
Reply With Quote
 

Tags
php extension

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:44 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.