How to deal with it?-bash: /usr/local/php72/lib/php.ini: Permission denied

Hello,

You should NOT try to execute it, it's not either an executable script or program.

What do you try to do ?
 
If I'm not mistaken, he is trying to raise the upload and filesize limits (maybe timeout too), as seen from his other post.

But he has to edit the file, not execute it.
 
he is trying to raise the upload and filesize limits (maybe timeout too), as seen from his other post.

OK, I see.

How to deal with it?-bash: /usr/local/php72/lib/php.ini: Permission denied

Use DirectAdmin for editing the file:

1. Connect as admin
2. System Info & Files -> File Editor
3. Find "/usr/local/php72/lib/php.ini" -> click on it
4. Modify the file
5. Save changes
6. Restart PHP-FPM

Please note, mistakes done in the file might bring your PHP-FPM down.
 
OK, I see.



Use DirectAdmin for editing the file:

1. Connect as admin
2. System Info & Files -> File Editor
3. Find "/usr/local/php72/lib/php.ini" -> click on it
4. Modify the file
5. Save changes
6. Restart PHP-FPM

Please note, mistakes done in the file might bring your PHP-FPM down.
How to relieve the size of the upload file?
 
Back
Top