46 Commits

Author SHA1 Message Date
Leo Khoa
f6758ada06 Merge pull request #94 from leokhoa/dev
Increase the default number of PHP processes
2019-05-09 11:20:38 +07:00
Leo Khoa
0545be9cbd Increase the default number of PHP processes
Upstream=2
2019-05-09 11:18:57 +07:00
Leo Khoa
1d6c4c037e Increase the default number of PHP processes
Upstream=2
2019-05-09 11:17:58 +07:00
Leo Khoa
0f8f3ba0ec Merge pull request #83 from BoGnY/patch-1
Update packages.conf
2019-03-25 08:43:28 +07:00
Luca Bognolo
95620d0588 Update packages.conf
Updated:
- php to v7.3.3
- apache to v2.4.38
- mariadb to v10.3.13
- mysql-5 to v5.7.25
- mysql-8 to v8.0.15
- node-11 to v11.12.0
- node-10 to v10.15.3
- yarn to v1.15.2
- postgresql-11 to v11.2
- postgresql-10 to v10.7
- go to v1.12.1
- liteide to vX36

Changed:
- phpmyadmin from english to all-languages
2019-03-22 17:44:47 +01:00
Leo Khoa
dd85e6e7b8 Merge pull request #81 from leokhoa/dev
Fix MySQL 5.6 issue
2019-03-21 20:00:27 +07:00
Leo Khoa
f4ba5f2c8d Fix MySQL 5.6 issue 2019-03-21 09:37:12 +07:00
Leo Khoa
11723b2d55 Fix MySQL 5.6 issue 2019-03-20 09:46:08 +07:00
LeoKhoa
129d48fba8 Merge branch 'dev' 2019-02-28 09:25:59 +00:00
LeoKhoa
f385987c60 Update new packages - Go 1.12 2019-02-28 09:25:29 +00:00
LeoKhoa
fedce20700 Merge branch 'dev' 2019-02-28 09:07:02 +00:00
Leo Khoa
c55fd67b0b Fix Download issue 2019-02-28 09:43:23 +07:00
Leo Khoa
395b80ecb8 Fix Download issue 2019-02-28 09:42:19 +07:00
Leo Khoa
1735d1665c Only add to Trust Store if SSL is enabled 2019-02-27 08:43:57 +07:00
Leo Khoa
7912e1c2ad Merge pull request #74 from leokhoa/dev
Only add to Trust Store if SSL is enabled
2019-02-27 08:22:40 +07:00
Leo Khoa
ca8836774b Only add to Trust Store if SSL is enabled 2019-02-27 08:22:03 +07:00
Leo Khoa
0c9eee073e Merge pull request #73 from leokhoa/dev
Warn if Path has space
2019-02-27 08:08:21 +07:00
Leo Khoa
9796a45b13 Warn if Path has space 2019-02-27 08:07:08 +07:00
Leo Khoa
e19ad0d49c Merge pull request #72 from leokhoa/dev
Fix Download issue
2019-02-27 07:59:04 +07:00
Leo Khoa
314c4cf16f Fix Download issue 2019-02-27 07:58:46 +07:00
Leo Khoa
ad23ba2334 Merge pull request #71 from leokhoa/dev
Fix Download issue
2019-02-27 02:55:13 +07:00
Leo Khoa
52f4e3b203 Fix Download issue
Add `DownloadMethod` directive
2019-02-27 02:54:20 +07:00
Leo Khoa
6196b5f09f Merge pull request #69 from leokhoa/dev
Set default "DownloadWaitTime" to 10 seconds
2019-02-24 11:43:22 +07:00
Leo Khoa
75c0d392e1 Set default "DownloadWaitTime" to 10 seconds
https://forum.laragon.org/topic/1320/sort-out-the-download-issue-with-curl-in-quick-app-and-quick-add
2019-02-24 11:42:57 +07:00
Leo Khoa
abaa772460 Merge pull request #65 from stijnvdb88/master
add support for memcached flush_all command
2019-02-16 10:30:44 +07:00
Stijn Van der Borght
1d23a840b3 add support for memcached flush_all command 2019-02-15 16:31:42 +00:00
LeoKhoa
302447eade Merge branch 'dev' 2019-02-14 11:27:33 +00:00
LeoKhoa
58c4d827ea Put packages.conf in usr dir 2019-02-14 11:25:49 +00:00
Leo Khoa
fa9fcd90f8 Merge pull request #64 from leokhoa/dev
Allow multiple string placeholder for the 'Quick app' feature
2019-02-14 18:23:07 +07:00
LeoKhoa
dcc49349c0 Allow multiple string placeholder for the 'Quick app' feature 2019-02-14 11:22:30 +00:00
Leo Khoa
a2ab3225a9 Merge pull request #63 from leokhoa/dev
Allow multiple string placeholder for the "Quick app" feature
2019-02-14 08:47:31 +07:00
Leo Khoa
fe83b6917c Allow multiple string placeholder for the "Quick app" feature 2019-02-14 08:47:10 +07:00
Leo Khoa
7d3f5140b6 Merge pull request #60 from leokhoa/dev
Dev
2019-02-11 12:12:28 +00:00
Leo Khoa
f9070ccdec Remove http to https redirection (because it may cause unexpected issues) 2019-02-11 11:45:17 +00:00
Leo Khoa
0a5c169885 Update PHP download url (move to github) 2019-02-11 11:11:12 +00:00
Leo Khoa
1f09bacc99 Add IgnoreList 2019-02-11 08:56:44 +07:00
Leo Khoa
418721a6f3 Force http to https redirection for Apache 2019-02-11 08:55:37 +07:00
Leo Khoa
ad53c1b829 Merge pull request #56 from leokhoa/dev
Add a fallback download method for "Quick app" and "Quick add"
2019-01-31 08:42:25 +07:00
Leo Khoa
0b0bc6a455 Reduce filesize 2019-01-31 08:39:37 +07:00
Leo Khoa
c8c5ab4961 Added "DownloadWaitTime"
If DownloadWaitTime=0, Laragon will use native method to download.
2019-01-26 09:29:03 +07:00
Leo Khoa
a030544e4d Fix download issues 2019-01-24 09:42:31 +07:00
Leo Khoa
6a0301d498 Fix download issue 2019-01-14 09:36:47 +07:00
Leo Khoa
ca0f9423fd Merge pull request #52 from leokhoa/dev
Fixed downloading issue with "Quick app"
2018-12-28 15:48:34 +07:00
Leo Khoa
ba32f2413d Fixed downloading issue with "Quick app" 2018-12-28 15:47:16 +07:00
Leo Khoa
1fa3c0d1b9 Merge pull request #51 from leokhoa/dev
Fixed downloading issue with "Quick app"
2018-12-28 09:42:36 +07:00
Leo Khoa
a2d1655fe9 Fixed downloading issue with "Quick app" 2018-12-28 09:41:55 +07:00
5 changed files with 70 additions and 41 deletions

View File

@@ -1,27 +1,27 @@
define ROOT "<<PROJECT_DIR>>"
define SITE "<<HOSTNAME>>"
<VirtualHost *:<<PORT>>>
DocumentRoot "${ROOT}"
ServerName ${SITE}
ServerAlias *.${SITE}
<Directory "${ROOT}">
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:<<SSL_PORT>>>
DocumentRoot "${ROOT}"
ServerName ${SITE}
ServerAlias *.${SITE}
<Directory "${ROOT}">
AllowOverride All
Require all granted
</Directory>
SSLEngine on
SSLCertificateFile <<SSL_DIR>>/<<HOSTNAME>>.crt
SSLCertificateKeyFile <<SSL_DIR>>/<<HOSTNAME>>.key
</VirtualHost>
define ROOT "<<PROJECT_DIR>>"
define SITE "<<HOSTNAME>>"
<VirtualHost *:<<PORT>>>
DocumentRoot "${ROOT}"
ServerName ${SITE}
ServerAlias *.${SITE}
<Directory "${ROOT}">
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:<<SSL_PORT>>>
DocumentRoot "${ROOT}"
ServerName ${SITE}
ServerAlias *.${SITE}
<Directory "${ROOT}">
AllowOverride All
Require all granted
</Directory>
SSLEngine on
SSLCertificateFile <<SSL_DIR>>/<<HOSTNAME>>.crt
SSLCertificateKeyFile <<SSL_DIR>>/<<HOSTNAME>>.key
</VirtualHost>

View File

@@ -529,6 +529,29 @@ class Memcached
return $newVal;
}
/**
* Flush the cache
*
* @return boolean
*/
public function flush()
{
$this->writeSocket('flush_all') ;
$s = $this->readSocket();
if ('OK' == $s) {
$this->resultCode = Memcached::RES_SUCCESS;
$this->resultMessage = '';
return true;
} else {
$this->resultCode = Memcached::RES_FAILURE;
$this->resultMessage = 'Flush fail.';
return false;
}
}
/**
* Write data to socket
*

Binary file not shown.

View File

@@ -7,16 +7,22 @@ Lang=English
[nginx]
Use=-1
Upstream=2
Version=nginx-1.14.0
DocumentRoot=C:/laragon/www
[php]
Version=php-5.4.9-nts-Win32-VC9-x86
[mysql]
Use=-1
Version=mysql-5.1.72-win32
[apache]
Use=-1
[mongodb]
Use=-1
[postgresql]
Use=-1

View File

@@ -1,23 +1,23 @@
# PHP
php=https://windows.php.net/downloads/releases/php-7.2.13-Win32-VC15-x64.zip
php=https://windows.php.net/downloads/releases/php-7.3.3-Win32-VC15-x64.zip
# Apache
apache=https://home.apache.org/~steffenal/VC14/binaries/httpd-2.4.37-win64-VC14.zip
apache=https://home.apache.org/~steffenal/VC15/binaries/httpd-2.4.38-win64-VC15.zip
# phpMyAdmin
*phpmyadmin=https://files.phpmyadmin.net/phpMyAdmin/4.8.3/phpMyAdmin-4.8.3-english.zip
*phpmyadmin=https://files.phpmyadmin.net/phpMyAdmin/4.8.5/phpMyAdmin-4.8.5-all-languages.zip
# MariaDB
# mariadb10.3=https://downloads.mariadb.org/f/mariadb-10.3.10/winx64-packages/mariadb-10.3.10-winx64.zip/from/http%3A//sgp1.mirrors.digitalocean.com/mariadb/?serve
# mysql-8.0=https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.13-winx64.zip
mysql-5.7=https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.24-winx64.zip
# mariadb10.3=https://downloads.mariadb.org/interstitial/mariadb-10.3.13/winx64-packages/mariadb-10.3.13-winx64.zip/from/https%3A//mirrors.nxthost.com/mariadb/?serve
# mysql-8.0=https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.15-winx64.zip
mysql-5.7=https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.25-winx64.zip
*git=https://github.com/leokhoa/laragon-packages/releases/download/4.0/git-2.19.2.zip
------------------------------------------------------
# Node.js
#*node-11=https://nodejs.org/dist/v11.1.0/node-v11.1.0-win-x64.zip
*node-10=https://nodejs.org/dist/v10.13.0/node-v10.13.0-win-x64.zip
*yarn=https://github.com/yarnpkg/yarn/releases/download/v1.12.3/yarn-v1.12.3.tar.gz
#*node-11=https://nodejs.org/dist/v11.12.0/node-v11.12.0-win-x64.zip
*node-10=https://nodejs.org/dist/v10.15.3/node-v10.15.3-win-x64.zip
*yarn=https://github.com/yarnpkg/yarn/releases/download/v1.15.2/yarn-v1.15.2.tar.gz
# MongoDB https://www.mongodb.com/download-center/community
mongodb-4=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.3.zip
@@ -34,13 +34,13 @@ python-3.6=https://github.com/leokhoa/laragon/releases/download/portable/python-
sublime=https://download.sublimetext.com/Sublime%20Text%20Build%203176%20x64.zip
# PostgreSQL
postgresql-11=https://get.enterprisedb.com/postgresql/postgresql-11.0-1-windows-x64-binaries.zip
# postgresql-10=https://get.enterprisedb.com/postgresql/postgresql-10.5-1-windows-x64-binaries.zip
postgresql-11=https://get.enterprisedb.com/postgresql/postgresql-11.2-1-windows-x64-binaries.zip
# postgresql-10=https://get.enterprisedb.com/postgresql/postgresql-10.7-1-windows-x64-binaries.zip
------------------------------------------------------
#Go
go-1.11=https://dl.google.com/go/go1.11.1.windows-amd64.zip
liteide=https://github.com/visualfc/liteide/releases/download/x35.1/liteidex35.1.windows-qt5.9.5.zip
go-1.12=https://dl.google.com/go/go1.12.1.windows-amd64.zip
liteide=https://github.com/visualfc/liteide/releases/download/x36/liteidex36.windows-qt5.9.5.zip
------------------------------------------------------
ruby=https://dl.bintray.com/oneclick/rubyinstaller/ruby-2.3.3-x64-mingw32.7z
@@ -48,5 +48,5 @@ devkit=https://github.com/leokhoa/laragon/releases/download/portable/devkit.7z
------------------------------------------------------
java=https://github.com/leokhoa/laragon/releases/download/portable/jdk-8u131-windows-x64.7z
sts=https://download.springsource.com/release/STS/3.9.6.RELEASE/dist/e4.9/spring-tool-suite-3.9.6.RELEASE-e4.9.0-win32-x86_64.zip
#sts=https://download.springsource.com/release/STS/3.9.6.RELEASE/dist/e4.9/spring-tool-suite-3.9.6.RELEASE-e4.9.0-win32-x86_64.zip
eclipse=http://cdn.yatta.de/eclipse-mirror/technology/epp/downloads/release/2018-09/R/eclipse-committers-2018-09-win32-x86_64.zip