Config files omitted when building php-5.2

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marco A. Cruz Quevedo

    Config files omitted when building php-5.2

    Hi everybody,

    I am building php-5.2.6 with the following options:
    .. . . . . . . . . . . . . . . . . . . .
    --prefix=/usr --with-mysql=shared,/usr --with-zlib=/usr --with-apxs2 --
    with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --
    with-bz2 --with-db4=/usr --with-layout=GNU
    .. . . . . . . . . . . . . . . . . . . .

    but when I make install, the /etc/php.d directory is not created and
    neither php.ini.

    What is missing? Any help will be appreciated.

    Regards,

    Marco.
    ---------------------------------------
    Freedom is not a permission for chaos.
  • Marco A. Cruz Quevedo

    #2
    Re: Config files omitted when building php-5.2


    Marco A. Cruz Quevedo wrote:
    Hi everybody,
    >
    I am building php-5.2.6 with the following options:
    . . . . . . . . . . . . . . . . . . . .
    --prefix=/usr --with-mysql=shared,/usr --with-zlib=/usr --with-apxs2 --
    with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --
    with-bz2 --with-db4=/usr --with-layout=GNU
    . . . . . . . . . . . . . . . . . . . .
    >
    but when I make install, the /etc/php.d directory is not created and
    neither php.ini.
    >
    What is missing? Any help will be appreciated.
    >
    Regards,
    >
    Marco.
    ---------------------------------------
    Freedom is not a permission for chaos.
    After having inserted the MySQLnd driver (downloaded from MySQL.com),
    and having followed directions from INSTALL file, I get the following
    warning after configure:

    .. . . . . . .

    Notice: Following unknown configure options were used:

    --enable-mysqlnd

    Check './configure --help' for available options

    .. . . . . . .
    And then, after compiling, I got the following errors

    .. . . . . . .
    /root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c: In function
    `mysqli_stmt_bi nd_param_do_bin d':
    /root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:10 1: error: `gptr'
    undeclared (first use in this function)
    /root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:10 1: error: (Each
    undeclared identifier is reported only once
    /root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:10 1: error: for each
    function it appears in.)
    /root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c: In function
    `zif_mysqli_stm t_execute':
    /root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:70 9: error: `gptr'
    undeclared (first use in this function)
    /root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:78 1:20: warning: extra
    tokens at end of #ifdef directive
    make: *** [ext/mysqli/mysqli_api.lo] Error 1
    .. . . . . . .

    What is missing? Any help will be appreciated

    Best regards,

    Marco
    ---
    Freedom is not a permission for chaos.

    Comment

    Working...