|
Législation |
DocumentationAttention, ce progamme vous est donné sous licence GNU GPL. Il n'est accompagné d'aucune garantie. Vous l'utilisez à vos risques et périls.
- Installation en 10 minutes
- Qu'est-ce que PhpCompta ? - Fonctionnalités - Manuel - Foire aux questions - Manuel d'installation - Apache - Installation avec lighthttpd - Ubuntu - Pour windows XP SP2 - Liens Installation en 10 minutes
Qu'est-ce que PhpCompta ?
PhpCompta est un logiciel GPL adapté à la législation belge en matière de comptabilité. Il vous permet de tenir votre comptabilité de manière centralisée. Il a été créé pour supporter la comptabilité d'autres pays mais par manque de documentation - contribution, aucune autre comptabilité n'est encore offerte. Idem pour les traductions. Fonctionnalités
Manuel
Foire aux questions
Manuel d'installation
Dans le répertoire html et html/admin, il y a un fichier .htaccess paramètre aussi l'application mais il n'est pas pris en considération par toutes les installations. ATTENTION, sous Windows, dans ces fichiers, les valeurs suivantes doivent être remplacées ainsi : * php_value include_path=".;..\include;..\..\include;addon;"
* php_value session.save_path /tmp remplacer /tmp par un répertoire temporaire qui existe (ex c:\temp)
Apache
Il est possible d'utiliser les virtual hosts ainsi
<VirtualHost *>
Servername ...
DocumentRoot /var/www/acapulco/htdocs
<Directory /var/www/acapulco/htdocs/phpcompta/html/>
AddDefaultCharset iso-8859-1
php_value include_path .:../../include:../include:addon
php_flag magic_quotes_gpc off
php_flag session.auto_start on
php_value session.save_path /tmp
php_value max_execution_time 120
php_flag short_open_tag on
php_flag session.use_trans_sid on
</Directory>
</VirtualHost>
Installation avec lighthttpd
1. Define a phpCompta host in lighttpd.conf, usually in /etc/lighttpd/ In my expample, the host name is "compta". Add this to lighttpd.conf
$HTTP["host"] =~ "^compta$" {
simple-vhost.document-root = "/phpcompta/html"
fastcgi.server = ( ".php" => ((
"bin-path" => "/usr/bin/php-cgi -c /var/www/compta/php.ini",
"socket" => "/tmp/php.socket"
"broken-scriptfilename" => "enable"
)))
}
The magic is to give a specific php.ini for this virtual host. 2. Add the php.ini The address for the file must match the -c parameter of the bin-path above.
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
max_execution_time = 60
[Session]
session.save_handler = files ; handler used to store/retrieve data
session.save_path = /tmp ; argument passed to save_handler
; in the case of files, this is the
; path where data files are stored
session.use_cookies = 1 ; whether to use cookies
session.name = PHPSESSID
session.auto_start = 1 ; initialize session on request startup
session.cookie_lifetime = 0 ; lifetime in seconds of cookie
session.cookie_path = /tmp ; the path the cookie is valid for
allow_call_time_pass_reference = on
register_argc_argv = on
session.bug_compat_42 = 1
session.bug_compat_warn = 0
session.use_trans_sid = 1
include_path=".:/var/www/compta/phpcompta/include:/var/www/compta/phpcompta/addon"
In this setup, the directory /var/www is the usual simple-vhost base adress to which gets added the hostname, compta in my exemple. There, I have untar'ed the distribution file and have the lighttpd.conf point to the html directory. Ubuntu
http://forum.ubuntu-fr.org/viewtopic.php?id=128671 Pour windows XP SP2
Télécharger les softs nécessaires pour windows EasyPhp et postgresql 8.2 Attach:phpcompta-installation-sous-xp-SP2.odt Liens
|