проблема php56 apache22
Добавлено: 2015-04-03 11:10:05
Доброго времени суток, помогите привязать php56 k apache22, установка www/mod_php56 не помогает!!!!!!!!
Если не знаешь что делать – делай шаг вперёд
https://forum.lissyara.su/
- "дохтур, у мине эта..."medv писал(а):Доброго времени суток, помогите привязать php56 k apache22, установка www/mod_php56 не помогает!!!!!!!!
вроде, но не для начинающих в русском языке.medv писал(а):если не понятно добавлю, надо поставить php55 или выще работы сервисов типа owncloud. раньше стоял php53 с поддержклй apache, в php56 этой опции нет. погуглив прочита, что надо доставить /usr/ports/www/mod_php56. в моем случае не помогло - прошу помочь ссылкой или советом. СПС. Это вроде форум для начинающих
Код: Выделить всё
PHP 5.6.7 (cli) (built: Apr 17 2015 19:49:52) (DEBUG)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
Код: Выделить всё
===> Installing for mod_php56-5.6.7
===> mod_php56-5.6.7 depends on file: /usr/local/sbin/apxs - found
===> mod_php56-5.6.7 depends on file: /usr/local/include/php/main/php.h - found
===> mod_php56-5.6.7 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so)
===> mod_php56-5.6.7 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so)
===> Checking if mod_php56 already installed
===> Registering installation for mod_php56-5.6.7
Installing mod_php56-5.6.7...
[activating module `php5' in /usr/local/etc/apache24/httpd.conf]
***************************************************************
Make sure index.php is part of your DirectoryIndex.
You should add the following to your Apache configuration file:
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
***************************************************************
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/apache24/libphp5.so
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://www.php.net/
===> Cleaning for mod_php56-5.6.7
Код: Выделить всё
[PHP Modules]
Core
ctype
curl
date
dom
ereg
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
openssl
pcre
PDFlib
PDO
pdo_mysql
pdo_sqlite
Phar
posix
Reflection
session
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
Zend OPcache
zlib
[Zend Modules]
Zend OPcache
Код: Выделить всё
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
authn_file_module (shared)
authn_core_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_user_module (shared)
authz_core_module (shared)
access_compat_module (shared)
auth_basic_module (shared)
reqtimeout_module (shared)
filter_module (shared)
mime_module (shared)
log_config_module (shared)
env_module (shared)
headers_module (shared)
setenvif_module (shared)
version_module (shared)
mpm_prefork_module (shared)
unixd_module (shared)
status_module (shared)
autoindex_module (shared)
dir_module (shared)
alias_module (shared)
rewrite_module (shared)
php5_module (shared)
хмм, ну вроде же php -m показывет модули!evgarik писал(а):php-extension