I
I
Ivan2017-01-21 23:20:56
linux
Ivan, 2017-01-21 23:20:56

When building php, the modules specified in the configuration do not appear, why?

I'm trying to build php with the following parameters:

./buildconf --force
  CONFIGURE_STRING="--prefix=/usr/local/php-fpm
    --enable-fpm
    --enable-mysqlnd
    --enable-mbstring
    --with-config-file-scan-dir=/usr/local/php-fpm/etc/conf.d
    --with-curl
    --with-gd
    --with-fpm-user=www-data
    --with-fpm-group=www-data
    --with-mysql-sock=/var/run/mysqld/mysqld.sock
    --with-mysqli=mysqlnd
    --with-mcrypt
    --with-zlib
    --enable-pdo
    --with-pdo-mysql
    --with-pdo-sqlite"

./configure $CONFIGURE_STRING
make
make install

After all the manipulations, I see only opcache.so / why don't pdo modules appear?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
imhuman, 2017-07-31
@Palych_tw

'name' => [
    'required',
    Rule::unique('posts')->ignore($post->id),
],

D
D3lphi, 2017-07-31
@D3lphi

Write your own validation rule . Universal. You can use it not only for posts, but for anything.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question