我正在尝试在我的 bluehost 服务器上使用 php 安装 mongo。我 ssh 这个命令:
>pecl install mongo
它经历了整个过程,但最后我得到了这个:
Build complete.
Don't forget to run 'make test'.
running: make INSTALL_ROOT="/home1/{myhostname}/tmp/pear/pear-build-{myhostname}P2D4wf/install-mongo-1.3.7" install
Installing shared extensions: /home1/{myhostname}/tmp/pear/pear-build-{myhostname}P2D4wf/install-mongo-1.3.7/usr/lib64/php/modules/
running: find "/home1/{myhostname}/tmp/pear/pear-build-{myhostname}P2D4wf/install-mongo-1.3.7" | xargs ls -dils
22955452 4 drwxr-xr-x 3 {myhostname} {myhostname} 4096 May 4 23:52 /home1/{myhostname}/tmp/pear/pear-build-{myhostname}P2D4wf/install-mongo-1.3.7
22955521 4 drwxr-xr-x 3 {myhostname} {myhostname} 4096 May 4 23:52 /home1/{myhostname}/tmp/pear/pear-build-{myhostname}P2D4wf/install-mongo-1.3.7/usr
22955522 4 drwxr-xr-x 3 {myhostname} {myhostname} 4096 May 4 23:52 /home1/{myhostname}/tmp/pear/pear-build-{myhostname}P2D4wf/install-mongo-1.3.7/usr/lib64
22955523 4 drwxr-xr-x 3 {myhostname} {myhostname} 4096 May 4 23:52 /home1/{myhostname}/tmp/pear/pear-build-{myhostname}P2D4wf/install-mongo-1.3.7/usr/lib64/php
22955524 4 drwxr-xr-x 2 {myhostname} {myhostname} 4096 May 4 23:52 /home1/{myhostname}/tmp/pear/pear-build-{myhostname}P2D4wf/install-mongo-1.3.7/usr/lib64/php/modules
22955520 960 -rwxr-xr-x 1 {myhostname} {myhostname} 982160 May 4 23:52 /home1/{myhostname}/tmp/pear/pear-build-{myhostname}P2D4wf/install-mongo-1.3.7/usr/lib64/php/modules/mongo.so
Build process completed successfully
Installing '/usr/lib64/php/modules/mongo.so'
ERROR: failed to write /usr/lib64/php/modules/mongo.so (copy(/usr/lib64/php/modules/mongo.so): failed to open stream: Read-only file system)
我究竟做错了什么?