You are not logged in.
Pages: 1
Hello,
When making the GLPI configuration I get:
CAS extension test CAS extension is not present
Does anyone know how to activate it?
You have to activate it in PHP?
Thank you
Offline
Hello,
What is your Operating System?
If it is linux Debian or Centos.
Centos
# yum -y install php-cas
Debian
# apt install php-cas
Att,
Márcio Machado
Brasília-DF / Brasil
Offline
Hola,
El sistema es windows server 2012 R2
Gracias
Offline
If you don't use CAS authentication, you can click on continue button, it's an optional dependency.
If you really need it on windows, the most easy way to install the lib is to have composer tool installed (see https://getcomposer.org/doc/00-intro.md … n-windows)
And with cmd, in glpi folder, just run:
composer require jasig/phpcas
Offline
Hi,
I have performed the steps indicated and I have called composer.
Now when accessing the localhost I get the following message:
Run "composer install --no-dev" in the glpi tree.
To install composer please refer to https://getcomposer.org/
That I have to do?
Thanks
Offline
Could you check the presence of the file composer.lock in glpi folder and if exists remove it
Offline
Hi,
I have deleted the file composer.lock.
Now the whole test is ok, but I do not see how to continue, it stays on that screen?
Offline
Coud you do a screenshot ?
Offline
How can I upload a screenshot to the forum?
I do not see how I can do it.
Offline
use an external tool, like https://snag.gy/ and post the link
Offline
Offline
Files to delete also if presents:
- composer.json
- .composer.hash
and retest.
Here is the full tutorial to install phpcas on windows server (as i did it entirely myself this morning):
- install composer on your windows (https://getcomposer.org/Composer-Setup.exe)
- in glpi folder, with cmd, do
composer require jasig/phpcas
- if you are using an official archive (for development skip this step), remove composer.json, composer.lock and .composer.hash (this one should be already not present) files.
- Extension is installed and should be detected by GLPI
Offline
when installing composer I get the following error:
Program Output:
PHP Warning: PHP Startup: Invalid library (appears to be a Zend Extension, try loading using zend_extension = php_opcache.dll from php.ini) in Unknown on line 0
Inside the file php.ini I have the extension activated:
[opcache]
zend_extension = "C: \ Program Files (x86) \ PHP \ v7.2 \ ext \ php_opcache.dll"
[PHP_OPCACHE]
extension = php_opcache.dll
Offline
i think it's not relative to phpcas.
But, try to comment the zend_extension line (one issue at a time)
Offline
How can install CAS extension in xampp
check the attached image CAS Extension Issue
Offline
How can install CAS extension in xampp
check the attached image CAS Extension Issue
Offline
Your link is private and you can check my post above in this topic to know how to install cas in GLPI 9.3 with Xampp
Offline
Files to delete also if presents:
- composer.json
- .composer.hashand retest.
Here is the full tutorial to install phpcas on windows server (as i did it entirely myself this morning):
- install composer on your windows (https://getcomposer.org/Composer-Setup.exe)
- in glpi folder, with cmd, docomposer require jasig/phpcas
- if you are using an official archive (for development skip this step), remove composer.json, composer.lock and .composer.hash (this one should be already not present) files.
- Extension is installed and should be detected by GLPI
Thanks. I've installed the CAS extension thsi solution.
Offline
Notice: CAS library is optional.
Most users don't need it.
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
Hello
found the package in the fedora repositories installing as follows:
yum -y install php-pear-CAS
Offline
Pages: 1