0

いくつかのシナリオでは、いくつかのclass.phpが実行されていないため、お尋ねしたいと思います。たとえそれが完全な許可を得ているとしても、サンプルです。

私はLinux PCを持っています。class.php ファイルを作成するたびに。私はそれを次のように変更しました:

sudo chmod -Rf 777 file.class.php

その後。私のローカルホストで動作します。しかし、FileZillaを使用してファイルを他のサーバーに転送すると、実行されていません。File Zillaでフルパーミッション777を持っていても。

この背後にある理由を説明できる人はいますか? なぜそれが実行されているのかを上司に説明することはできませんが、私のlocalhost / PCでは実行されています。そして、それらはその中に同じファイルとコードを持っています。

私を助けてください..どうもありがとうございました。

4

1 に答える 1

0

It's possible that your server automatically modifies the permissions of the file when you upload it even when you have it set to something in filezilla. I know that Windows with NTFS can sometimes strip permissions off of a file depending on how you copy/move the file. This might be what is happening with your linux computer.

于 2013-02-21T02:55:03.787 に答える