
Lauris
- Total activity 9
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 2
Activity overview
Latest activity by Lauris-
Lauris commented,
I got it working by registering my App in cPanel > Application Manager and defined env. variables there. Not sure if this is correct way to define environment variables per hostnames, but at least ...
-
Lauris commented,
From CLI it is working as it should, but if I execute that php fine in browser it does not show nothing. Do I need Apache module for that? I am using latest cPanel version and php 7.3 and 8.0
-
Lauris commented,
Hey there! This isn't really a cPanel issue, but I think we can get this working for you! You need to declare the variable first - try something like this in the PHP file: That should print...
-
Lauris created a post,
Cannot retrieve environment variables with getenv()
I added environment variables to /home/user1/.bashrc and they are available with printenv command but not in PHP with getenv(). What I am doing wrong? Content of ".bashrc": # Source global defin...
-
Lauris commented,
Same here too.
-
Lauris created a post,
Can increase memory allocation for a domain?
I just noticed problem with setting memory_limit for some specific cpanel user (customer). In previous WHM versions was ok, when I put php.ini in dir from which runs script, but now php.ini are ign...