- changed title to Update PHP Cartridge to php 5.6
Upgrade PHP Cartridge to php 5.6
之前我提到的GD库,今天也有用户提到:
这是用户应用的网址: http://violin-host.app.cnpaas.io
Needed libraries:
- PHP:GD
- Freetype
- Imagemagick
- PDO_MYSQL
Comments (22)
-
-
- changed title to Upgrade PHP Cartridge to php 5.6
-
@quasimo 安排了自己的开发工作。最快要 5月23日才能完成这事。 会和
#148一起做 -
- changed milestone to Jun 5
-
@quasimo 可否列一下用户要求过要加的 php 库,环境?
-
reporter - GD
- php-mcrypt
- php-imap
-
- changed milestone to 2015.06.05
-
- changed milestone to 06.05
-
- changed milestone to Future
- changed component to OO-Cartridge
-
- changed milestone to 07.03
-
- changed milestone to 06.26
-
-
assigned issue to
- edited description
-
assigned issue to
-
- changed milestone to 07.10
-
-
There are two official openshift origin cartridges development doc:
-
This is the previous CNPaaS php 5.5 / 5.6 cartridge I am still half-way working on. You could choose to build on top of it.
- I have been learning from this boekkooi nginx + php cartridge
-
To view the current installed cartridge, add/remove a custom cartridge, I wrote some scripts to do them. All in the cnpaas-openshift.
-
To view current cartridge,
vagrant ssh
into the openshift VM, then runcnpaas-openshift/bin/view_cartridges
-
To add a cartridge, run
cnpaas-openshift/bin/add_cartridge <path_to_cartridge_dir>
you could try it with CNPaaS php cartridge
-
To remove a cartridge, run
cnpaas-openshift/bin/remove_cartridge <cartridge name> <app version> <cartridge version>
To know the three parameters, run
oo-admin-cartridge -a list
-
-
-
reporter 汇总一下目前接触到的需求:
- GD
- MCrypt
- php5-json
- Freetype
- Imagemagick
- PDO_MYSQL
- Memcache
-
測試 wordpress 相容性
-
cnpaas-oo-cartridge-php
內建尚欠支援:- Imagemagick
- Memcache
-
Mysterious redirection problem:
Development
curl -v http://php01-liahsheep.app.cnpaas.localhost/wordpress #=> Location: http://php01-liahsheep.app.cnpaas.localhost:8080/wordpress/ curl -v http://php01-liahsheep.app.cnpaas.localhost/wordpress/ #=> Location: http://php01-liahsheep.app.cnpaas.localhost/wordpress/index.php/wordpress/wp-admin/setup-config.php
Staging
curl -v http://php01-liahsheep.app.staging.cnpaas.io/wordpress #=> Location: http://php01-liahsheep.app.staging.cnpaas.io:8080/wordpress/ curl -v http://php01-liahsheep.app.staging.cnpaas.io/wordpress/ #=> Location: http://php01-liahsheep.app.staging.cnpaas.io/wordpress/index.php/wordpress/wp-admin/setup-config.php
However, the bug in
#200does not exist. Still investigating... -
-
In
#200, I fix the apache config at node host/etc/httpd/conf.d/openshift/<openshift_gear_ID>/<openshift_gear_cartridge_config>
. Does the config file look fine to you? -
Another thing is, I believe php5.6 is using nginx as the webserver. So there is a redirection of:
(http-request) -> node apache -> gear nginx -> gear php. So check the chain is working fine on every level.
My two cents. May not be the real issue
-
-
- @liahsheep 请测试 Laravel
- @quasimo 请测试 Typecho
-
-
- changed milestone to *00.P2*
Pulled up to P2
- Log in to comment
with GD library