Nethence Documentation Lab Webmail Your IP BBDock  

Those documents are obsolete, please use the Nethence Documentation instead.


Phpcompta installation on RHEL5
Prepare the system
Install those packages,
yum install \
postgresql-server \
postgresql-pl \
postgresql \
php-pgsql \
RHEL5 provides PostgreSQL 8.1 which isn't entough for Phpcompta. Install PostgreSQL 8.3 ( and check it is started,
/etc/init.d/postgresql-8.3 status
And proceed,
su - postgres
cd /opt/PostgreSQL/8.3/bin
./createlang plpgsql template1
create user USERNAME createdb password 'PASSWORD';
and logout from "postgres",
You're now "root" user again. Fix PostgreSQL configuration,
cd /opt/PostgreSQL/8.3/data
cp pg_hba.conf pg_hba.conf.dist
vi pg_hba.conf
local all all md5
host all all md5
host all all ::1/128 md5
Deploy the website
Extract the archive into the desired directory,
tar xzf phpcompta-4.3-build-2462.tgz -C /home/www
mv phpcompa
create a temporay folder and set the permissions,
chown -R apache:apache
Configure Apache e.g.,
<VirtualHost *:80>
DocumentRoot /home/www/
CustomLog /var/log/httpd/compta.example.com_access.log common
ErrorLog /var/log/httpd/compta.example.com_errors.log
<Directory "/home/www/">
AddDefaultCharset utf-8
php_value include_path .:../../include:../include:addon
AllowOverride All
note. the "html/" directory isn't the website's root dir.
note. it could be interesting to try an alias to hide that "html/" dir.
And apply,
service httpd reload
Point your browser to your URL e.g. . Once configured, the default frontend login and password are,
(FR) Phpcompta
(FR) Manuel d'utilisation
(FR) Tutoriel 2 : Installer rapidement sous Unix
Download PostgreSQL 8.x

Last update: May 12, 2009