Creating project in Phalcon 3.2 is php version specific i.e. php 5.6 or php 7.0 - phalcon

In short : So if I install php5-phalcon (3.2) on local machine with php 5.6, can I easily move code to machine with php7.0 or is code version specific?
Detail scenario :
Local machine has following configuration :
Ubuntu 14.04
PHP 5.6
Phalcon 3.2.2 (installed using command php5-phalcon)
Phalcon devtools 3.2.5
Docker Image / Server Image has following config :
Ubuntu 16.04
PHP 7.0
Phalcon 3.2.2 (installed using command php7.0-phalcon)
Phalcon devtools 3.2.5
My concern here is that if I create skeleton and work on that using phalcon at local machine, will those same files and skeleton work on Docker/Server machine.

Yes. Phalcon 3.2.2 is supported on both PHP 5.6 and PHP 7.0. So either of your machines will work as expected. However, I'll advice that you run the same version of PHP and Phalcon your environments to prevent inconsistencies.

It's like any other php extension in the sense that it is built for your current version of php.
You just don't install it using pecl.

In simple words, it will work with both php version irrespective where I write code. In details answer can be found : https://github.com/phalcon/phalcon-devtools/issues/1106

Related

Zabbix Agent installation on OpenSuse 13.2 with yum fails

when installing Zabbix v3.4 I get the following error message: http://imgur.com/a/xo3tg
Looks like an error in the yum repository. Do you have any suggestions for solutions or something similar?
Best regards
As you can see, there is just 2.2 version of Zabbix (agent, server, proxy, etc.) in that repository.
It seems Zabbix 2.2 (LTS) is the latest version supported by OpenSUSE using its repositories.
By the way, you can install older versions of Zabbix-agent (like 2.2) sending data correctly to newer server/proxy versions (like 3.0 or even 3.2).
I think the major item you will miss with using zabbix-agent older than 3.X is encryption. Other major features work very good.

Centos 6.6 Upgrade PHP to 5.4

I'm trying to upgrade my php version (5.3.3) to a on a Centos 6.6 to get a 5.4's php's version (I'm a noob on server's configuration, in fact I'm a developer).
I've followed this tutorial http://sharadchhetri.com/2015/04/04/install-php-5-4-on-centos-6-with-yum-command/, I've followed what the first comment said (because It add MySql support).
My problem is that when I make this command line "source /opt/rh/php54/enable", I've php 5.4 on a cli context but not when I asked for a php script with my browser (making a basicallly phpinfo();).
I'va tryied as they said "To make PHP 5.4 available to all user ..." but nothing change.
I'm looking everywhere and I can't find any solution. Anyone has an idea ?
Regards,
Zé.
Notice: PHP 5.4 have reached its EOL (End of Life), so I highly recommend you upgrade to 5.5 or 5.6.
Tips: use the remi's repository configuration wizard: http://rpms.remirepo.net/wizard/
For the one who have the same problem, I've solve it by installing php 5.4 with remi's repository : https://www.zerostopbits.com/how-to-upg ... entos-6-7/
for information, I also had a problem with some package version, I have to change the remi's repository priority as explained https://wiki.centos.org/PackageManageme ... Priorities on "5. Specific Configuration"
Regards,
Ze.

update mono on ubuntu

I had an ubuntu server with mono 2.10.8 apache and mod_mono
I wanted to update mono at ver 3.2.3 so I downloaded the source from github and compile it.
Everithing seems ok in fact from the terminal if I type mono --version I get 3.2.3
but if I try to access a website on the server (when I get an error page) it says 2.10.8.
What's wrong?
Note that I have restarted apache after the update.

PHP, Apache, MySQL old version installation

I need to install PHP 5.1.6, MySQL 5.0.95 and Apache/2.2.3 on my computer. Where could I get these versions? I tried to install Apache 2.3.3 on Wamp. Problem is it install but it doesn't want to run with PHP 5.1.6. When I try to select PHP 5.1.6 version I get the following message:
This version doesn't seem to be compatible with your actual Apache version.
What can I do to make it work? Thank you
Why not trying to install them separately ?
Apache 2.2.22 (can't find the 2.2.3): http://mirror.mkhelif.fr/apache//httpd/binaries/win32/
PHP 5.1.6: http://museum.php.net/php5/
MySQL 5.0.96 (can't find the 95): http://dev.mysql.com/downloads/mysql/5.0.html
I found out that it is problem combining that PHP version with that Apache version on Windows OS. I've solve the problem by using Apache 2.0.x

Getting "not a dynamic executable" running "ldd mod_wsgi.o" on CentOS 5.5

I've installed Python 2.7.1 on 64-bit CentOS 5.5 and compiled mod_wsgi against 2.7.1. I'm building a DJango web application and need Python modules from 2.7 (CentOS built-in version of Python is only 2.4.3 and sorely lacking). I've basically followed the procedure on this great link:
http://willsani.com/2011/03/02/centos-5-5-x86_64-install-python-2-7/
So, I've now got a working version of Python 2.7.1 installed in /opt/python2.7.1. But, when I install my mod_wsgi.o module in Apache, Apache fails to start with:
Cannot load /etc/httpd/modules/mod_wsgi.so into server:
/etc/httpd/modules/mod_wsgi.so: only ET_DYN and ET_EXEC can be loaded
So, I ran the ldd command against my version of mod_wsgi.o and, instead of seeing the expected list of shared libraries, I see:
[root#ac5w15tps01 modules]# ldd mod_wsgi.o
not a dynamic executable
Currently, my web application is running with mod_wsgi working fine against Python 2.4.3. Someone else set that up so not sure if they needed to do anything special - I inherited the setup. I've read everything related to building and installing mod_wsgi from http://code.google.com/p/modwsgi/ and searched the web for answers. Can't see to find anything on this error.
Any help would be greatly appreciated!