I am doing a project on Laravel. I'm trying to make a simple system that uses cache focused on memcache. When I started studying, I checked Laravel site first and then I found that using the Memcached cache requires the Memcached PECL package to be installed.
For the installation purpose you can go to the path where you have copied the memcache.exe. and double click to the file, memcache is installed, now just add line net start "memcached server" and your memcache is enabled.
Wkhtmltopdf is an open source simple and much effective command-line shell utility that enables user to convert any given HTML (Web Page) to PDF document or an image (jpg, png, etc). It uses WebKit rendering layout engine to convert HTML pages to PDF document without losing the quality of the pages. It is really very useful and trustworthy solution for creating and storing snapshots of web pages in real-time.
As windows need the certificate file in .pfx format which will contain the both certificate and the key file and the CA file for the installation, so we need to convert the created files to .pfx format, this can be done with the below command.
Memcached is originally a linux application, but since it is open-source, it has been compiled for windows. There are two major sources for the pre-built windows binary: Jellycan and Northscale, and both versions can be used. The following are the download links for the memcached windows binaries:
In versions earlier than 1.4.5, memcached can install itself as a service. However, the ability to run memcached as a service is removed since version 1.4.5. Therefore, the installation steps are divided into two categories, part A for memcached prior to version 1.4.5. and part B for memcached version 1.4.5 and later.
To change the configuration of memcached, run regedit.exe and navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\memcached. Suppose you wish to increase the memory limit of memcached, edit the value of ImagePath to the following:
In version 1.4.5 or later, memcached cannot run as a service. It must be started as a normal process using the task scheduler. To configure the memcached process to run automatically every time windows start, run a command prompt with elevated privileges, and type the following:
Vagrant is a command line tool to manage virtual machines. Puppet is a command line tool to install software on virtual machines. PuPHPet is an unpronounceable GUI tool to help take the pain out of working with both!
Being a PHP developer has a much lower barrier to entry than Python, Ruby. Only Javascript is easier to start with. Tools such as XAMPP, MAMP, Homebrew, etc, make installing a basic LAMP stack on your computer extremely easy.
If PEAR is no problem for you, think about how involved tools like memcached, APC, Gearman, etc, are to install on a proper server and then think about the steps that may require to be different on a non-server OS.
Nothing makes me go into table-flipping mode faster than this phrase. Eliminate inconsistencies between your development environment and your production environment by mimicking prod as close as possible.
It does not execute lines in order. It will randomly choose a path through your instructions and try to do things as it wants (kind of). The way you write Puppet instructions are with depend flags. For example, if you want to install PHP PEAR, you have to tell Puppet that PEAR depends on PHP. Before you set up an Apache vhost, you have to ensure that Apache itself is installed.
PuPHPet is a web-based GUI to help you configure a Vagrant/Puppet virtual machine in seconds with the most common options. You simply choose your settings, check a few boxes and download a generated zip file containing your customized Vagrantfile and Puppet manifest, along with the required Puppet modules.
Upcoming features include things like deploying to different hosting providers like Digital Ocean and Amazon, installing non-PHP tools like Ruby, Python, Node.js, etc, and adding more and more PHP-related features. Eventually it may even be able to write your code for you.
I'm talking about development mode, I know that in production with cache enabled and other things the website can be smooth. But when I'm working with an extension or layout problem I need to be removing static files, clearing cache, etc.
What is happenning exactly?Usually M2 responds okay, slow but okay, about 5-10s to load the pages, but sometimes (more usually than sometimes) it just stucks forever! sometimes is the first page and sometimes are the css,js,html files but always the problem is with TTFB.
What am I asking exactly?Is this normal? you guys work with this timing? I commented this with some colleagues and we just don't believe, I have to be working like this? I sometimes despair of waiting all the time watching the screen...
If someone asks me for show him a test, like creating a new product or something like that he just freaks out... Creating a new order, filling the fields and every field executes a js that lasts for 5-6s...
I found that developer mode disable everything - which was overkill. There's certain aspects I do wish to cache, such as translation. Thankfully in env.php you can still set which caches to use specifically:
Just want's to share my personal experience, The solution i came up was to install Xampp with php version 7.0 as Magento is not fully compitable with higher version of Php. I tried Bitnami Image listed in answer but doesn't worked as i was expecting Xampp 7.0.23 Download Link
I am using mac I tried different tools to install magento (xampp,Mamp,vagrant etc) Here i am listing it by the fastest at top.I am discussing about magento development on local environment not running the live website on server.
Go to System > Tools > Cache Management in admin panel and scroll to bottom.Then Flush JavaScript/CSS cache and Static Files Cache using the available buttons.Finally click on main "Flush Magento Cache" button.
vtiger is quite slow, on a local server, with SSD and php accelerator, running nothing else besides vtiger (on xampp) and mysql,
it takes between 7 seconds and 25 seconds to load pages. Looking for a knowledgeable developer that could help us
improve to load under 2 seconds. we don't have additional addons (we did use vtoger expeters in the past but due to the fact that
used the php encryption logic which had a performance impact, we disabled it).
@J_G done, but don't see a big difference, still taking 5-15 seconds to load a screen, especially the first time i log on after some time of inactivity it took 20 seconds. Really slow. Looking at query performance, the queries themselves are done in 2-3 second, more time it take executing the code. Even then, for each page request there are over 1300 queries sent to mysql, many of them, the select * from blocks where blockid or field id = smth repeat themselves multiple times. Where is the cache when we need it? Setting up memcache makes it faster but then the data is inconsistent, displays incorrect data. Cannot even use memcached. Not cool. vtiger code does not seem optimized. We need a payed developer to help us optimize this properly.
@glasulvietii did you just enable mod_fcgid the settings? or did you install it as well? Been awhile since i have used xampp, but if i remember correctly, it is not included in xampp. -php-fastcgi-and-zend-opcache-xampp-windows/
@glasulvietii,
I believe i can optimize CRM speed.Wondering if you still looking for help in this regards. PLease let me know.
Regards,
Vivek Mahatma(10+ years of experience in this domain)
e: mahatm...@gmail.com skype: mahatma07vivek
PLEASE STAY SAFE AND HEALTHY.
[You may feel free to contact me if you need any further assistance. I never need either your crm access or your server access. If you can reproduce the same issue in my crm instance. I am more than happy to solve it and happy to share it in this forum. Or you may teamviewer with me to share specific issue. Or you may send me some screen shot/ video clicks to describe the issue .I will guide you how to solve the issue. ]
@J_G, thanks, we are trying to install it properly as you were correct, xampp was running as thread safe. Enabling php 5.6.7 or 5.6.9 as non thread safe causes the php engine to crash. If i set 7.2 instead the NTS version, then vtiger crashes only as it does not support php 7,2. Struggling with this at the moment.
Just started using Windows 10 instead of my old iMac. I wondered what PW devs (on Windows) are using as their Git processor on Windows 10? I use PHPStorm for my Git handling stuff but it needs to find a git.exe file somewhere on my PC. There seem to be numerous different options, all with different pros/cons. Any consensus?
Hi @abdus - many thanks for the heads-up on Chocolatey. Actually, I had already tried it and got a "WARNING: Not setting tab completion: Profile file does not exist at..." error. Otherwise, it looked really good but, I couldn't actually work out whether it was installed properly or not?
If git is installed, you should be able to access it from command line. Once choco installs a program and adds it to PATH, it runs a bat file called refreshEnv.cmd to refresh the PATH variable. Close (all) command prompts and reopen, then try running git.
I'd suggest the full package of Laragon. Comes with the usual AMP stack and a bunch of utilities that mike life easy. If you're happy with your existing stack, then maybe use Scoop, which is like Homebrew for Windows. Either way, git will become available in your path and your IDE can use it.
@Mike Rockett - thanks for your advice. Scoop looks really good! I actually installed Laragon today and it appears to give me what I need. The terminal is nice and it even gave me Vim from the command line. Pretty sweet
Hey, @abdus - I tried installing again with no luck. I then added the missing profile and re-installed and all seemed OK until I entered Powershell. It just errored and then said something about the profile wasn't digitally signed. It said delete it or rename it. More crashing ensued and then, I gave up! It looks really good but, given the installation issues I've had, the juice isn't worth the squeeze.
7fc3f7cf58