Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of uninitialized value $apache_proc_php in string eq #416

Open
dceonline opened this issue Mar 16, 2024 · 1 comment
Open

Use of uninitialized value $apache_proc_php in string eq #416

dceonline opened this issue Mar 16, 2024 · 1 comment

Comments

@dceonline
Copy link

Hi,

trying to use your cool script on my Cloud-Server with Debian12. Got the following Message:

Could not open input file: Found.
Use of uninitialized value $apache_proc_php in concatenation (.) or string at -
line 2524 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.

To help you figure out what was undefined, perl will try to tell you
the name of the variable (if any) that was undefined.  In some cases
it cannot do this, so it also tells you what operation you used the
undefined value in.  Note, however, that perl optimizes your program
and the operation displayed in the warning may not necessarily appear
literally in your program.  For example, "that $foo" is usually
optimized into "that " . $foo, and the warning will refer to the
concatenation (.) operator, even though there is no . in
your program.

[ -- ] Your PHP Memory Limit (Per-Process) is .
Use of uninitialized value $apache_proc_php in string eq at - line 2525 (#1)

Maybe it is a bug or a OS related error. Or i have missed to config the server correct at any point. Dont know.

regards
Ortwin

@dceonline
Copy link
Author

Hi again,

i think i know what triggers this error. Because i am not using default install of php - i only have set to php versions with php-fpm support - there is no php bin under /usr/bin/php and your script cannot get the value for the setting of memory_limit.
Can i tell your script which version of php it may use for testing purpose?

regards
Ortwin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant