Comments (7)
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.
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.
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.
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.
@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.
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.
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)
- Failed to start The PHP 5.6 FastCGI Process Manager
- Windows 10 provision error
- Error: While executing gem ... invalid option: --no-rdoc HOT 5
- Error: Evaluation Error: Error while evaluating a Resource Statement
- Can't start vagrant box: "gpg: keyserver receive failed: keyserver error" HOT 1
- Apache redirects to https HOT 2
- Centos7 partial failure HOT 1
- elasticsearch version is wrong
- Mariadb install failed HOT 1
- elasticsearch 2.4.6 not installed
- rsync auto not work
- synced_folder: few projects
- Failed to create the host-only adapter HOT 3
- r
- PGAdmin 4 - not able to connect through SSH Tunneling HOT 1
- Do not have permissions to write to a file HOT 1
- PHP not working in fresh bento/ubuntu-16.04 box HOT 5
- Finite number of databases allowed
- puphpet.com is offline HOT 16
- Install Puphpet site en development computer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puphpet.