configuration - Salt-Stack / Vagrant : php 5.5 on ubuntu 12.04 -


by using file below, able 'php 5.3.10-1ubuntu3.8'. need @ least php 5.4 , php 5.5.

can me out? i've been looking around hours , seems if not topic talked lot.

thanks in advance.

php.sls

php5-fpm:   pkg:     - installed   service.running:     - enable: true     - watch:       - file: /etc/php5/fpm/pool.d/www.conf     - require:       - pkg: php5-fpm       - pkg: php5-mcrypt       - pkg: php5-curl       - pkg: php5-mysql       - pkg: php5-cli   file.managed:     - name: /etc/php5/fpm/pool.d/www.conf     - source: salt://packages/php/www.conf     - user: root     - group: root     - mode: '0640'     - require:       - pkg: php5-fpm 

just figured out can use repos!

php5_ppa:   pkgrepo.managed:     - ppa: ondrej/php5  php5-fpm:   pkg.latest:     - refresh: true     - require:       - pkgrepo: php5_ppa   service.running:     - enable: true     - watch:       - file: /etc/php5/fpm/pool.d/www.conf     - require:       - pkg: php5-fpm       - pkg: php5-mcrypt       - pkg: php5-curl       - pkg: php5-mysql       - pkg: php5-cli   file.managed:     - name: /etc/php5/fpm/pool.d/www.conf     - source: salt://packages/php/www.conf     - user: root     - group: root     - mode: '0640'     - require:       - pkg: php5-fpm 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -