Project management Prerequisites-the deployment and configuration of a open source version of the Zen Road Project management System

Source: Internet
Author: User
Tags create directory php language blank page fully qualified domain name

Recently remembered to standardize software development process, so must find a project management artifact. Google, Baidu crazy search a lot of, and finally locked the Zen road. Zen Road is the first domestic excellent open source project management software, open source, on these two words I will decisively, not hesitate to choose it. Because of writing PHP is still in college, and then did not touch, so in the deployment of the time also encountered a lot of small problems, from the beginning, in this record. Here's my deployment process (some of the steps are copy-optimized):
first, deploy the Apache server

The popularity of Apache servers I would not like to introduce, and various versions. My PC is win8.1 64bit, so I did not hesitate to choose Apache 64bit.
1, download Apache 64bit

Through the Apache website and search the information, as I sent the article before, or did not find the version of the bit, I am sure that Apache has not launched the bit version, that should be good. Another search, the master in the folk sincerely true, there are big God produced 64bit version, direct configuration can be used: https://blackdot.be/download-archive/download Httpd-win64 2.2.19 version of the OK.


There are other dependent software, interested students can download the study.
2, Apache decompression

Download the installation package Httpd-2.2.19-win64.rar, there is no installer, extract to the desired location (my location D:\Application\Apache2.2.19). 3, Apache configuration

Apache is configured primarily to modify the configuration file "D:\Application\Apache2.2.19\conf\httpd.conf".

Note that the path must use the left slash "/" serverroot  "/httpd-2.2-x64"   Change to ServerRoot "d:/application/apache2.2.19"

listen 80  to listen 8080 #  port, if IIS is turned on, 80 ports will not be able to use the   documentroot  "/httpd-2.2-x64/ Htdocs "  changed to documentroot " D:/application/apache2.2.19/htdocs "  #放置网站文件的路径   DirectoryIndex  index.html  change to directoryindex index.html index.htm index.php  #加入index. php,php default Page   scriptalias /cgi-bin/  "/httpd-2.2-x64/cgi-bin/"   changed to scriptalias /cgi-bin/  "D:/ application/apache2.2.19/cgi-bin/"  <Directory "/httpd-2.2-x64/htdocs "> Changed to <Directory " D :/application/apache2.2.19/htdocs ">   will loadmodule rewrite_module modules/mod_rewrite.so before the # removed Remove the include /_httpd/test.conf line (if you don't have it)   add servername 192.168.*.* after servername comments (localhost corresponding IP ): 8081

Otherwise it will be an error when executing the command later. (Error:could not reliably determine the server ' s fully qualified domain name).
4, Apache installation

Start installation, run cmd as admin, enter directory "D:\Application\Apache2.2.19\bin";
Execute command: Httpd.exe-k install (add Apache to system service, default service name is Apache2.2)

Execute command: Httpd.exe-k start (Run service)
Error 1:apache:you don ' t have permission to access/on this server.
Solution: I met here is the http.conf file DocumentRoot "d:/application/apache2.2.19/htdocs/zentaopms/www/" path is wrong, correct on the line, and maintain the same path here <directory "d:/application/apache2.2.19/htdocs/zentaopms/www/" >.
5. Apache Service Test
After installation, test installation is successful: Open the browser, enter: http://localhost:8081 if It works. Describes a successful installation. If it cannot be displayed, the error is found. Error 2: httpd.exe-k install prompt <os 5> denied access while executing command: : Failed to open the WinNT service Manager.
Workaround: The software is installed with Windows7 User Account Control (UAC) conflict, as long as the first shutdown UAC (Control Panel-user account and home security-system and security-action Center, which has "change user Account Control Settings", Change to never notify, after completion will be prompted to restart, At this point need to restart the installation will be no problem, after installation can be modified back.
Error 3: Or you may receive the following error:
Forbidden
You don ' t have permission to access/on this server.
The directory modified or the above problem, in addition to the httpd.conf inside the deny from the all to allow from all, again determine the other parameters of the path.

PHP installation PHP also has no official 64-bit, so also downloaded predecessors to modify the compiled.1, download the addresshttp://download.csdn.net/detail/yawanglazi/4842618 download Php-5.2.5-x64-2007-11-12.zip.2, decompression installationCopy all the contents under the php-5.2.5 (x64) folder to a certain path, and my path is "D:\APPLICATION\PHP5".3. Deployment ConfigurationModify Apache's configuration file "D:\Application\Apache2.2.19\conf\httpd.conf".
Under the #loadmodule vhost_alias_module modules/mod_vhost_alias.so line, add:
LoadModule php5_module "D:/application/php5/php5apache2_2.dll" #加载apache模组
Phpinidir "D:/APPLICATION/PHP5" #这是php所在的路径

Under AddType application/x-gzip gz. tgz, add the following:
AddType application/x-httpd-php. php
AddType application/x-httpd-php. HTML #. html,. php for executable PHP language Extensions Note: x-httpd-php. PHP and x-httpd-php. html "." There is a space ahead4. Copy the following files to C:\Windows\System32:D:\Application\php5\php5ts.dll
D:\Application\php5\php5isapi.dll
D:\Application\php5\php5apache2_2.dll
D:\Application\php5\ext\php_mysql.dll
D:\Application\php5\ext\php_mysqli.dll
D:\Application\php5\libmysql.dll5, "D:\Application\php5\php.ini-dist" file name modified to PHP.ini, and make the following modifications:Modify Extension_dir = "./" for
Extension_dir = "D:\Application\php5\ext" # Specifies the directory of the Dynamic Connection library

By removing the semicolon (note) method, load the following DLL:
Extension=php_gd2.dll
Extension=php_mysql.dll
Extension=php_oci8.dll (Oracle database)
Extension=php_pgsql.dll (Postgre database)
Extension=php_zip.dll

Modify session settings Modify; Session.save_path = "/tmp" is Session.save_path = "d:/application/php5/custom/session" (Note create directory, When you put Zen morals, you will be prompted with errors. )
Configure the temporary folder path for PHP: Modify Upload_tmp_dir = Upload_tmp_dir = "D:/php/custom/upload"

Short_open_tag = On this option to choose whether to open a shortened label that is: support6. Test whether the installation is successfulIn the "D:\Application\Apache2.2.19\conf\htdocs" file, create a new index.php file with a file content of: <?php phpinfo ();?>
Restart Apache: Enter the "D:\Application\Apache2.2.19\bin" directory in cmd: Execute command: Httpd-k shutdown (Turn off Apache) httpd-k Restart (restart Apache) Open http://localhost:8080 If you can see the configuration information for the output PHP, the installation is successful.
third, the installation of MySQL (online data is huge, not repeated here) Iv. The deployment of Zen RoadFinally to the point, did PHP development, the deployment of open source version should not have much difficulty, but for no contact with PHP and want to use the open source version of the problem, record, lest the same detours.
1, Zen Road-Download Official website: www.zentao.net/is easy to download to the latest version, currently the latest is: Zentaopms.6.2.stable.zip, strongly recommend the latest version.
2, Zen Road-Deployment Decompression Zentaopms.6.2.stable.zip to the Apache server "D:\Application\Apache2.2.19\htdocs" path can be.
3, Zen Road-InstallationConfigure the input "http://localhost:8080" into insall.php and start the installation:

Error 4:pdo extension, Pdo_mysql extension not loaded, mainly because the configuration is not enabled in the PHP configuration file.
Solution: Enter the PHP installation directory "D:\APPLICATION\PHP5", open the My.ini file to learn to modify the OK:

Error 5:session Storage directory does not exist and cannot be written.
Workaround: Enter the directory "D:\Application\php5\custom" to see if the directory Sessio and upload have been created.
A refresh will allow you to enter the next step.
Next, follow the steps ...
Error 6: When you install the data table to the last step, that is, after the data table was created to jump to www/index.php, and displayed as blank, how to see the system installation error message.
Workaround: Open the Config\php.config and set the debug variable to true: Refresh the next blank page with the following error message:


Check the settings for the session save path in the php.ini file. Make sure that the directory exists and can be read and writable. Then remove the my.php and reinstall it OK. The following is the use of demo account identity landing in the effect:

Five, the conclusion in the deployment process, each link has encountered some problems, simply their own analysis + previous shade has been resolved, sharing is a virtue, support open source power.

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.