I’m a bit hazy about this whole thing. I have php installed at the root account level, I know that so I’m not particularly sure that each user account is running its own seperate instance of a PHP.ini. I want to tail the logs while debugging on the server. So I merrily looked for the php.ini and then found that there were 4! If there is more than one ini there must be more than one version of php running. When I tried to specify a specific file for the errors to be logged to I was unsure how to establish on relatively to the specific user account. Since the php.ini is in the /etc folder or something like that, how can I make the log be specific to the user account like ~usr/var/logs/php_error.log
What process must I go through to establish:
- Which PHP .bin a user account is running.
- A users existing php_error.log.
- Specify a new relative php_error.log for a user.