Hi! Could you help me to import data & DB from an old backup install?
Story: Something went wrong, my DB broked down with incomplete import of huge file and I couldn't clean it up or run it. I've renamed the "laragon" dir to "laragon_old" dir, installed it once again. Started working on a project and now I'd like to go back to old ones, but simply moving data & DB to respective folders doesn't help. How I could do it?
I'm in the process of moving a bunch of sites to Laragon, and it's amazing to be able to quickly create a new WP installation, but after creating it I usually want to migrate an existing site to it, and most migration plugins only support migrating a site to another site with the same database prefix. It's not as simple as just renaming the tables either, because the prefix exists in option values within the tables as well, so I have to go digging for the prefix and change it manually. It would be super helpful if I could simply set the database prefix when I do the WP install.
Note that you can download and use both (just switch version). Suppose you download Python 2.7. Extract the downloaded to: C:\laragon\bin\python\python-2.7 (If there is no python dir in bin, just create it)
Close Laragon, then open it again (to refresh the Menu). Select the version at: Laragon Menu > Python > Version > python-2.7
Now, open Terminal (Ctrl - Alt - T) and type:
you should see something like that: Python 2.7.13
you should see something like that: pip 9.0.1 ...............
Congrats! Your Laragon now has Python!
Very easy huh. That's all forks!
I'm migrating from XAMPP to Laragon, and I'm finding very difficult to configure the virtual hosts due to the little information that there is about it. In XAMPP httpd-vhost.conf I have this
Options Indexes FollowSymLinks
Allow from all
So I can access to my project structure using the next subdomains:
I'm working on PWA development and the HTTPS requirement of them has been an issue throughout development this far, because I need to test on my phone over my WiFi. Usually localhost and equivalents are allowed for testing, but the thing is that once its left my device, that's not the case. So, as a result, the service worker will be deleted once the temporary cache is thrown away by the browser.
Sorry if that was a little long winded, TLDR:I need HTTPS to test my webapp on my phone over LAN, but cant due to PWA standards.
Anyways, the main issue is that the default Laragon certificate is only set up using 127.0.0.0 and localhost, ect, not your computers IP on your network. Although that's perfectly reasonable, because 1, I'm an edge-case, and 2, theres no way to really modify the auto.openssl.cnf file to incorporate that during install or whatever.
So that leads to my question I suppose. To get my PWA to properly install on my phone for testing I need to make a Root Certificate, and said root certificate needs to have 192.168.1.175 as the domain I guess. I tried doing this myself, with varying levels of success. I set up a CA on my computer following this guide, and set up a conf file with the following for DNS:
Doing this made a key and all, but when I tried to manually replace the config in Laragons files, (in etc/apache-2/sites-enabled/00-default.conf replacing the key file with mine), but couldn't get Laragon to accept it, and it just kept throwing errors, even after I put the SSL keys back to the defaults, so I just uninstalled/reinstalled.
If anyone knows how to do (or how to properly do) this, I'd appreciate any help!
PS I love Laragon, its probably the best web server I've ever worked with. Massive thanks to the developers for making it happen!
Hi all, I'm new to Laragon - this is my first time using it. I installed it and changed the default root and data directories, as well as installed PHP 7.3 and phpmyadmin from the "Quick Add" feature, so far that's all. I do not have auto virtual hosts active. Then I clicked "Web" and it seems to be leading to the new root, and clicking "Database" does lead to phpmyadmin, so I created a subdirectory (Mamapress) there and downloaded WordPress into it to test it. Now all I get when visiting localhost/Mamapress is this:
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required 'C:/Users/mishew/OneDrive/Dev/Laragon/Root/Mamapress/index.php' (include_path='.;C:/laragon/etc/php/pear') in Unknown on line 0
But there is, in fact, an index.php file in that directory, because an entire copy of WordPress is in that directory. Is there some step that I'm missing?
Just migrated from Wamp to Laragon. I have a few Wordpress sites and for some reason they keep running out of memory. Specifically getting a memory exhausted error. Both Wamp and Laragon are set to 512M and I never had this issue while using Wamp. Any ideas why this is happening and how to solve it?
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8790980389546 bytes) in E:\sites\test\wp-includes\functions.php on line 5231
I want to install dompdf in composer (composer require barryvdh/laravel-dompdf ) in the Laragon-terminal but get the error
The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl extension, you can disable this
own risk, by setting the 'disable-tls' option to true.
One (insecure) option from here would be to deactivate this warning, but even then I get the exact same error. No matter what I try it's always this same error message.
when I try to share projects via ngrok it shows me the document root (C:/laragon/www instead of C:/laragon/www/tabulator)
This is the ngrok screen:
Edit: Just realized that the problem is the "www" prefix in my laragon settings. I'm using this prefix for all my projects because I always redirect websites via 301 to the WWW version of them. Unfortunately that breaks the ngrok feature.
I am getting this message when Ioad Laragon "The procedure entry point SSL_CTX_set_ciphsuites could not be located in the dynamic link library E:\laragon\bin\php\php-7.2.19-Win32-VC15-x64\ext|php_curl.dll"
I am using a 64bit Windows 10 machine. I also utilize a program that says my local server doesn't have cURL enabled, but it is enabled.
This is the error from my PHP error log "PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: E:/laragon/bin/php/php-7.2.19-Win32-VC15-x64/ext\curl (The specified module could not be found.), E:/laragon/bin/php/php-7.2.19-Win32-VC15-x64/ext\php_curl.dll (The specified procedure could not be found.)) in Unknown on line 0"
I really enjoy using Laragon but it would be helpful if I could get this error to go away. Any help would be appreciated.
Any email I send using php mail() is caight by the mailcatcher, but the files have a .txt format - I'm sure they were saved as .eml at some point since I've installed laragon (which is a great tool that I really appreciate, btw!). I thought I'd found how to change this when I spotted [mailcatcher] options in the laragon.ini, but restarting laragon always sets the extension back to .txt again. Is there any known cause or, better still, cure that you know of?
Thanks, Geoff K
I need a method to automatically change the default Ip address to a new one. I need to do this, beacuse on 127.0.0.1 i already have installed MS IIS 10, so i want to run all Laragon services on 127.0.0.6.
How can i do that?
When I try to create a new project it gives me error: "not enough memory resources are available to process this command".
The first time I created a project I didn't have this error.
I tried to re install the ide, but the error persist.
How can I fix it?