Bonne année à tous et Merci pour l'aide apportée,
J'ai installé phprojekt version 5.0 dans une ibays php50, mais même en appliquant les lignes de commande suivantes comme indiqué sur le site de Grand'Pa, je n'arrive toujours pas à importer une liste de contacts.
/sbin/e-smith/db accounts setprop php50 PHPBaseDir /home/e-smith/files/ibays/php50 :/tmp/
/sbin/e-smith/signal-event ibay-modify php50
D'après ce que j'ai vu sur différents sites, phprojekt nécessite un accés en écriture au dossier /tmp, j'ai bien créé le dossier upload en écriture pour tous, mais rien......
Par contre j'ai trouvé un how-to :
[size=9]Installation of PHProjekt
PHProjekt is a modular application for the coordination of group activities and to share informations and document via intranet and internet. Components of PHProjekt: Group calendar, project management, time card system, file management, contact manager, mail client and 9 other modules. http://www.phprojekt.com
This works on E-Smith 5.1.2 with all current blades installed as of March 27, 2002. This is after the PHP uploads problem was addressed by E-Smith. I am using Projekt version 3.2
1.Download the latest PhProjekt from http://www.phprojekt.com
a.You will have to download the appropriate file, then copy to your server.
2.PhpMyAdmin must be installed. If you do not have it installed, follow the directions below, otherwise, skip to #3.
a.Login as root
b.Download the installation files:
i.“wget http://myezserver.com/
downloads/
mitel/
contrib/
phpmyadmin-2.2.3/
dmc-mitel-phpmyadmin-2.2.3-1.noarch.rpm
c.Install the rpm
i.“rpm –Uvh dmc-mitel-phpmyadmin*.rpm”
3.Create MySQL Database and Securing MySQL access
a.Browse to “https://your-server/phpmyadmin”
b.Create New Database.
i.Enter Name: “projekt”
ii.Click Create
c.Click Home, then click Users
d.Add a new user:
i.Any Host
ii.UserName: projekt
iii.Password: (Something Hard, it won’t be used much)
NOTE: Remember this data, you will need it when you run setup.php
e.Click “Check All”
f.Click “Go”
g.Click “Home”
h.Click “Reload MySQL”
i.Click “Users”
j.Click “Grants” of the user that you just created
k.Click “Revoke Priveleges”
l.Click “Reload MySQL”
m.Click “Grants” of the user that you just created
n.Click “Revoke Grant”
o.Click “Reload MySQL”
p.Click “Grants” of the user that you just created
q.Select the “projekt” database from the drop-down box
r.Click “Check All”
s.Un-check “Grant”
t.Click “Go”
u.Click “Home”
v.Click “Reload MySQL”
4.Make the installation directory, copy the files, and extract
a.“mkdir –p /opt/groupware”
b.“cp phprojekt.tar.gz /opt/groupware”
c.“cd /opt/groupware”
d.“tar –xzf phprojekt.tar.gz”
e.“rm –f phprojekt.tar.gz”
5.Create Upload directory
a.“mkdir –p /opt/groupware/phprojekt-3.2/upload”
(Depending on your Phprojekt version, the directory above may be different)
6.Set permissions on the directory
a.“cd phprojekt-3.2”
b.“chown –R www:www .”
(Do not overlook the “.” At the end.
7.Make a custom template for httpd.conf
a.Create the directory
i.“mkdir –p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf”
b.Change to the new directory
i.“cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf”
c.Create config file
i.“pico projekt”
d.Type the following into the file (Each line up to the next bullet.):
#-------------------------------------------
# Project 3.2
#-------------------------------------------
Alias /projekt /opt/groupware/phprojekt-3.2
<Directory /opt/groupware/phprojekt-3.2>
AddType application/x-httpd-php .php .php3 .phtml
Options Indexes +Includes FollowSymLinks
AllowOverride Options FileInfo
order deny,allow
deny from all
allow from all
</Directory>
e.Save and Exit
i.CTRL X to exit, Y to Save, ENTER to keep the name
f.Expand the template
i.“/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf”
g.Restart httpd
i.“service httpd restart”
8.Browse to http://hostname/projekt/setup.php
a.Choose the Action and click Submit
b.Host: localhost
c.Username: The name you choose in PhPMyAdmin
d.Password: The password you choose in PHPMyAdmin
e.Name of Database: The database name you entered in PhPMyAdmin
9.You should get a series of config options and status reports. Explanations can be found in /opt/phprojekt-3.2/doc/en.
(Don't forget to improve the root password. )
(Most settings can be altered by editing config.inc.php in the projekt root.)
Erratum:
LDAP: You will probably want to disable (0) LDAP. I never could get it to work. You will get a 'you are not allowed to enter' error and may see 3 columns of login screens. If you figure it out please email me. May be possible to enable by adding ldap specifics to ldapconf.inc.php in lib directory. Just noticed those are not set properly. Will test ASAP.
Mail Attachments: Do not work unless you create a folder called "attach" inside the projekt root folder with owner www:www and RWX-RW permissions. This folder is not automatically created. (Version 3.2 or later does create this.)
Speed Boost for dialup clients: Edit php.ini in /etc. Set "output_buffering =On and set "output_handler=" to "output_handler=ob_gzhandler". Browser must support deflate encoding.
It might be a good idea to delete/move the /opt/groupware/phprojekt-3.2/setup.php file. Once the system is setup, the setup.php file will prompt for a password. But, the system would be more secure if it wasn’t available.
Login by browsing to http://hostname/projekt/index.php
[/size]
Et là ça marche.
Par contre que pensez-vous de la sécurité du serveur avec ce type d'installation ?
Merci pour toutes les remarques
PAscal Lucas