Eugeny / ajenti-v

Virtual Hosting addon for Ajenti
ajenti.org/#product-ajenti-v
MIT License
225 stars 79 forks source link

[Feature] ajenti-v with MySQL/PHP from CentOS SCL #112

Open mexicarne opened 10 years ago

mexicarne commented 10 years ago

Hello,

Is there any possibility to use ajenti-v with mysql/php versions from centos SCL? For example, I have this rpm's installed (among other): php54-php-fpm-5.4.16-16.el6.centos.alt.x86_64 mysql55-mysql-server-5.5.37-1.2.el6.centos.alt.x86_64

But when installing ajenti plugins for mysql and php-fpm from the ajenti official repo, it is pulling the mysql and php-fpm dependencies from the standard centos repo (mysql 5.1.x and php 5.3.x) ignoring the fact, there are newer versions of it already installed. How this could be solved?

Eugeny commented 10 years ago

Hi, the dependencies are pulled because the plugins depend on 'php-fpm' and 'mysql-server' packages respectively. You either need to have custom packages which provide these names, or install Ajenti V from source code (copy plugins into /var/lib/ajenti/plugins)

mexicarne commented 10 years ago

I don't know how rpm deps format looks like, but isn't it possible to use some regex to cover both phpXX-php-fpm and php-fpm? And the main issue - SCL packages installed under /opt/rh/ tree, so it looks like ajenti-v needs more than just dependency solving to works with it. SCL is the official redhat/centos feature: https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/1/html-single/1.0_Release_Notes/index.html

codecowboy commented 9 years ago

@Eugeny can you elaborate on "You either need to have custom packages which provide these names, or install Ajenti V from source code (copy plugins into /var/lib/ajenti/plugins)"

If I install php56w-fpm from here - https://webtatic.com/packages/php56/ - how would I configure the plugin to work with it?