-   Linux - Server (
-   -   Configure PHP problem (

Trance-formation 07-18-2007 12:23 PM

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.


x_terminat_or_3 07-18-2007 01:03 PM

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
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

Trance-formation 07-18-2007 02:37 PM

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?

x_terminat_or_3 07-18-2007 03:07 PM

yeah, but to do that, you will also need apache source code, and possibly mysql source code

Trance-formation 07-21-2007 06:22 AM

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

All times are GMT -5. The time now is 06:37 PM.