- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2018-3-22
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
环境是vagrant+ubuntu,安装的是一键环境包是LNMPA。我安装的新扩展是Phalcon https://github.com/phalcon/cphalcon ,php版本7.1
==============================================================
php配置如下: /usr/local/php/ext/php.ini
;只是在结尾处添加phalcon扩展而以
php -m 现实结果如下:
vagrant@vagrant-ubuntu-trusty-64:~$ php -m
[PHP Modules]
bcmath
Core
ctype
curl
date
dom
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
phalcon
Phar
posix
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
sqlite3
standard
sysvsem
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib
[Zend Modules]
现实已经正确加载phalcon扩展,且phpinfo也能输出phalcon信息。
但是我访问项目的时候就不能访问了。 error_log 信息如下:
vagrant@vagrant-ubuntu-trusty-64:~$ tail /home/wwwlogs/error_log
[Thu Mar 22 03:04:12 2018] [notice] caught SIGTERM, shutting down
[Thu Mar 22 03:04:13 2018] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Thu Mar 22 03:04:13 2018] [notice] Digest: generating secret for digest authentication ...
[Thu Mar 22 03:04:13 2018] [notice] Digest: done
[Thu Mar 22 03:04:13 2018] [notice] Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/1.0.1f DAV/2 PHP/7.1.7 configured -- resuming normal operations
[Thu Mar 22 03:28:06 2018] [notice] caught SIGTERM, shutting down
[Thu Mar 22 03:28:07 2018] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Thu Mar 22 03:28:07 2018] [notice] Digest: generating secret for digest authentication ...
[Thu Mar 22 03:28:07 2018] [notice] Digest: done
[Thu Mar 22 03:28:07 2018] [notice] Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/1.0.1f DAV/2 PHP/7.1.7 configured -- resuming normal operations
=============================================================================================
谢谢! |
|