7
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

レンタルサーバーでPhalcon

Last updated at Posted at 2016-01-14

さくらレンタルサーバーで Phalcon をインストールした時の覚書

1.適当なディレクトリを作って、権限なしでインストールするとエラーになります。

git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
sh install

Configuring for:
PHP Api Version: 20100412
...

Build complete.
Don't forget to run 'make test'.
Installing shared extensions: /usr/local/php/5.4/lib/php/extensions/no-debug-non-zts-20100525/
cp: /usr/local/php/5.4/lib/php/extensions/no-debug-non-zts-20100525/#INST@93826#: Permission denied
*** [install-modules] Error code 1
Stop in /home/dgdg/tmp/phalcon/cphalcon/build/64bits.

2.コンパイルは完了しているので、出来た phalcon.so を PHP の extension_dir 用ディレクトリにコピーします。

cp cphalcon/build/64bits/modules/phalcon.so /home/xxx/lib/php_extension/

3.php.iniの設定

extension_dir=/home/xxx/lib/php_extension/
extension = phalcon.so

参考にした情報

7
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?