GithubHelp home page GithubHelp logo

phalcon / packagecloud Goto Github PK

View Code? Open in Web Editor NEW
26.0 10.0 4.0 555 KB

:cloud: Phalcon Build Project

Home Page: https://packagecloud.io/phalcon

License: BSD 3-Clause "New" or "Revised" License

Shell 61.77% Makefile 37.04% Smarty 1.19%
phalcon rpm-packages deb-packages packagecloud

packagecloud's Introduction

Phalcon Builder

Build Status

Phalcon Builder - is a packaging system that make it easy and quick to build Phalcon packages such as rpms, debs, etc. Phalcon's distribution that hosted at PackageCloud.

Installation Instructions

How the Phalcon Team will schedule framework releases in the future:

  • Stable versions correspond to Phalcon release tags and should be used in production
  • Mainline versions correspond to Phalcon release tags which are not stable. Сan be used with care by experienced users
  • Nightly versions are built daily and should not be used in production

Installation/configuration details for each version and operating system can be found below:

Supported Operating Systems

  • Ubuntu 14.04 LTS (Trusty) (up to PHP 7.3)
  • Ubuntu 16.04 LTS (Xenial)
  • Ubuntu 18.04 LTS (Bionic)
  • Ubuntu 20.04 LTS (Focal)
  • Ubuntu 20.10 (Groovy)
  • Debian 9 LTS (Stretch)
  • Debian 10 (Buster)
  • CentOS 7.2 LTS (Core)

Configuration

DEB packages

# Stable releases
curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh | sudo bash

# Mainline releases
curl -s https://packagecloud.io/install/repositories/phalcon/mainline/script.deb.sh | sudo bash

# Nightly releases
curl -s https://packagecloud.io/install/repositories/phalcon/nightly/script.deb.sh | sudo bash

RPM packages

# Stable releases
curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.rpm.sh | sudo bash

# Mainline releases
curl -s https://packagecloud.io/install/repositories/phalcon/mainline/script.rpm.sh | sudo bash

# Nightly releases
curl -s https://packagecloud.io/install/repositories/phalcon/nightly/script.rpm.sh | sudo bash

Programmatic way

export BASE_URI=https://packagecloud.io/install/repositories
export PRODUCT=phalcon
export BRANCH=mainline
export PACKAGE=rpm

curl -s "${BASE_URI}/${PRODUCT}/${BRANCH}/script.${PACKAGE}.sh" | sudo bash

Installation

Select the required package from the list using the command as follows:

DEB packages

# Phalcon PHP framework
apt-cache search phalcon | grep "High performance PHP framework"

# Debug symbols for Phalcon
apt-cache search phalcon-dbgsym

RPM packages

# Phalcon PHP framework
yum search phalcon | grep "High performance PHP framework"

# Debug symbols for Phalcon
yum search phalcon | grep "Debug information for package"

Download packages manually

License

Phalcon Builder licensed under the BSD 3-Clause License. See the LICENSE file for more information.

packagecloud's People

Contributors

jeckerson avatar niden avatar sergeyklay avatar virgofx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

packagecloud's Issues

Offical Package for Arch Linux

As per @sergeyklay request in
phalcon/cphalcon#13944

Request for official "php-phalcon" pacakge for Arch Linux OS. Current AUR packages is outdated most of the time, see https://aur.archlinux.org/packages/?O=0&K=phalcon Latest package in AUR is 3.4.2 :( The only other option is to compile it manually. It would be nice to see such a great php framework like Phalcon in official arch core packages. But I think for this to be achived, actual offical phalcon package has to be created by Phalcon developers. Similarly how you done it for DEB/RPM on https://packagecloud.io/phalcon I think one of the reasons why not many Arch users use phalcon because its not in core packages. Thank you!

Phalcon Ubuntu 16 installation

Attempted to install Phalcon for PHP 7.0 Ubuntu 16 (fresh install) using:

curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh | sudo bash

... reports a successful installation however the package php7.0-phalcon cannot be found.

After a quick dig i found the URL in /etc/apt/sources.list.d/phalcon_stable.list, https://packagecloud.io/phalcon/stable/ubuntu is a 404.

I manually downloaded php7.0-phalcon_3.0.4-1_amd64.deb and it worked like a charm.

please remove "ius" from release field

First off, thanks for choosing to base your phalcon RPM packages off of the IUS php70u packages. We love seeing users and developers benefit from our work.

I do have one small request. Please remove the "ius" string from your release field.

%global repo_vendor ius
Release: 1.%{repo_vendor}%{?dist}

Naming the packages with the same %{php_base} as ours is appropriate, but including "ius" in the release field is misleading. Today a user came to our IRC channel asking questions about php70u-phalcon. I would suggest setting repo_vendor to phalcon or removing it entirely.

Build for Ubuntu 18.04 LTS Server

Hi guys,

There's a new LTS release for Ubuntu.

I tried the package cloud installer which obviously doesn't work.

Are you planning on creating a package for 18.04?

Thanks!

Please support Debian Jessie with PHP 7.0

Hi,

Can you add a new repository for Debian Jessie with PHP 7.0?

Dotdeb backports packages for Debian. These packages respects Debian file organization. It should be very easy (nothing to do? :)) to port.

Cheers!

HanXHX

Phalcon extension unloaded after system upgrade

So, I am using Phalcon 3.0.0 with PHP 7 on Ubuntu 16.04.1 on DO. Everything worked correctly until today, when I ran apt update and upgrade on Ubuntu. After the process finished, Phalcon plugin seems to be unloaded, since there is no phalcon entry in phpinfo(), also giving the:

Fatal error: Uncaught Error: Class 'Phalcon\Config' not found in /var/www/example.com/app/config/config.php

I am using https://packagecloud.io/phalcon/stable/ubuntu xenial/main for phalcon repo

Here is what got upgraded:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-4.4.0-62 linux-headers-4.4.0-62-generic linux-image-4.4.0-62-generic
The following packages will be upgraded:
  apport apt apt-utils bind9-host bsdutils cloud-init cloud-initramfs-copymods cloud-initramfs-dyn-netconf cloud-initramfs-growroot dbus dnsutils grub-common grub-pc grub-pc-bin grub2-common ifupdown
  initramfs-tools initramfs-tools-bin initramfs-tools-core isc-dhcp-client isc-dhcp-common krb5-locales libapache2-mod-php7.0 libapt-inst2.0 libapt-pkg5.0 libbind9-140 libblkid1 libc-bin libc-dev-bin libc6
  libc6-dev libdbus-1-3 libdns-export162 libdns162 libfdisk1 libglib2.0-0 libglib2.0-data libgnutls-openssl27 libgnutls30 libgssapi-krb5-2 libhogweed4 libisc-export160 libisc160 libisccc140 libisccfg140
  libk5crypto3 libkrb5-3 libkrb5support0 liblwres141 liblxc1 libmount1 libnettle6 libnss-myhostname libpam-systemd libprocps4 libsmartcols1 libssl-dev libssl-doc libssl1.0.0 libsystemd0 libudev1 libuuid1
  libxpm4 linux-headers-generic linux-headers-virtual linux-headers-virtual-lts-xenial linux-image-virtual linux-libc-dev linux-virtual linux-virtual-lts-xenial locales lxc-common lxcfs lxd lxd-client mount
  multiarch-support nano ntfs-3g open-iscsi openssl overlayroot php7.0 php7.0-cgi php7.0-cli php7.0-common php7.0-curl php7.0-dev php7.0-gd php7.0-json php7.0-ldap php7.0-mbstring php7.0-opcache php7.0-pgsql
  php7.0-phalcon php7.0-readline php7.0-soap php7.0-sqlite3 php7.0-xml php7.0-xmlrpc php7.0-zip procps python-cryptography python-software-properties python3-apport python3-cryptography python3-distupgrade
  python3-problem-report python3-software-properties python3-update-manager snap-confine snapd software-properties-common systemd systemd-sysv tzdata ubuntu-core-launcher ubuntu-release-upgrader-core udev
  unattended-upgrades update-manager-core update-notifier-common util-linux uuid-runtime vim vim-common vim-runtime vim-tiny
128 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 93.3 MB of archives.
After this operation, 155 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y

Get: https://packagecloud.io/phalcon/stable/ubuntu xenial/main .....

Here is the full upgrade log: http://pastebin.com/FDKd9yQw

Here is full phpinfo: https://image.ibb.co/duf7rF/phpinfo.jpg

I tried removing and installing package manually but it didn't work.

Support ubuntu 20.04

Following the install instructions for ubuntu results in an error: E: The repository 'https://packagecloud.io/phalcon/stable/ubuntu focal Release' does not have a Release file.

Solution: Add support for Ubuntu 20.04 LTS on packagecloud.io

Workaround: compile from source.

Problem with installing phalcon with package cloud into docker container

Hi,

I'm trying to install phalcon into the latest php:7.3-fpm container from dockerhub and I'm getting and error.

ERROR:

+ apt-cache search phalcon
+ apt-get install -y php7.3-phalcon=3.4.5-1+php7.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php7.3-phalcon : Depends: phpapi-20180731
E: Unable to correct problems, you have held broken packages.

DOCKER RUN COMMAND

docker run -it php:7.3-fpm /bin/bash -cx  "apt-get -y update ; apt-get install -y  curl openssl ; curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh | bash ; apt-get update -y ; apt-cache search phalcon ; apt-get install -y php7.3-phalcon=3.4.5-1+php7.3"

Debian package doesn't trigger a reload on install/upgrade

From @billux on March 30, 2018 15:7

Expected and Actual Behavior

After installing or upgrading php7.0-phalcon Debian package, the package should trigger the reload of php-fpm or Apache (if mod_php is used) as others PHP packages do.

I'm not an expert in Debian packaging so I compared the php7.0-phalcon package with another PHP extention package (php7.0-intl) and I noticed that the debian/triggers (related manpage) file is missing in php7.0-phalcon.

Here is with the content of the file from php7.0-intl package :

activate-noawait /etc/php/7.0/apache2/conf.d
activate-noawait /etc/php/7.0/apache2filter/conf.d
activate-noawait /etc/php/7.0/fpm/conf.d

Details

  • Phalcon version: (php --ri phalcon)
# php --ri phalcon

phalcon


Web framework delivered as a C-extension for PHP
phalcon => enabled
Author => Phalcon Team and contributors
Version => 3.3.2
Build Date => Mar 10 2018 14:43:15
Powered by Zephir => Version 0.10.7-2917ebe8ae

Directive => Local Value => Master Value
phalcon.db.escape_identifiers => On => On
phalcon.db.force_casting => Off => Off
phalcon.orm.cast_on_hydrate => Off => Off
phalcon.orm.column_renaming => On => On
phalcon.orm.disable_assign_setters => Off => Off
phalcon.orm.enable_implicit_joins => On => On
phalcon.orm.enable_literals => On => On
phalcon.orm.events => On => On
phalcon.orm.exception_on_failed_save => Off => Off
phalcon.orm.ignore_unknown_columns => Off => Off
phalcon.orm.late_state_binding => Off => Off
phalcon.orm.not_null_validations => On => On
phalcon.orm.update_snapshot_on_save => On => On
phalcon.orm.virtual_foreign_keys => On => On
  • PHP Version: (php -v)
# php -v
PHP 7.0.28-1~dotdeb+8.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.28-1~dotdeb+8.1, Copyright (c) 1999-2017, by Zend Technologies
  • Operating System: Debian jessie
  • Installation type: installing via package manager
  • Server: Nginx + php-fpm

Copied from original issue: phalcon/cphalcon#13338

Missing packages for Debian wheezy

Expected and Actual Behavior

Installing Phalcon on a server running Debian GNU/Linux 7.11, codename Wheezy

Provide minimal script to reproduce the issue

Following guide on official site: https://phalconphp.com/en/download/linux

cat phalcon_stable.list

# this file was generated by packagecloud.io for
# the repository at https://packagecloud.io/phalcon/stable

deb https://packagecloud.io/phalcon/stable/debian/ wheezy main
deb-src https://packagecloud.io/phalcon/stable/debian/ wheezy main

Install for PHP 5.6.x

apt-get install php5-phalcon
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package php5-phalcon

Results:
https://packagecloud.io/app/phalcon/stable/search?filter=all&q=&dist=wheezy

Details

  • Phalcon version: (none yet)
  • PHP Version: (5.6.30)
  • Operating System:
Distributor ID:	Debian
Description:	Debian GNU/Linux 7.11 (wheezy)
Release:	7.11
Codename:	wheezy
  • Installation type: installing via package manager
  • Zephir version (if any): n/a
  • Server: Nginx | Apache | Nginx
  • Other related info (Database, table schema):

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.