AppServ: Difference between revisions
Jump to navigation
Jump to search
The recent update of AppServ is 2019-09-29, You should not use it for security reason.
mNo edit summary |
mNo edit summary Tags: Mobile edit Mobile web edit |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[https://www.appserv.org/en/ AppServ] | |||
{{Archived page | reason= The recent update of AppServ is 2019-09-29, You should not use it for security reason.}} | |||
== Upgrade AppServ == | |||
{{Software version| software=AppServ | url=http://www.appservnetwork.com/ | version=2.5.10 -> 2.6.0}} | |||
preparation task for {{Win}} | |||
* backup folder {{kbd | key = X:/AppServ/}} | |||
* backup the PHP configuration file which located {{kbd | key = C:\Windows\php.ini}} | |||
* backup the MySQL data which located {{kbd | key = X:/AppServ/MySQL/data}} | |||
* stop the {{kbd | key = Apache}} & {{kbd | key = mysql}} services | |||
install the AppServ installer | |||
* | |||
change the configuration file | |||
* PHP config file: copy the file {{kbd | key = X:/AppServ/php6/php.ini-recommended}} and copy to {{kbd | key = C:\Windows\php.ini}} | |||
* If any change of the PHP config file, you need to restart the {{kbd | key = Apache}} service | |||
** To verify your change of PHP config file, you can use [http://php.net/manual/en/function.phpinfo.php PHP: phpinfo] to output information about PHP's configuration or type {{kbd | key = <nowiki>php -m</nowiki>}} to show the loaded modules in console mode<ref>[http://php.net/manual/en/features.commandline.options.php PHP: Options - Manual]</ref> | |||
* (optional) enable the MySQL modules | |||
<pre> | |||
extension=php_mysql.dll | |||
extension=php_mysqli.dll | |||
extension=php_pdo.dll | |||
extension=php_pdo_mysql.dll | |||
</pre> | |||
== Change the default install directory of AppServ == | == Change the default install directory of AppServ == | ||
| Line 16: | Line 41: | ||
* start the AppServ service: Apache & MySQL services. And good luck! | * start the AppServ service: Apache & MySQL services. And good luck! | ||
== References == | |||
<references /> | |||
related page: [[XAMPP]] | related page: [[XAMPP]], [[Troubleshooting of PHP errors]] | ||
[[Category:Server]] [[Category: | [[Category:Server]] [[Category:Web server software]] | ||
Latest revision as of 11:43, 16 February 2024
Upgrade AppServ[edit]
| AppServ | v.2.5.10 -> 2.6.0 |
- backup folder X:/AppServ/
- backup the PHP configuration file which located C:\Windows\php.ini
- backup the MySQL data which located X:/AppServ/MySQL/data
- stop the Apache & mysql services
install the AppServ installer
change the configuration file
- PHP config file: copy the file X:/AppServ/php6/php.ini-recommended and copy to C:\Windows\php.ini
- If any change of the PHP config file, you need to restart the Apache service
- To verify your change of PHP config file, you can use PHP: phpinfo to output information about PHP's configuration or type php -m to show the loaded modules in console mode[1]
- (optional) enable the MySQL modules
extension=php_mysql.dll extension=php_mysqli.dll extension=php_pdo.dll extension=php_pdo_mysql.dll
Change the default install directory of AppServ[edit]
| AppServ | v.2.5.10 |
Change the default install directory of AppServ from C:\AppServ to X:\AppServ
- Stop the AppServ service: Apache & MySQL services
- Move the files from C:\AppServ to X:\AppServ
- change the path of configuration file: httpd.conf, my.ini & php.ini
- search the string: C:/AppServ/ and replace with the new path: X:/AppServ/
- change the registry (path of service)
- input Windows + r to open the console window
- and input regedit to launch the registry editor
- search the string: C:\AppServ\ and replace with the new path: X:\AppServ\
- close the registry editor
- start the AppServ service: Apache & MySQL services. And good luck!
References[edit]
related page: XAMPP, Troubleshooting of PHP errors