本地运行良好的代码拷贝到linux服务器访问不了 [ 求助交流 ]
我把在我本地运行良好的代码原原本本拷贝到linux服务器下,却发现访问不了,本地是apache服务器,linux上是NG服务器。 http://本地域名/index 访问正常 http://linux服务器域名/index 显示404
求大神解惑
共 4 条回复
-
说明环境不一样,服务器配置一样吗?项目php所需的模块都开启了吗? 看另外看错误日志
共 1 条回复Check conclusion:
PHP version: OK
Reflection extension: OK
PCRE extension: OK
SPL extension: OK
MBString extension: OK
OpenSSL extension: OK
Intl extension: WARNING!!!
Required by: Internationalization support
Memo: PHP Intl extension 1.0.2 or higher is required when you want to use advanced parameters formattingin Yii::t(), non-latin languages with Inflector::slug(), IDN-feature of EmailValidator or UrlValidator or the yii\i18n\Formatter class.
ICU version: WARNING!!!
Required by: Internationalization support
Memo: ICU 49.0 or higher is required when you want to use # placeholder in plural rules(for example, plural in Formatter::asRelativeTime()) in the yii\i18n\Formatter class. Your current ICU version is INTL_ICU_VERSION.
Fileinfo extension: WARNING!!!
Required by: File Information
Memo: Required for files upload to detect correct file mime-types.DOM extension: OK
PDO extension: OK
PDO SQLite extension: OK
PDO MySQL extension: OK
PDO PostgreSQL extension: WARNING!!!
Required by: All DB-related classes
Memo: Required for PostgreSQL database.Memcache extension: OK
APC extension: WARNING!!!
Required by: ApcCacheGD PHP extension with FreeType support: OK
ImageMagick PHP extension with PNG support: WARNING!!!
Required by: Captcha
Memo: Either GD PHP extension with FreeType support or ImageMagick PHP extension with PNG support is required for image CAPTCHA.Expose PHP: WARNING!!!
Required by: Security reasons
Memo: "expose_php" should be disabled at php.iniPHP allow url include: OK
PHP mail SMTP: OK
Errors: 0 Warnings: 7 Total checks: 21
这样的warning会导致不可运行么?
feiliu
最后登录:2016-03-07
在线时长:3小时10分
- 粉丝1
- 金钱55
- 威望0
- 积分85