Detailed steps for TesLlink installation and configuration

Source: Internet
Author: User
Tags postgres database testlink

I. installation and configuration of Apache

1. Double-click the apache installation file and select the path
2. After installation, enter http: \ 127.0.0.1 in the browser bar and enter it works, indicating that the installation is successful.
3. Find httpd. conf in the apache folder and double-click httpd. conf.

① Find documentroot in it and set the path following it to "C:/Apache2.2/htdocs"

The handler finds directoryindexand adds a space between index. php and Its index.html.

③ Locate # loadmodule, add the following content at the bottom of all tables, and establish a connection between PHP and Apache.

LoadModule php5_module "C:/php5/php5apache2_2.dll"
PHPIniDir "C:/php5 /"
AddType application/x-httpd-php. php
AddType application/x-httpd-php. html
Note: above D:/php5 is based on the PHP installation directory. If the decompression location is the C drive directory named php, change it

C:/php/

Save the modification.

Ii. php5.2.5 installation and configuration

1. Create a folder php5 under drive D and decompress the php5.2.5 package to this folder,

2. decompress the package and copy php_msql.dll and libmySQL. dll from the php5 directory to c:/windows/system32.
(Unsuccessful use: Copy all *. dll files under the php5 directory and all *. dll files under the ext directory)

3. Copy the php. ini-dist file to c:/windows/system32 and rename it php. ini.

4. Double-click to open php. ini.

① Locate extension_dir and change the path following it to "C: \ php5 \ ext"

② Find cgi. force_redirect = 1 and Change 1 to 0.

③ Extension = php_mysql.dll and; remove the semicolon before extension = php_mysqli.dll. That is, the function of opening the database,
Make it support saving after MySQL modification, and copy and paste the modified php. ini file to C: \ php5.
(Unavailable: enabled; extension = php_mbstring.dll

; Extension = php_mcrypt.dll)

5. Create a new file index. php, store it in C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ htdocs, and add and save the content:
<? Php
Phpinfo ();
?>
6. Restart apache

3. Install mysql5.0

1. Double-click the installation package of mysql5.0. The installation path is not limited.

2. When the user name and password are required in the installation process, the user name is arbitrary but cannot be forgotten.

3. If the database is not modified too much, you only need to remember to use it after the root password and the password. Otherwise, the database cannot be connected during installation.

Iv. Installation of testlink

1. decompress the testlink1.8.5 installation package to the C: \ Apache2.2 \ htdocs directory and name it testlink.

(Make Sure That testlinknk does not include the built-in files of testlink from the folder, and some will decompress one more folder.

2. Enter http: // localhost/testlink/index. php In the browser bar.

3. Click new testlink to go to the page for automatic installation and configuration of testlink.

4. Enter the root password in the database username field and the password used to install the database.

5. Enter any letters and numbers in testlink username and password (this is the database username and password of testlink)

6. accessed-> press-> create

7. You are prompted to create mew testlink successfully.

8. enter admin and admin to access testlink.

Error:
When testlink is installed, click "Process TestLink Setup" and an error occurs on the page:
"Checking php db extensions Warning! : Your PHP installation don't have the mysql extension mysql-without it is IMPOSSIBLE to use Testlink. Failed !"

Go back to the previous step and check the configuration and find:
Checking MySQL Database Failed! MySQL Database cannot be used.
Checking ipvs Database Failed! Postgres Database cannot be used.
Checking GD Graphic library OK
Checking LDAP library Failed! LDAP library not enabled. LDAP
 
Solution: 1) reinstall MYSQL;
2) copy the php5ts. dll file under the PHP installation directory to the C: \ window \ system32 directory.
Upload the libmysql. dll file in the PHP installation directory to the C: \ windows \ system32 \ directory.
At this time, check MySQL Database is displayed after OK
3) Check LDAP library OK
Modify the php. ini file as follows:
Extension = php_ldap.dll
4), Checking S Database Failed! Postgres Database cannot be used.
If MySQL or SqlServer is installed, you do not need to handle this warning;

Note: After modifying the php. ini configuration file, it takes effect only after the machine is restarted.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.