You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2008-03-16 10:38:36

tal
Member
Registered: 2008-03-06
Posts: 28

error in mas_ocs_import

I tried to do test ,in one computer the command sh ocsng_fullsync.sh runs ok but in the second showed the error:ocsng_fullsync.sh: line 12: php: command not found,
what can be the problem?

Offline

#2 2008-03-16 11:15:57

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: error in mas_ocs_import

the right common line is : sh ocsng_fullsync.sh (and not php ocsng_fullsyn.sh)
run it using the apache user !

Offline

#3 2008-03-16 11:16:12

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: error in mas_ocs_import

tal wrote:

ocsng_fullsync.sh: line 12: php: command not found,

Quite simple : PHP is not in your PATH (or command line not installed)

And please read : http://glpi-project.org/forum/viewtopic.php?id=5651

++

Last edited by remi (2008-03-16 11:18:09)


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#4 2008-03-16 14:15:10

tal
Member
Registered: 2008-03-06
Posts: 28

Re: error in mas_ocs_import

I guess i have no php command line ,can you give direction to recieve the files to install?

Offline

#5 2008-03-16 15:52:56

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: error in mas_ocs_import

NO.

Read my previous post.
Without any information about your distro we can't help you.

Last edited by remi (2008-03-16 15:53:03)


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

Board footer

Powered by FluxBB