Jump to content

umangjain

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

umangjain's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks for trying guys. I got it fixed eventually. Just to tell others if anyone else gets this problem: I installed openssl, zlib and libxml iin the system. Changed symbolic links in /usr/lib directory for libz (to do this check this page: http://openhelp.net/2010/11/11/libxml2-so-undefined-reference-to-gzopen64/ ) And then everything worked. I didnt even had to reinstall apache or php. Thanks, Umang
  2. Hi guys, I am having trouble in using SOAP extension. I installed PHP with SOAP extension but whenever there is a soapclient function call in the code. The page either doesn't load and shows a blank page or asks to save the .php file without even showing a blank page. In error log file for apache this error is thrown again and again on each page load: [Thu Feb 03 23:02:20 2011] [notice] child pid 23912 exit signal Segmentation fault (11) I tried backtracing it using gdb. But it came out with this which makes no sense: [root@testapp3 bin]# gdb /usr/sbin/httpd /tmp/apache-cores/core.8638 GNU gdb Red Hat Linux (6.5-16.el5rh) Copyright © 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/www/bin/httpd -k start'. Program terminated with signal 11, Segmentation fault. #0 0x00002aaaab3c836c in ?? () (gdb) where #0 0x00002aaaab3c836c in ?? () #1 0x000000000000000d in ?? () #2 0x0000000005517bd0 in ?? () #3 0x000000004d49f4e4 in ?? () #4 0x00002aaaab3cd7cd in ?? () #5 0x0000000000000000 in ?? () I used the same php code on other machines and it works fine. Please put some light on the problem here. Please help. Thanks, Umang
  3. Thank you thorpe. It got solved. I was missing some libraries like curl library files and zlib library files for which there was no mention of in the error at all. But now it configures fine. Thanks, Umang
  4. Because I have access to terminal only and i want all those extension to be installed and I can't use XAMPP.
  5. Hey all, I am using this command to configure php with db2 and other stuff we need: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --libdir=/usr/lib64 --with-libdir=lib64 --with-zlib-dir=/usr/local/lib --with-mysql=mysqlnd --with-mysql-sock=/opt/lampp/var/mysql/mysql.sock --enable-mbstring --enable-soap --with-curl --with-dom=/opt/lampp --with-mcrypt=/opt/php-5.3.2/ext/mcrypt --with-pdo-odbc=ibm-db2,/opt/user1/sqllib --with-ibm_db2=/opt/user1/sqllib I have installed IBM db2 client and then made an instance for user "user1" But when I run this command, everything goes fine until this error shows up: checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... /opt/lampp/var/mysql/mysql.sock checking for MySQL UNIX socket location... /opt/lampp/var/mysql/mysql.sock checking for MySQLi support... no checking whether to enable embedded MySQLi support... no checking for Oracle (OCI8) support... no checking for IBM DB2 support... no configure: error: build test failed. Please check the config.log for details. You need to source your DB2 environment before running PHP configure: # . $IBM_DB2/db2profile I have already set $IBM_DB2 as /opt/user1/sqllib and run "source db2profile" command or ". db2profile" command before running the php configure command. Can you put some light on the problem? I have already installed using the similar command on two other machines but on this machine it keeps giving me error to source the db2profile file. Thanks, Umang Jain
  6. Hi all, Thanks for your replies. If I get rid of XAMPP and reinstall everything seperately, Will I also be able to install myPhpAdmin and link it to this new installation? Thanks, Umang
  7. Is it possible that: I install PHP seperately on a 64 bit RHL system which already has XAMPP installed. Then, can I point the xampp to the new PHP instance? Thanks, Umang
  8. Thank you for your reply.. But, we need to keep the xampp installation as it is (its running lots of services which are used by people). I was thinking of reconfiguring the php on it by giving "--prefix = /opt/lampp" in "./configure" while configuring php. Any ways to do that? Thanks, Umang
  9. I have a 64 bit linux machine. It already has XAMPP (32bit) installed on it. I want to add few extension to its PHP. So, I was trying to configure a PHP source code using ./configure command. I was pointing the extensions to /opt/lampp, i.e. where xampp is installed. But the problem is that, xampp is 32 bit and php configures for 64 bit (as my machines is 64 bit OS) and skips the libraries in /opt/lampp folder. Any ideas for upgrading PHP in xampp installation with new extensions on a 64-bit machine. Thanks, Umang
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.