Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Prerequisites section update #52

Open
dgligorov opened this issue Aug 21, 2015 · 0 comments
Open

Prerequisites section update #52

dgligorov opened this issue Aug 21, 2015 · 0 comments

Comments

@dgligorov
Copy link

PHP 5.4 (or higher), including the curl extensions for PHP, MySQL extension, and short_open_tags enabled.

A bit more details in this list would be great. Initially I compiled php with mysqln and pdo support, code thought mysql extension prerequisites are satisfied, but each query run was failing. It turned out I need mysqli extension.

Had curl extension compiled, but pagerduty and github providers were failing to retrieve info, turned out need openssl extension too.

Just sharing the php compile flags I did with php 5.5.19

LDFLAGS=-Wl,-R/usr/local/lib ./configure --with-apxs2=/usr/local/bin/apxs --with-config-file-path=/usr/local/etc/php.ini --with-config-file-scan-dir=/usr/local/etc/php/conf.d/ --with-curl --with-mysql --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-openssl=shared

and the php.ini file

extension=openssl.so
allow_url_fopen = on
php_value max_input_vars 10000
short_open_tag = on
extension=php_mysqli.so
[Date]
date.timezone = "UTC"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant