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_bind_param_do_bind':
/root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:101: error: `gptr'
undeclared (first use in this function)
/root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:101: error: (Each
undeclared identifier is reported only once
/root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:101: error: for each
function it appears in.)
/root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c: In function
`zif_mysqli_stmt_execute':
/root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:709: error: `gptr'
undeclared (first use in this function)
/root/lamp/php-5.2.6/ext/mysqli/mysqli_api.c:781: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.