marmaladede / development-vm Goto Github PK
View Code? Open in Web Editor NEWThis repository includes a generic VM to develop applications in PHP.
This repository includes a generic VM to develop applications in PHP.
The Host Id in the xdebug php config is not set and must be added manually right now.
This is needed for scss compilation in symfony2
fix:
sudo apt-get install ruby-dev
sudo gem install compass
Currently bind-address = 127.0.0.1 is configured via Puppet in /etc/mysql/my.cnf
How can i change this? We need to connect to MySQL from the Host-OS for example to be able to use HeidiSQL.
It would be nice to integrate mailhog
(https://github.com/mailhog/MailHog) or install a roundcube
(https://roundcube.net/) and deliver the emails only locally for mail-testing.
the ioncube loader priority prefix for ioncube.ini (in /etc/php5/apache2/conf.d/) was set to 20 instead of 00
Environment:
Windows 10
Vagrant 1.8.1
Virtualbox 5.0.16
Box Setup:
PHP 5.6 + zendguard + ioncube
The installation procedure of marvel plugin for Easticsearch 2.x has changed since 1.x.
If you use Elasticsearch 2.x the marvel plugin is not installed during vm provisioning.
Opcache doesn't work even if enabled in config because of:
$ cat /etc/php5/mods-available/opcache.ini
zend_extension==
opcache.enable=1
opcache.cli_enable=1
There's something wrong with the template or param name.
If your application is "ssl only" you'll need this to be able to develop and test. a self signed cert should be fine.
Could we add those two Plugins to the box please.
Error: Could not find dependency Package[php5] for File[/etc/php/mods-available//zendguard.ini] at /tmp/vagrant-puppet/modules-71137ce4f05df0cecedd75488ca19905/vmsetup/manifests/zendguardloader.pp:19
This is because of a change in modules/vmsetup/manifests/php.pp. Packages are now referenced with a variable. This change has appeared in 7c8053a
package {
[
"php-pear",
"$php_prefix",
"$php_prefix-common",
"$php_prefix-cli",
"$php_prefix-curl",
"$php_prefix-dev",
"$php_prefix-gd",
"$php_prefix-intl",
"$php_prefix-mcrypt",
"$php_prefix-recode"
]:
ensure => latest,
notify => Service["httpd"],
require => [
Exec["apt_update"],
Package["httpd"]
]
}
But the require in zendguardloader.pp and ioncubeloader.pp is still hardcoded to "php5":
file { "$conf_path/zendguard.ini":
ensure => present,
content => "; priority=99
zend_extension=$mod_path/ZendGuardLoader.so
zend_loader.enable=1
zend_loader.disable_licensing=0",
notify => Service["httpd"],
require => [
Package["php5"],
File["$mod_path"]
]
}
It would be helpful if you can better describe how to use this VM and for example how to copy files from host system to the develop vm.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.