Coder Social home page Coder Social logo

Comments (7)

frastel avatar frastel commented on July 22, 2024

This may be the problem of the shared folder and not of the box itself. Mounting the folder with NFS solves the problem but this is not possible on windows hosts. Big projects should not be loaded within the shared folder. Install the project in another folder directly in the box (e.g /var/www/myproject if /vagrant is your shared folder) and let apache point to this folder. Page performance should be noticeable increase.

from puphpet.

jtreminio avatar jtreminio commented on July 22, 2024

This may also be due to Xdebug being enabled in session and expecting a connection to be made.

Maybe we can do something about that...

from puphpet.

Surreal9 avatar Surreal9 commented on July 22, 2024

Ah, thanks for the info. It did turn out to be a result from xdebug, I believe the setting "xdebug.remote_autostart" specifically, from etc/php5/apache2/php.ini

Once I set that to 0, things started working. I also notice that the 'in-vm' phpmyadmin code does run about 40% quicker vs my shared-folder code, so frastel I see what you mean.

from puphpet.

Surreal9 avatar Surreal9 commented on July 22, 2024

Well, this issue for me is solved since I know how to fix it in the resulting VM, but I guess ultimately it's still a potential issue in the code, where I'm not terribly sure how to fix it.

from puphpet.

frastel avatar frastel commented on July 22, 2024

@jtreminio We should deactivate xdebug.remote_autostart by default. Newbies will be getting very confused when this mode is enabled and they will not know why the page is so slow.
I accidentally enabled it during my latest tests and it is really incredible slow when you are not prepared for it :)

from puphpet.

Surreal9 avatar Surreal9 commented on July 22, 2024

I noticed the Puphpet web page says remote_autostart should be set to 0 by default, but when I download a new manifest /etc/php5/apache2/php.ini still has it turned on by default.

from puphpet.

Surt avatar Surt commented on July 22, 2024

yes, remote_autostart is still turned on by default.
I had problems and, as a newbie, I had to search for information until I reach this post.

from puphpet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.