CentOS 7 - permission error when running through Apache


#1

Hi,

We use LexActivator in a PHP server app. Since wrapper is not available for PHP we invoke C++ exe to activate and get the license status. It works fine from commandline, but when run through server we get LA_E_PERMISSION error.


#2

Hi,

Apache user on CentOS doesn’t posses a user directory. You need to execute following commands to add a user directory for Apache user, where LexActivator can store the activation data.

systemctl stop httpd
usermod -d /home/apache apache
systemctl start httpd