Eugeny / ajenti-v

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

PHP7 support #206

Closed Ardakilic closed 8 years ago

Ardakilic commented 8 years ago

Hello,

First of all, thank you for Ajenti + Ajenti-v, I've been using more than a year in my personal server, and I must say this is the best admin panel I've ever used.

I've a question, I hope you can help me.

Does Ajenti-v support PHP7 as of now ?

I have updated a VPS that doesn't have a control panel, which is running Ubuntu server 14.04 with this PPA.

This article can be a reference for updating Ubuntu.

Path is changed like /etc/php/7.0/fpm

This guy's PPA is the most popular one around, and works as a treat with PHP5.6 + Ajenti-v.

From what I see from phpfpm.py, I can assume Ajenti-v won't work with PHP7.

So my question goes:

Are there any plans to update Ajenti-v-php-fpm for PHP7? Or Is there going to be another package?

Here's the current PHP7 package list if that would help:

➜  /srv  apt-cache search php7
php7.0-common - Common files for packages built from the PHP source
libapache2-mod-php7.0 - server-side, HTML-embedded scripting language (Apache 2 module)
php7.0-cgi - server-side, HTML-embedded scripting language (CGI binary)
php7.0-cli - command-line interpreter for the PHP scripting language
php7.0-phpdbg - server-side, HTML-embedded scripting language (PHPDBG binary)
php7.0-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary)
libphp7.0-embed - HTML-embedded scripting language (Embedded SAPI library)
php7.0-dev - Files for PHP7.0 module development
php7.0-dbg - Debug symbols for PHP7.0
php7.0-curl - CURL module for PHP
php7.0-gd - GD module for PHP
php7.0-imap - IMAP module for PHP
php7.0-intl - Internationalisation module for PHP
php7.0-ldap - LDAP module for PHP
php7.0-pgsql - PostgreSQL module for PHP
php7.0-pspell - pspell module for PHP
php7.0-recode - recode module for PHP
php7.0-snmp - SNMP module for PHP
php7.0-tidy - tidy module for PHP
php7.0 - server-side, HTML-embedded scripting language (metapackage)
php7.0-json - JSON module for PHP
php-all-dev - package depending on all supported PHP development packages
php7.0-sybase - Sybase module for PHP
php7.0-modules-source - PHP 7.0 modules source package
php7.0-sqlite3 - SQLite3 module for PHP
php7.0-mysql - MySQL module for PHP
php7.0-opcache - Zend OpCache module for PHP

Thanks in advance,

Best Regards,

eser commented 8 years ago

+1

demirhancosku commented 8 years ago

+1

cronner commented 8 years ago

+1

Also available for debian jessie in dotdeb repo: https://www.dotdeb.org/2015/12/04/php-7-0-0-is-available-for-jessie/

XVII commented 8 years ago

+1

seanmcn commented 8 years ago

Also interested to hear on plans for this

EvgeniiShumeiko commented 8 years ago

+1 I install php7, it have a php-fpm 7.0 version but ajenti-v-php-fpm have php-fpm 5.9 version P.S I am sorry, my english is bad((

Ardakilic commented 8 years ago

Anyone reading this and willing to contribute, to ease the process for @Eugeny , especially if you're using RedHat, CentOS etc. , can you please install PHP7 on a "dummy, non production, test" server and provide how you've upgraded, the updated directory paths (/etc/php/7.0/fpm etc.), package names (php7.0-fpm) etc. ?

arifr007 commented 8 years ago

+1 i would like to try and be a beta tester if @Eugeny starting the development. :D

alessiodionisi commented 8 years ago

I'm trying it on ubuntu

alessiodionisi commented 8 years ago

Hi guys, I have almost completed the plugin for ajenti v :D

-- UPDATE -- Pull request created: https://github.com/Eugeny/ajenti-v/pull/213

Ardakilic commented 8 years ago

Great job @alessiodionisi ! :)

alessiodionisi commented 8 years ago

Thanks! @Ardakilic

arifr007 commented 8 years ago

nice job @alessiodionisi

SergeyMiracle commented 8 years ago

Debian with dotdeb Folder - /etc/php/7.0/fpm Service - php7-fpm

Everything works except ajenti-v-php-fpm :cry:

alessiodionisi commented 8 years ago

Update patched files for php7.0 & php5.6: https://github.com/Eugeny/ajenti-v/pull/213

@SergeyMiracle Please can you try this https://github.com/Eugeny/ajenti-v/pull/213 on Debian?

Ardakilic commented 8 years ago

I'm closing this in favor of #213.

Upgrading was quite easy on Ubuntu 14.04 for me:

And I'm using PHP7 in my server along with ajenti

Thanks again, @alessiodionisi for the work done! :smile:

khalilst commented 7 years ago

@Ardakilic, you're a man, your middle name must be superman. Changing content tab manually save my night