View Full Version : Compile Apache / PHP
RobertMidd
30th January 2008, 05:19 AM
I have recently moved from CPanel to Plesk 8.3 and I am still finding my way around.
In CPanel I could use the WHM interface to recompile Apache/PHP in a GUI mode but I cannot find an option in Plesk for this.
Is there a way to do this with Plesk or do I have to do this manually via SSH ?
Thanks in advance
Robert.
atomicturtle
30th January 2008, 08:22 AM
You dont need to do it in plesk, since it uses the vendors packages. What distro are you on?
RobertMidd
30th January 2008, 08:57 AM
Can you explain what you mean and what the difference is ... I do not fully understand.
My server is using CENTOS 5 (64 Bit) and I want to recompile PHP to use some other modules which I have only ever done in WHM by recompiling apache and selecting the PHP modules I want.
Thanks.
atomicturtle
30th January 2008, 10:19 AM
The OS vendors generally already do all this, depending on the module of course. Basically Cpanel has been duplicating effort.
Which module(s) did you need? Heres the list of what is available for php on CentOS 5 by default:
php
php-bcmath
php-cli
php-common
php-dba
php-devel
php-gd
php-imap
php-ldap
php-mbstring
php-mysql
php-ncurses
php-odbc
php-pdo
php-pear
php-pgsql
php-snmp
php-soap
php-xml
php-xmlrpc
There are additional modules like php-mcrypt, php-mhash, php-ioncube-loader, php-zend-optimizer, php-eaccelerator, php-suhosin, and others available additional yum channels.
RobertMidd
30th January 2008, 10:31 AM
I need PHP modules for GD2 with FreeType support + some other option, IonCube & OpenSSL
How do I install these ... with up2date or yum install ?
I have never installed using either of these.
atomicturtle
30th January 2008, 10:48 AM
You use yum. OpenSSL is already there by default, for the others youd use:
yum install php-gd
ioncube is in my archive, which you would activate with:
wget -q -O - http://www.atomicorp.com/installers/atomic |sh
and run:
yum install php-ioncube-loader
You might also want to check out the web interface for yum we've been working on, which you can install with:
yum install atomic-yum
RobertMidd
30th January 2008, 11:18 AM
I will give it a go.
Thanks for your assistance.
RobertMidd
30th January 2008, 11:39 AM
I tried the install automatic-yum but got the following error
Error: Missing Dependency: yum-repolist is needed by package atomic-yum
How do I fix ?
unika
31st January 2008, 11:49 AM
It was already discussed - firstly, check the following:
http://forum.swsoft.com/showthread.php?p=198049#post198049
RobertMidd
31st January 2008, 01:55 PM
Considering that I only tried the install for the first time yesterday then that thread does not help.
Nevertheless I did what was suggested and I have the same problem.
Anyone ?
atomicturtle
31st January 2008, 04:47 PM
What distro are you on?
RobertMidd
31st January 2008, 07:24 PM
I am on CentOS5 (64 Bit).
atomicturtle
1st February 2008, 08:47 AM
Ah, are you on a VPS? yum-repolist is in the base channel on centos, so it should always be available unless someone has broken yum on your system.
RobertMidd
4th February 2008, 05:37 AM
No it is a dedicated server which has just been installed and should therefore not be a broken system.
How do I get this to work ?
atomicturtle
4th February 2008, 09:39 AM
what happens when you try to update with yum?
RobertMidd
4th February 2008, 09:52 AM
I have since done yum updates and they all have worked ok.
The only problem I get is when I try yum install atomic-yum and then I get Error: Missing Dependency: yum-repolist is needed by package atomic-yum.
atomicturtle
4th February 2008, 02:30 PM
yum-repolist.noarch 1.0.4-3.el5.centos.2 base
Yum repolist is part of the base channel for CentOS 5. That makes me think that someone has tried to be "helpful" and meddled with your yum configuration. What does /etc/yum.conf and /etc/yum.repos.d/CentOS-Base.repo look like?
donkle
19th February 2008, 07:37 AM
Sorry to HiJack this thread,
I tried yum update on my system (centos 5) and it comes back with command not found.
I also noticed that /etc/yum.conf does not exist
Any help would be appreicated!
atomicturtle
19th February 2008, 02:36 PM
Run this:
wget -q -O - http://www.atomicorp.com/installers/atomic |sh
That should fix yum for you.
donkle
19th February 2008, 03:22 PM
wget -q -O - http://www.atomicorp.com/installers/atomic |sh
Atomic Archive installer, version 0.10.1
Configuring the [atomic] yum archive for this system
Installing the Atomic GPG key: OK
Yum was not detected. Attempting to resolve..
No joy I am afraid! Thanks for the suggestion
atomicturtle
19th February 2008, 03:29 PM
What was the rest of the output?
donkle
19th February 2008, 05:11 PM
That was the sum total of the output, I was returned to the prompt right after. :(
atomicturtle
20th February 2008, 11:03 AM
Run it like this then:
wget -O - http://www.atomicorp.com/installers/atomic |sh
vBulletin® v3.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.