Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-19-2003, 04:34 PM   #1
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Rep: Reputation: 30
Question PHP compile/install question...

Hello everyone.
I have a question on PHP compile/install. At this time, I currently have PHP 4.3.0 installed. However, I would like to do a bit of reconfiguring with my PHP so I can add a few features to it.

First, I am very new to PHP, so I am learning. Please be patient.

Secondly, I want to know how I can recompile PHP with more options? At this time, I have PHP compiled with support for Apache and MySQL. What I would like to do is compile PHP so I can add support for ODBC.

I was wondering if someone can point me in the right direction on how I would go about recompiling PHP to add extra features?

I do appreciate it. I look forward to your response.
THank you.

Old 02-19-2003, 04:49 PM   #2
LQ Newbie
Registered: Nov 2002
Distribution: Mandrake 9.0
Posts: 5

Rep: Reputation: 0
you should just be able to download the source code for php, and then:

./configure <insert options you want to include>
make install

for a complete list of the configuration options you can throw at php check out
Old 02-19-2003, 05:16 PM   #3
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Original Poster
Rep: Reputation: 30
Thanks for the input. I was doing some recompiling (adding IBM's DB2 database actually.

Everything was going well. I specified my options, then typed make. So far so good.

Then, when I typed make install, I received this error:

Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment: /usr/local/lib/php/
/home/downloads/php-4.3.1/sapi/cli/php: error while loading shared libraries: cannot open shared object file: No such file or directory
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2

Any ideas on what is going on how to fix it?

I appreciate any help.

Old 02-19-2003, 05:40 PM   #4
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Original Poster
Rep: Reputation: 30
The file in question:

I have found in a different directory. it was in the directory where IBM DB2 was installed:


I am so close to getting this installed. Anyone have any suggestions on what I can do to fix this?




Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install PHP - Error During Compile Sitaga Linux - Software 3 01-13-2005 01:04 PM and php install question Jake_B Linux - Software 0 10-19-2004 09:01 PM
PHP mysql_connect Guru - Install Question/Issue whohasit Programming 4 07-16-2004 07:28 PM
php & xml install question benjam Linux - Newbie 2 07-08-2004 01:41 PM
PHP compile question... bige Linux - Software 4 05-05-2003 10:52 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration