Ask coding questions

← Back to all posts
How can I edit the ini for my php?
h
TechPhil

I need to install some extensions from PECL in order to use some composer modules, but I can't because I don't have write permissions to the PHP configuration and installation directories.
Anyone have any idea how I can do this?

Voters
TechPhil
Comments
hotnewtop
haroldsikkema

I was able to do with by using a Nix REPL. Maybe it helps you? https://replit.com/@haroldsikkema/PHP-Development-Environment

RYANTADIPARTHI

i don't think it's possible.

Baconman321

Short story- you can't.

If you were allowed access to edit PHP.ini you could change restrictions set in place for PHP.