Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow performance with sympfony #400

Open
BoutiquesInternet opened this issue Nov 15, 2018 · 3 comments
Open

Slow performance with sympfony #400

BoutiquesInternet opened this issue Nov 15, 2018 · 3 comments

Comments

@BoutiquesInternet
Copy link

Hi!,

My request is certainly not a problem related to the scotch box but I am desperate.
I installed prestashop 1.7 (that has symfony) and the loading speed exceeds 20 seconds :(

Here is my vagrantfile
`# -- mode: ruby --

vi: set ft=ruby :

Vagrant.configure("2") do |config|

# /*=====================================
# =            FREE VERSION!            =
# =====================================*/
# This is the free (still awesome) version of Scotch Box.
# Please go Pro to support the project and get more features.
# Check out https://box.scotch.io to learn more. Thanks

config.vm.box = "scotch/box"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "scotchbox"
#config.vm.synced_folder ".", "/var/www", :nfs => {:mount_options => ["dmode=777","fmode=666"]}
config.vm.synced_folder "./", "/var/www", type:"nfs", mount_options:["nolock,vers=3,udp,noatime,actimeo=1"]

config.vm.provider "virtualbox" do |v|
    v.memory = 2048
    v.cpus = 2
end

end
`

@stanley87
Copy link

@BoutiquesInternet , i am currently try to setup symfony application using scotch-box, can your side share how to setup sympony application ? thanks in advance

@kschipulring
Copy link

kschipulring commented Jan 1, 2019

Well, one thing that I am personally noticing is that the free version of Scotchbox has PHP configured with 128 megabytes of ram, which is a completely separate issue from how much ram is provisioned to Scotchbox/Vagrant/VirtualBox.

I personally do not use Symfony, but I do use Laravel, which is related and uses Symfony as its base framework. Anyway, it seems like you will also have to configure the 'memory_limit' parameter of the php.ini file and give it a higher capacity. I am doing this for my mock Magento 2 installation. (yes, I know it is not either Symfony or Laravel, but roughly based on Zend)

@reddingwebpro
Copy link

Unfortunately, Scotchbox is no longer maintained, and it is using an outdated Ubuntu release which is why you're having problems. Last year I released an updated version called CongacBox which was just updated again today... I use it for Symfony 5 development and it works great. You can find it on GitHub at https://github.com/reddingwebpro/cognacbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants