LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-04-2004, 11:06 AM   #1
griffey
Member
 
Registered: Jan 2004
Location: East Central Illinois
Distribution: RHEL 4/5/6 and Fedora
Posts: 89

Rep: Reputation: 15
Need to recompile PHP?


Hey folks,

I am running a Dell server with RedHat Enterprise ES 3.0. I have also installed Apache 2.0.48, mySQL, PHP 4.3.4, and ColdFusion MX. We are taking over a website from another University, and the website already implements some of these technologies.

After moving the website and doing some primary testing, my colleague at the other University sent me an email and said "The Crop Profile Webservice in PHP depends on the WDDX functions being available in PHP."

I am not using RHN packages for Apache or mySQL or PHP--I compiled them all on my own.

When I compiled PHP originally, I did

./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs

I need to add --enable-wddx

I compiled PHP this way yesterday on a test server, and now need to add the wddx part on the production server.

My gut is to just remove the PHP installation that I already have and then recompile with the proper arguments. Something like:

rm -rf /usr/local/php-4.3.4

And then just start over with the PHP installation?

Will this cause problems with Apache, mySQL, etc.?

Thanks in advance for the advice.

Mike
 
Old 02-04-2004, 11:12 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Don't remove the old one, the make install should take care of that. You might want to look into any other options you might want. My configure line for php is about a page long it seams. If you want to run horde or imp (for webmail) you are going to need a bunch of options.
 
Old 02-04-2004, 11:16 AM   #3
griffey
Member
 
Registered: Jan 2004
Location: East Central Illinois
Distribution: RHEL 4/5/6 and Fedora
Posts: 89

Original Poster
Rep: Reputation: 15
Wow JT, thanks for the fast reply!

I will ask my cohort at MSU if he can think of anything else I should add to the ./configure line and go from there!

Thanks so much for the help!

Mike
 
Old 02-18-2009, 08:24 AM   #4
adrianc.grigoras
LQ Newbie
 
Registered: Dec 2008
Posts: 14

Rep: Reputation: 0
Hi,

I found this post. After we recompile php, we need to recompile all the modules that are previously compiled(mmcache, sql_relay) or we just add them into php.ini?

We recompile the same version.
 
Old 02-18-2009, 06:52 PM   #5
servat78
Member
 
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
If only some compilation option was changed, but otherwise the same PHP version is used, then you should be safe to use the old modules. If the modules did run without the need for WDDX then they will also run with WDDX, for the plain reason that they do not use that functionality.

Debian

Last edited by servat78; 02-19-2009 at 11:35 AM.
 
  


Reply



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
Recompile PHP dominodivine SUSE / openSUSE 3 08-02-2005 03:49 PM
Recompile PHP for Slackware? [GOD]Anck Slackware 12 03-15-2005 05:08 PM
how to recompile php to activate --with-dom phamtranquocvie Linux - Newbie 8 03-16-2004 12:17 PM
recompile php on redhat 9 v4su Linux - Software 3 10-03-2003 07:01 AM
php recompile te_conway Linux - General 1 01-17-2002 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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