I am using phpbrew have installed specific php version use:
phpbrew install 5.3.10 +default +apxs2=/usr/bin/apxs2
show me a information:
Apache module dir /usr/lib/apache2/modules is not writable.
Please consider using chmod or sudo.
i have no idea how to do that.if someone can help me, it will be great! Thanks!
It means the user you're running as does not have permissions to modify the directory /usr/lib/apache2/modules
, which is necessary to do the installation. You're advised to either modify the permissions of the directory using chmod
(bad idea unless you know what you're doing) or to run the command with superuser credentials via sudo
:
$ sudo phpbrew install 5.3.10 +default +apxs2=/usr/bin/apxs2
Try to run same command using sudo
sudo phpbrew install 5.3.10 +default +apxs2=/usr/bin/apxs2