Upgrading AMPPS 2.0 to AMPPS 2.1 in Windows
Taking Backup
- Ampps\conf : Configuration files of Apache, PHP, MySQL, etc are stored here
- Ampps\mysql\data : MySQL Database Folder
- Ampps\private : Used by Softaculous Ampps for storing installation details.
- Ampps\www : Public HTML (Document Root)
- Ampps\ampps\data : AMPPS Data (required for AMPPS only)
Steps
- AMPPS Application gives a pop up when an update is available. Follow the steps to update.
- If you have kept auto-update of Ampps disabled, then go to AMPPS Application -> Help -> Upgrade.
Major Changes
- PHP 5.5 added.
- Softaculous AMPPS will work on PHP-CGI 5.3 irrespective of current active PHP version.
Troubleshooting and FAQ
- If you are facing any issues after upgrading you can always open a ticket here. But please look below for possible solutions, you might be able to solve it on your own.
- Changes made by AMPPS in Apache Configuration
Index: E:/Program Files/AMPPS/conf/original-httpd.conf
===================================================================
--- E:/Program Files/AMPPS/conf/original-httpd.conf (revision 1082)
+++ E:/Program Files/AMPPS/conf/original-httpd.conf (revision 1083)
@@ -302,6 +302,9 @@
#
LogLevel warn
+#Softaculous AMPPS Will take max 600 sec to process anything
+TimeOut 600
+
<IfModule log_config_module>
#
# The following directives define some format nicknames for use with
@@ -359,7 +362,8 @@
</Directory>
<Directory "{$path}/ampps/softaculous/enduser">
- Options FollowSymLinks Indexes
+ Options FollowSymLinks Indexes ExecCGI
+ AddHandler cgi-script .php
AllowOverride All
Order deny,allow
allow from All
@@ -380,7 +384,8 @@
</Directory>
<Directory "{$path}/ampps/softaculous">
- Options FollowSymLinks Indexes
+ Options FollowSymLinks Indexes ExecCGI
+ AddHandler cgi-script .php
AllowOverride All
Order deny,allow
allow from All
- Changes made by AMPPS in PHP 5.3 Configuration
Index: E:/Program Files/AMPPS/conf/original-php-5.3.ini
===================================================================
--- E:/Program Files/AMPPS/conf/original-php-5.3.ini (revision 1082)
+++ E:/Program Files/AMPPS/conf/original-php-5.3.ini (revision 1083)
@@ -806,7 +806,7 @@
; http://php.net/extension-dir
; extension_dir = "./"
; On windows:
-extension_dir = "{$path}/php/ext/"
+extension_dir = "{$path}/{$php_dir}/ext/"
; Whether or not to enable the dl() function. The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
@@ -819,7 +819,7 @@
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
; http://php.net/cgi.force-redirect
-;cgi.force_redirect = 1
+cgi.force_redirect = 0
; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
; every request. PHP's default behavior is to disable this feature.
@@ -1822,7 +1822,7 @@
; End:
;ionCube Loader
-zend_extension="{$path}\php\ioncube_loader_win_5.3.dll"
+zend_extension="{$path}\{$php_dir}\ioncube_loader_win_5.3.dll"
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
Upgrading AMPPS 2.0 to AMPPS 2.1 in Mac OS X
Taking Backup
- /Applications/AMPPS/conf : Configuration files of Apache, PHP, MySQL, etc are stored here
- /Applications/AMPPS/var : MySQL Database Folder
- /Applications/AMPPS/private : Used by Softaculous Ampps for storing installation details.
- /Applications/AMPPS/www : Public HTML (Document Root)
- /Applications/AMPPS/ampps/data : AMPPS Data (required for AMPPS only)
Steps
- AMPPS Application gives a pop up when an update is available. Follow the steps to update.
- If you have kept auto-update of Ampps disabled, then go to AMPPS Application -> Help -> Upgrade.
Major Changes
- PHP 5.5 added.
- Softaculous AMPPS will work on PHP-CGI 5.3 irrespective of current active PHP version.
Troubleshooting and FAQ
- If you are facing any issues after upgrading you can always open a ticket here. But please look below for possible solutions, you might be able to solve it on your own.
- Changes made by AMPPS in Apache Configuration
Index: original-httpd.conf
===================================================================
--- original-httpd.conf (revision 1194)
+++ original-httpd.conf (revision 1195)
@@ -249,6 +249,9 @@
#
LogLevel warn
+#Softaculous AMPPS Will take max 600 sec to process anything
+TimeOut 600
+
<IfModule log_config_module>
#
# The following directives define some format nicknames for use with
@@ -306,7 +309,8 @@
</Directory>
<Directory "{$path}/ampps/softaculous/enduser">
- Options FollowSymLinks Indexes
+ Options FollowSymLinks Indexes ExecCGI
+ AddHandler cgi-script .php
AllowOverride All
Order deny,allow
allow from All
@@ -327,7 +331,8 @@
</Directory>
<Directory "{$path}/ampps/softaculous">
- Options FollowSymLinks Indexes
+ Options FollowSymLinks Indexes ExecCGI
+ AddHandler cgi-script .php
AllowOverride All
Order deny,allow
allow from All
- Changes made by AMPPS in PHP 5.3 Configuration
Index: original-php-5.3.ini
===================================================================
--- original-php-5.3.ini (revision 1084)
+++ original-php-5.3.ini (revision 1085)
@@ -822,7 +822,7 @@
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
; http://php.net/cgi.force-redirect
-;cgi.force_redirect = 1
+cgi.force_redirect = 0
; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
; every request. PHP's default behavior is to disable this feature.
@@ -1893,4 +1893,4 @@
extension=zip.so
extension=zlib.so
;extension=iconv.so