
前提・実現したいこと
fuelPHPをzipファイルでインストールしましたが,teraterm側でインストールしてunzipをすると,zipフォルダが見つからないと出たので,windows側で直接サーバーで参照しているファイルに展開して,teraterm側でphp oil serverをコマンドしたいのですが,could not open
と出てしまい,どこから直せばよいのかわかりません.
参考にしたサイト
参考にしたサイトではzipファイルをインストールすると,そのままサーバーができると書いてありますが,unzipのところで認識されませんでした.原因としてはどのようなことが考えられるでしょうか?
phpのバージョンは5.4.16を使用しています.
phpinfoでサーバーにアクセスできること確認しています.
どなたか教えていただけないでしょうか?
###エラー内容
[vagrant@localhost ~]$curl http://fuelphp.com/files/download/41 -o fuelphp-1.8.1.zip && unzip fuelphp-1.8.1.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 249 100 249 0 0 282 0 --:--:-- --:--:-- --:--:-- 283 Archive: fuelphp-1.8.1.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of fuelphp-1.8.1.zip or fuelphp-1.8.1.zip.zip, and cannot find fuelphp-1.8.1.zip.ZIP, period.
###中身
[vagrant@localhost ~]$ ls -l insgesamt 36 -rwxr-xr-x 1 vagrant vagrant 450 16. Jul 2015 base.sh -rwxr-xr-x 1 vagrant vagrant 118 16. Jul 2015 cleanup.sh -rw-rw-r-- 1 vagrant vagrant 249 9. Jun 02:38 fuelphp-1.7.3.zip -rw-rw-r-- 1 vagrant vagrant 249 8. Jun 18:35 fuelphp-1.8.1 -rw-rw-r-- 1 vagrant vagrant 249 9. Jun 03:50 fuelphp-1.8.1.zip -rwxr-xr-x 1 vagrant vagrant 360 16. Jul 2015 puppet.sh -rwxr-xr-x 1 vagrant vagrant 674 16. Jul 2015 vagrant.sh -rwxr-xr-x 1 vagrant vagrant 260 16. Jul 2015 virtualbox.sh -rwxr-xr-x 1 vagrant vagrant 105 16. Jul 2015 zerodisk.sh
###再実行内容
[vagrant@localhost ~]$ sudo yum -y install httpd sudo systemctl start httpd.service //curlのインストール sudo yum -y install curl //ファイアーウォールの削除 sudo systemctl stop firewalld sudo systemctl disable firewalld //phpのインストール sudo yum -y install php php-mbstring //シンボリックの反映 sudo rm -rf /var/www/html sudo ln -fs /vagrant /var/www/html //unzipのインストール sudo yum -y install unzip //fuelPHPのインストール curl http://fuelphp.com/files/download/41 -o fuelphp-1.8.1.zip && unzip fuelphp-1.8.1.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 249 100 249 0 0 391 0 --:--:-- --:--:-- --:--:-- 391 Archive: fuelphp-1.8.1.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of fuelphp-1.8.1.zip or fuelphp-1.8.1.zip.zip, and cannot find fuelphp-1.8.1.zip.ZIP, period.
curlでうまくインストールできていないみたいです.
phpモジュールの確認
[vagrant@localhost ~]$php -m [PHP Modules] bz2 calendar Core ctype curl date ereg exif fileinfo filter ftp gettext gmp hash iconv json libxml mbstring mhash openssl pcntl pcre Phar readline Reflection session shmop SimpleXML sockets SPL standard tokenizer xml zip zlib

