|
|
发表于 2009/8/7 13:30:16
|
显示全部楼层
***************New Installations***************
Note: It is worth printing this document off and checking off the steps as you go.
Pre-requisites:
- A working PHP web server - v 5.0 or later - with support for mysql or postgres databases, gd, gettext and ftp
- A working MySQL or Postgres server (MySql version 4.1 or above - innodb tables must be enabled - this normally requires modifying your my.cnf file (normally under /etc/my.cnf or the mysql data directory - see the MySQL manual).
Installing these components are well covered elsewhere - but if you need to install these components the recommended solution under windows would be to download and install apache2triad - http://apache2triad.net/ or under windows or *nix download and install XAMP - http://www.apachefriends.org/en/xampp.html
PHP must have the register globals configuration parameter set to off. This is the default (now). This flag can be set in the php.ini on the server. If it can't be changed, it is possibe for apache web servers to create a file called .htaccess. A .htaccess file is included in the webERP directory that ensures the register_globals flag is set to off for those web-servers that support .htaccess files.
In addition the magic_quotes_gpc setting must also be set to off. This is a configuration parameter in the php.ini file on the web-server. If you don't have access to the web-server's php.ini, then the webERP distribution has an .htaccess file to ensure that this is set to off for apache servers and thos other servers that look at the parameters in the .htaccess file. If magic_quotes_gpc is not set to off then this can leave annoying "\" characters in some fields otherwise webERP works as normal.
One more issue with php setup - by default the setting session.use_cookies is set to 1, if it is set to 0 this can also cause problems.
There are a number of traps with PHP installation depending on the web-server - see http://www.weberp.org/wikidocs/F ... estionsInstallation
The system is developed using MySQL. webERP was also tested up to version 3.05 with the Postgres database server. Postgres is no longer supported due to lack of support for testing with postgres and writing upgrade scripts. Instructions here are for mysql.
weberp要求:
1. magic_quotes_gpc为Off
2. register_globals 为off
你的虚拟空间限制了吧,所以上面就说了,可以用根目录下面不是那个.htaccess修改
自带的.htaccess文件里面果然是:
php_flag magic_quotes_gpc off
php_flag register_globals off
但是系统php.ini里面不允许啊,所以你500你了
修改.htaccess看看
很巧,今天安装碰到一样问题了 |
|