I have installed the zend framework on ubuntu 8.04 by this article. and found that it is the 1.5 version of zf , but i want to install version 1.11. now how can i do that .
I think first i need to uninstall the old version. and then install new version.
oops i was forget to run command sudo apt-get update
Jeremy Kendall has a great post on his blog about setting up ZF on Ubuntu:
From Zero to Zend Framework Project in 10 Minutes
It discusses file locations, symlinking, virtual hosts, and even gets the ZF command-line tool working with .bash_aliases. Very clear, very straightforward.
Related
I'm quite beginner with TYPO3 and I have to migrate web from TYPO3 4.7 to TYPO3 8.6. I started with reading manuals and trying to create for example "provider extension" but it doesn't work. I also read that there are many changes in version 8.x so I can't follow fluid manuals which are for older versions.
Can you please give me an advice how to start? or any step-by-step manual?
Thank you
The basic concept of TYPO3 remains the same, even between LTS versions. There are mostly small changes in the area of basic TYPO3 usage.
I recommend you to go through the basic tutorials using TYPO3 8.7 (the current LTS version), even they are not yet updated for it:
https://docs.typo3.org/typo3cms/Tutorials.html
In case you also want to start to develop extensions, I recommend to read: https://docs.typo3.org/typo3cms/Books/Index.html
Last but not least you mentioned you would like to upgrade from 4.7 to 8 LTS. This has to be done over the LTS versions, so you have to go from 4.7 to 6.2 to 7.6 to 8.7. For this I recommend you to read:
https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/Index.html
Please be aware that there were a lot of extension which worked in 4.7, but do not have a new version or a successor with a migration path.
From what I've heard you can't upgrade from 1 version to another at once. First you have to upgrade to 5, then 6 then 7 then 8.
So download extentions for that version, run migration and database analyser each time. At the end you could still have some errors ( I usually do... ) so you'll want to fix those manually or replace the broken extentions..
Pro Tip:
If you're working on Linux (which I would recommend) than you could download each Typo3 version into a folder and create a symlink to the Typo3 installation itself.
ln -s /var/www/symlinks/latest_76 typo3_src; ln -s typo3_src/index.php; ln -s typo3_src/typo3;
So in the symlinks folder I have the Typo3 installations (downloaded from their website) and renamed verison 7 to latest_76. You just run that command inside/var/www/websites/yourwebsite
Once 1 migration is done just delete the symlink and create a new one for the next version.
I'm working on a Joomla 1.5 website, which was developed with PHP 5.3. Now I'm having some incompatibilities issues with some components.
My machine runs Ubuntu 16.04.
The version of Joomla is 1.5.
PHP versions are 5.6 and 7.0 (apache is configured to run PHP 5.6)
I can't find a way to download and install it. The apt command only shows 5.5, 5.6, 7.0 and 7.1 PHP versions.
Can anyone help me?
I have joomla 1.5 on a website running. My config shows that PHP 5.4.16 is in use. Therefore, why dont you try it with PHP 5.4 and get it from the download page:
http://php.net/releases/
If you have troubles to install it on your computer. Take a look here:
https://serverfault.com/questions/353550/how-to-install-old-php-version
The link explains how you install a old php version on linux. Btw.: in the link it is only explained how to replace a PHP version. But it is possible to run different versions on a server.
I read that it was impossible to install yii2 on a standard hosting platform (redhat, centos...) without deleting the AssetManager.
And install is lock with it. Access refused, permission denied.... Despite the rights 777 on the assets folder.
And in default way, hack code, disable control like (is_writable) to allow continued the install process to congratulation, but without css ....
But I can't modify all the code , to use it?
They're a lot of issue about assetmanager.
I tried yii1 few years ago, and it was wonderful framework... But everything is permitted under windows. Someone tried to install it under redhat, fedora, Centos.
There is a specific configuration ... Or yii2 not builted and designed for theses environments ?
Because i found tuto about laravel 5.1, Zend 2 since 2013... But nothing about Yii2, and only one... about Yii1... on this hosting OS.
Yii2 is ready for professionnel standard hosting environnement or is just for hobbist with Wamp under Windows ? (Online tuto is in majority on this OS, with Wamp...).
And maybe for that, it's work fine... like i test under windows
Thank you for the links. I had read
Finally I found the answer, which is never explained in the tutorial above (because often disabled and the module is not present in Ubuntu or Debian)
It's SELinux security. To install Yii2 there are the following commands:
semanage fcontext -a -t httpd_sys_rw_content_t 'each folder writable'
setsebool -P httpd_unified 1
Without this open rignt, you can't install Yii2
All what Yii 2.0 requires is a Web server supporting PHP 5.4 or above.
( currently not PHP 7 due to reserved word conflict that will be solved in future releases )
And yes 5 stables versions ready for production has been released, currently Yii 2.0.5
Here is a quick example about how to install Yii2 with CentOS6 which has nothing different from what is already described in the official docs.
If you know any CentOS related issue please post them and we will discuss answers, because sincerely i just did few searches and didn't found any besides few wrong apache or nginx configurations or missing packages like this CentoOS7 case. Otherwise if you need a pre-configured & working VM with Yii2 and CentOS 7, then you may check this vagrant repo.
PHP7 is gaining a lot of attention lately, promising great performance and a more mature language. Version 7.0.0-alpha is out. We are just starting to rework our core application, which uses MongoDB as data source.
I am wondering if there is any development underway for a PHP7 compatible MongoDB extension? How far is it? Is there any alternative?
Version 1.1.1 of the new "mongodb" extension supports PHP 7, as does the complementary userland library.
AFAIK, there's no compatible extension yet, but I think Hannes '#bjori' Magnusson - who works at MongoDB - wanted to work on it.
The old Mongo extension for PHP is not going to be supported in PHP7. Instead, there is a new MongoDB extension which is using libmongo under the hood and is a more "bare bones" approach that has the goal of being easy to maintain and easy to port to other environments such as HHVM. It also aims to work with any version down to PHP 5.4.
To make the new extension easier to work with, there is an official php library available on Packagist. This library does not aim to be a drop-in replacement for the old Mongo extension. It should be noted that at the time of writing, the library doesn't implement all the features available in the old Mongo extension, such as GridFS. Hopefully we'll see a non-beta release of the extension and library soon with all the available features.
Should be relapse today with version: 1.1.0
If somebody don't have enough time to play with new extension, you can always try php library compatible with old API.
https://github.com/mongofill/mongofill
Here it is a beta Version:
pecl install mongodb-beta
You need some software to compile and install:
yum -y install php-devel cyrus-sasl-devel openssl-devel gcc
echo extension=mongodb.so >/etc/php.d/mongodb.ini
composer require mongodb/mongodb
everything ok
I use CentOS 7 with PHP 7.0.1 und nginx 1.8 und Mongodb 3.2
for Windows:
http://windows.php.net/downloads/pecl/releases/mongodb/1.1.1/
pecl install mongodb
That should do it.
Php 7 mongo db driver installtion
pecl install mongodb
adding extension on "php.ini"
extension=mogodb.so
Install the mongodb driver using composer on public_html directory
$ composer require alcaeus/mongo-php-adapter
(or)
$ php composer.phar require alcaeus/mongo-php-adapter
add at the top of index.php
require_once 'vendor/autoload.php';
I just upgraded to MAMP Pro 2 and have noticed that they are no longer supporting Zend Optimizer due to Apache 64bit or something along those lines.
Anyways, I have a website that needs it and I have no idea of how to go about installing Zend Optimizer on MAMP 2 and just did a tutorial which made Apache break and stop working after I ran some command in terminal so I had to reinstall my MAMP set up.
I am currently running PHP 5.2.17.
Any help would be great :-)
Since your application also requires an old version of PHP, the easiest solution would be to install the previous version of MAMP 1.9 which includes PHP 5.2.17 and Zend Optimizer 3.3.9.
The older version of MAMP is 32-bit only but should still run fine under Lion/Mountain Lion (or at least I'm not aware of any obvious issues aside from not including 64-bit in the app bundle).
It's working! And also on the OS X Mountain Lion!
Requires PHP 5.2.17
Zend Optimizer for Mac OS X
Here step-to-step I helped myself with installing Zend Guard Loader. I also do the same processes for Zend Optimizer. I hope you find it helpful.
Solutions I've written