LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-18-2007, 11:23 AM   #1
Trance-formation
LQ Newbie
 
Registered: Jul 2007
Location: West Yorkshire, UK
Distribution: Feisty Faun (laptop) -CentOS and FC6 (server)
Posts: 10

Rep: Reputation: 0
Configure PHP problem


I'm trying to reconfigure my php 5.0.4 set up to use the imap functions... I'm a rank newbie at all this, but I seem to have downloaded the c-client library and installed that all OK, but I'm now supposed to run the configure command from the PHP source directory and I'm damned if I can find it... i've tried locate php, and I can only find the old php4 directory... I use a fasthosts matrix control panel normally, and my upgrade to php5 was a simple push of a button job from there, so I'm wondering if I even have a source directory on my server?

Any ideas, anyone? I'm running fedora core 3.

Adam
 
Old 07-18-2007, 12:03 PM   #2
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
I am... afraid to give you advise on this as you seem to non-technical, and many things can go wrong.

When using solutions such as cPanel or other control panels, you are limited to compiling the available versions, and what options to choose from. Anything that deviates from that needs to be compiled by hand.

The thing is, as soon as you do that, you must discontinue usage of the control panel's compile function.

Step 1: download appropriate php source files from php.net
Step 2: download and (compile) and install dependencies
Step 3: configure & compile php
Step 4: install php
Step 5: restart apache
Step 6: test,rince,repeat if needed
 
Old 07-18-2007, 01:37 PM   #3
Trance-formation
LQ Newbie
 
Registered: Jul 2007
Location: West Yorkshire, UK
Distribution: Feisty Faun (laptop) -CentOS and FC6 (server)
Posts: 10

Original Poster
Rep: Reputation: 0
I was beginning to suspect that may be the case... I'm reasonably technically literate (I code in php and use mysql databases on a regular basis) but the command line control of a linux server is new to me... as I continue to do stuff I'm finding more and more that I need to be able to tweak things to suit me (the php IMAP functions being a classic case in point)

Any how, thanks for the pointers... from what I understand you to be saying I really need to php myself, from scratch and by hand, to get the level of control I desire?
 
Old 07-18-2007, 02:07 PM   #4
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
yeah, but to do that, you will also need apache source code, and possibly mysql source code
 
Old 07-21-2007, 05:22 AM   #5
Trance-formation
LQ Newbie
 
Registered: Jul 2007
Location: West Yorkshire, UK
Distribution: Feisty Faun (laptop) -CentOS and FC6 (server)
Posts: 10

Original Poster
Rep: Reputation: 0
Sorted... nothing a simple rebuild to Fedora Core 6 couldn't sort... left me with a clean install of PHP and then (barring a couple of dependency issues) it was yum all the way... thanks for the input
 
  


Reply

Tags
configure, imap, php5


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
apxs and php configure problem jarrodnheadley Linux - Software 2 06-01-2006 03:36 PM
problem configure IBM HTTP Server with PHP support in slackware 9.1 dm0nkz Slackware 2 05-19-2004 08:49 PM
Configure with php kelper Linux - Software 3 01-27-2003 06:47 PM
Configure PHP in RH 8 Ryanitus Linux - Newbie 2 01-03-2003 07:52 PM


All times are GMT -5. The time now is 08:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration