diff --git a/README.md b/README.md index 1bf19922..0d74f646 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Enjoy! - **Pretty URLs** Use `app.test` instead of `localhost/app`. - **Portable** - You can move Laragon folder around (to another disks, to another laptops, sync to Cloud,...) without any worries. + You can move Laragon folder around (to another disks, to another laptops, sync to Cloud,...) without any worries. - **Isolated** Laragon has an isolated environment with your OS - it will keep your system clean. - **Easy Operation** @@ -28,7 +28,7 @@ Enjoy! Laragon comes with a modern architecture which is suitable to build modern web apps. You can work with both Apache & Nginx as they are fully-managed. Also, Laragon makes things a lot easier: - Wanna have a Wordpress CMS? Just 1 click. - - Wanna show your local project to customers? Just 1 click. + - Wanna show your local project to customers? Just 1 click. - Wanna enable/disable a PHP extension? Just 1 click. @@ -39,7 +39,7 @@ Enjoy! ## How fast? Laragon starts instantly. You can set Laragon autorun when Windows starts. When running, Laragon uses just a little amount of your RAM. Here is the GUI of Laragon: -![0_1513173700919_01-dashboard.png](https://i.imgur.com/0py3k1X.png) +![0_1513173700919_01-dashboard.png](https://i.imgur.com/0py3k1X.png) ## How easy? - Laragon is very easy to install & upgrade. Just download the latest version and click `Next, Next, Next...` diff --git a/SECURITY.md b/SECURITY.md index ebdd0089..97b90e20 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,12 +2,12 @@ ## Supported Versions -| Version | Supported |Reason | +| Version | Supported |Reason | | ------- | ------------------ | ---------- | | >=7.0 | :white_check_mark: | | | <=6.0 | :x: | EOL | ## Reporting a Vulnerability -If you find a security vulnerability in Laragon, please report it via email to Leo Khoa at leo@laragon.org +If you find a security vulnerability in Laragon, please report it via email to Leo Khoa at leo@laragon.org We take security seriously, and all reports will be promptly addressed. diff --git a/etc/apache2/alias/adminer.conf b/etc/apache2/alias/adminer.conf index 963fba5f..d5d2c4eb 100644 --- a/etc/apache2/alias/adminer.conf +++ b/etc/apache2/alias/adminer.conf @@ -1,10 +1,10 @@ Alias /adminer "C:/laragon/etc/apps/adminer/" -# to give access from outside +# to give access from outside # replace the lines # # Require local -# +# # by # # Require all granted @@ -12,8 +12,8 @@ Alias /adminer "C:/laragon/etc/apps/adminer/" Options Indexes FollowSymLinks MultiViews - AllowOverride all - + AllowOverride all + Require local - + diff --git a/etc/apache2/alias/laragon.conf b/etc/apache2/alias/laragon.conf index 82c379e8..d01d508e 100644 --- a/etc/apache2/alias/laragon.conf +++ b/etc/apache2/alias/laragon.conf @@ -1,10 +1,10 @@ Alias /laragon "C:/laragon/etc/apps/laragon/" -# to give access from outside +# to give access from outside # replace the lines # # Require local -# +# # by # # Require all granted @@ -12,18 +12,18 @@ Alias /laragon "C:/laragon/etc/apps/laragon/" Options Indexes FollowSymLinks MultiViews - AllowOverride None - + AllowOverride None + Require local Options Indexes FollowSymLinks MultiViews - AllowOverride None + AllowOverride None DirectoryIndex None.Always.Listing Require local - + SetHandler none SetHandler default-handler diff --git a/etc/apache2/alias/memcached.conf b/etc/apache2/alias/memcached.conf index c8bb7841..fa4dd638 100644 --- a/etc/apache2/alias/memcached.conf +++ b/etc/apache2/alias/memcached.conf @@ -1,9 +1,9 @@ Alias /memcached "C:/laragon/etc/apps/memcached/" -# to give access from outside +# to give access from outside # replace the lines # -# Require local +# Require local # # by # @@ -13,7 +13,7 @@ Alias /memcached "C:/laragon/etc/apps/memcached/" Options Indexes FollowSymLinks MultiViews AllowOverride all - + Require local diff --git a/etc/apache2/alias/phpmyadmin.conf b/etc/apache2/alias/phpmyadmin.conf index 670996bb..10596926 100644 --- a/etc/apache2/alias/phpmyadmin.conf +++ b/etc/apache2/alias/phpmyadmin.conf @@ -1,10 +1,10 @@ Alias /phpmyadmin "C:/laragon/etc/apps/phpMyAdmin/" -# to give access from outside +# to give access from outside # replace the lines # # Require local -# +# # by # # Require all granted @@ -12,8 +12,8 @@ Alias /phpmyadmin "C:/laragon/etc/apps/phpMyAdmin/" Options Indexes FollowSymLinks MultiViews - AllowOverride all - + AllowOverride all + Require local - + diff --git a/etc/apache2/alias/redis.conf b/etc/apache2/alias/redis.conf index b13f4e22..137c10e2 100644 --- a/etc/apache2/alias/redis.conf +++ b/etc/apache2/alias/redis.conf @@ -1,9 +1,9 @@ Alias /redis "C:/laragon/etc/apps/phpredisAdmin/" -# to give access from outside +# to give access from outside # replace the lines # -# Require local +# Require local # # by # @@ -13,7 +13,7 @@ Alias /redis "C:/laragon/etc/apps/phpredisAdmin/" Options Indexes FollowSymLinks MultiViews AllowOverride all - + Require local - + diff --git a/etc/apache2/fcgid.conf b/etc/apache2/fcgid.conf index d5ae59ac..9ec93904 100644 --- a/etc/apache2/fcgid.conf +++ b/etc/apache2/fcgid.conf @@ -8,7 +8,7 @@ FcgidInitialEnv TEMP "C:/Windows/Temp" FcgidInitialEnv TMP "C:/Windows/Temp" FcgidInitialEnv windir "C:/Windows" -# 10 hrs: in case you have long running scripts, increase FcgidIOTimeout +# 10 hrs: in case you have long running scripts, increase FcgidIOTimeout FcgidIOTimeout 36000 FcgidConnectTimeout 16 FcgidMaxRequestsPerProcess 0 diff --git a/etc/apache2/httpd-ssl.conf b/etc/apache2/httpd-ssl.conf index 8ca7abc9..9557cb05 100644 --- a/etc/apache2/httpd-ssl.conf +++ b/etc/apache2/httpd-ssl.conf @@ -5,7 +5,7 @@ SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4 SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4 -SSLHonorCipherOrder on +SSLHonorCipherOrder on SSLProtocol all -SSLv3 SSLProxyProtocol all -SSLv3 @@ -13,5 +13,3 @@ SSLProxyProtocol all -SSLv3 SSLSessionCache "shmcb:logs/ssl_scache(512000)" SSLSessionCacheTimeout 300 - - \ No newline at end of file diff --git a/etc/cmder/laragon.cmd b/etc/cmder/laragon.cmd index 08ae0429..6aa38e29 100644 --- a/etc/cmder/laragon.cmd +++ b/etc/cmder/laragon.cmd @@ -38,14 +38,14 @@ if exist "%USER_DIR%\user.cmd" ( echo :: call start-ssh-agent.cmd echo :: set PATH=%%USER_DIR%%\bin\whatever;%%PATH%% echo. - echo :: cmd /c start http://localhost + echo :: cmd /c start http://localhost echo. ) > "%USER_DIR%\user.cmd" - + :: cd /d "%CMDER_ROOT%\..\..\www" rem ) :: Laragon End ------------------------------------------------------------------- - + exit /b 0 diff --git a/etc/nginx/alias/adminer.conf b/etc/nginx/alias/adminer.conf index ff8170d8..330b5bb1 100644 --- a/etc/nginx/alias/adminer.conf +++ b/etc/nginx/alias/adminer.conf @@ -6,7 +6,7 @@ location /adminer { location ~ ^/adminer/(.+\.php)$ { alias C:/laragon/etc/apps/adminer/$1; - fastcgi_pass php_upstream; + fastcgi_pass php_upstream; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param SCRIPT_FILENAME $request_filename; diff --git a/etc/nginx/alias/laragon.conf b/etc/nginx/alias/laragon.conf index 228e3514..92b9671e 100644 --- a/etc/nginx/alias/laragon.conf +++ b/etc/nginx/alias/laragon.conf @@ -12,7 +12,7 @@ location ~ /laragon/uploads/(.+)\.php$ { location ~ ^/laragon/(.+\.php)$ { allow all; alias C:/laragon/etc/apps/laragon/$1; - fastcgi_pass php_upstream; + fastcgi_pass php_upstream; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param SCRIPT_FILENAME $request_filename; diff --git a/etc/nginx/alias/memcached.conf b/etc/nginx/alias/memcached.conf index 0f40e94b..51bf421e 100644 --- a/etc/nginx/alias/memcached.conf +++ b/etc/nginx/alias/memcached.conf @@ -3,10 +3,10 @@ location /memcached { alias C:/laragon/etc/apps/memcached/; index index.php; } - + location ~ ^/memcached/(.+\.php)$ { alias C:/laragon/etc/apps/memcached/$1; - fastcgi_pass php_upstream; + fastcgi_pass php_upstream; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename; diff --git a/etc/nginx/alias/phpmyadmin.conf b/etc/nginx/alias/phpmyadmin.conf index d2ec81ee..9f439c71 100644 --- a/etc/nginx/alias/phpmyadmin.conf +++ b/etc/nginx/alias/phpmyadmin.conf @@ -3,12 +3,12 @@ location /phpmyadmin { alias C:/laragon/etc/apps/phpmyadmin/; index index.php; - + } location ~ ^/phpmyadmin/(.+\.php)$ { alias C:/laragon/etc/apps/phpmyadmin/$1; - fastcgi_pass php_upstream; + fastcgi_pass php_upstream; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename; diff --git a/etc/nginx/alias/redis.conf b/etc/nginx/alias/redis.conf index 10a0e21f..b9ec54ed 100644 --- a/etc/nginx/alias/redis.conf +++ b/etc/nginx/alias/redis.conf @@ -6,7 +6,7 @@ location /redis { location ~ ^/redis/(.+\.php)$ { alias C:/laragon/etc/apps/phpRedisAdmin/$1; - fastcgi_pass php_upstream; + fastcgi_pass php_upstream; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename; diff --git a/etc/php/pear/memcached.php b/etc/php/pear/memcached.php index b4584033..68d21f19 100644 --- a/etc/php/pear/memcached.php +++ b/etc/php/pear/memcached.php @@ -173,9 +173,9 @@ class Memcached protected $socket = null; public function getVersion() { - return ['localhost:11211' => '1.4.5']; + return ['localhost:11211' => '1.4.5']; } - + //may check: https://raw.githubusercontent.com/GoogleCloudPlatform/python-compat-runtime/master/appengine-compat/exported_appengine_sdk/php/sdk/google/appengine/runtime/Memcached.php public function setMulti() { @@ -185,7 +185,7 @@ class Memcached //TODO die('TODO'); } - + /** * Add a serer to the server pool * @@ -444,7 +444,7 @@ class Memcached /** - * Store an item. + * Store an item. * Fails if $key already exists * * @param string $key @@ -464,7 +464,7 @@ class Memcached if ('STORED' == $s) { $this->resultCode = Memcached::RES_SUCCESS; - $this->resultMessage = ''; + $this->resultMessage = ''; return true; } else { diff --git a/usr/Procfile b/usr/Procfile index ea37a650..2495c37c 100644 --- a/usr/Procfile +++ b/usr/Procfile @@ -9,7 +9,6 @@ ; PWD: Current working directory - where the COMMANDS run # Examples: -; My Cool App: autorun node start $PORT PORT=9000 env_file=usr\my_file.env PWD=usr/proj/myapp DB_HOST=1.2.3.4 DB_PORT=9999 DB_USER=user DB_PASS="!$Ab.cs3cre1" DB_NAME=cooldb +; My Cool App: autorun node start $PORT PORT=9000 env_file=usr\my_file.env PWD=usr/proj/myapp DB_HOST=1.2.3.4 DB_PORT=9999 DB_USER=user DB_PASS="!$Ab.cs3cre1" DB_NAME=cooldb ; Awesome Tool: "PATH HAS SPACES SHOULD BE QUOTED LIKE THIS" ------------------------------------------------------------------------------ - diff --git a/usr/Procfile.tools b/usr/Procfile.tools index ea37a650..2495c37c 100644 --- a/usr/Procfile.tools +++ b/usr/Procfile.tools @@ -9,7 +9,6 @@ ; PWD: Current working directory - where the COMMANDS run # Examples: -; My Cool App: autorun node start $PORT PORT=9000 env_file=usr\my_file.env PWD=usr/proj/myapp DB_HOST=1.2.3.4 DB_PORT=9999 DB_USER=user DB_PASS="!$Ab.cs3cre1" DB_NAME=cooldb +; My Cool App: autorun node start $PORT PORT=9000 env_file=usr\my_file.env PWD=usr/proj/myapp DB_HOST=1.2.3.4 DB_PORT=9999 DB_USER=user DB_PASS="!$Ab.cs3cre1" DB_NAME=cooldb ; Awesome Tool: "PATH HAS SPACES SHOULD BE QUOTED LIKE THIS" ------------------------------------------------------------------------------ - diff --git a/usr/packages.conf b/usr/packages.conf index 14bce461..e6757117 100644 --- a/usr/packages.conf +++ b/usr/packages.conf @@ -1,6 +1,6 @@ # PHP # https://windows.php.net/download/ -# NTS = Non Thread Safe +# NTS = Non Thread Safe *PHP-8.4=https://windows.php.net/downloads/releases/archives/php-8.4.3-nts-Win32-vs17-x64.zip *PHP-8.3=https://windows.php.net/downloads/releases/archives/php-8.3.16-nts-Win32-vs16-x64.zip *PHP-8.2=https://windows.php.net/downloads/releases/archives/php-8.2.26-nts-Win32-vs16-x64.zip @@ -51,7 +51,7 @@ postgresql-15.10=https://sbp.enterprisedb.com/getfile.jsp?fileid=1259300 --- -# MongoDB +# MongoDB # https://www.mongodb.com/try/download/community #mongodb-8=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.4.zip #mongodb-7=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.14.zip @@ -66,7 +66,7 @@ code=https://go.microsoft.com/fwlink/?Linkid=850641 # https://go.dev/dl/ go-1.24=https://go.dev/dl/go1.24.1.windows-amd64.zip go-1.23=https://go.dev/dl/go1.23.4.windows-amd64.zip - + # Pocketbase # https://github.com/pocketbase/pocketbase/releases diff --git a/usr/quotes.txt b/usr/quotes.txt index 061f1fab..c3ed8a55 100644 --- a/usr/quotes.txt +++ b/usr/quotes.txt @@ -1,15 +1,15 @@ Simplicity is the ultimate sophistication. - Leonardo da Vinci -Success is going from failure to failure without losing your enthusiasm. - Winston Churchill +Success is going from failure to failure without losing your enthusiasm. - Winston Churchill The journey of a thousand miles begins with one step. - Lao Tzu -Dream big and dare to fail. - Norman Vaughan +Dream big and dare to fail. - Norman Vaughan The power of imagination makes us infinite. - John Muir -Make each day your masterpiece. - John Wooden -Believe and act as if it were impossible to fail. - Charles Kettering +Make each day your masterpiece. - John Wooden +Believe and act as if it were impossible to fail. - Charles Kettering Light tomorrow with today. - Elizabeth Barrett Browning -Even if you're on the right track, you'll get run over if you just sit there. - Will Rogers +Even if you're on the right track, you'll get run over if you just sit there. - Will Rogers Believe you can and you're halfway there. - Theodore Roosevelt -Don't wait. The time will never be just right. - Napoleon Hill -A year from now you may wish you had started today. - Karen Lamb +Don't wait. The time will never be just right. - Napoleon Hill +A year from now you may wish you had started today. - Karen Lamb It is never too late to be what you might have been. - George Eliot If there is no struggle, there is no progress. - Frederick Douglass What we fear doing most is usually what we most need to do. - Tim Ferriss diff --git a/usr/sites.conf b/usr/sites.conf index 023e6505..83b339a3 100644 --- a/usr/sites.conf +++ b/usr/sites.conf @@ -6,7 +6,7 @@ Cached=true Blank= # WordPress -WordPress=https://wordpress.org/latest.tar.gz +WordPress=https://wordpress.org/latest.tar.gz ------------------------------------------------------ @@ -29,5 +29,5 @@ Laravel CLI=laravel new %s # CakePHP ### CakePHP=composer create-project --prefer-dist cakephp/app %s -# Symfony +# Symfony Symfony=composer create-project symfony/website-skeleton %s diff --git a/www/index.php b/www/index.php index 77bf2809..52999700 100644 --- a/www/index.php +++ b/www/index.php @@ -1,6 +1,6 @@ Laragon

-

PHP version: +

PHP version: info

Document Root: