Hi all,
anybody knows, how to build especially pdo_mysql with libmysql on Windows
(I've managed to build mysql and mysqli with a change in the config.w32 files)?
My configure string is something like:
| cscript /nologo configure.js --disable-all
| ...
| --without-mysqlnd
| --with-mysql=shared
| --with-mysqli=shared
| --with-pdo-mysql=shared
The build stops with errors in mysql_statement.c, like:
| mysql_statement.c(52) : error C2039: 'stmt'
mysql and mysqli are working fine. All three extensions are working and
build with mysqlnd.
However, how can I connect to a named pipe with mysqlnd. All my scripts are
using the usual hostname = ".". But that's not working with a mysqlnd build.
Another question:
With a default PHP 5.3 installation, I just changed:
| log_errors = On
| error_log = php_errors.log
(date.timezone is still not defined.) Now, if I do a "php -i" in the shell I
have this repeating message in a loop (and a lot of entries in the defined log):
Warning: Unknown: It is not safe to rely on the system's timezone
settings. You are required to use the date.timezone setting or the
date_default_timezone_set () function. In case you used any of those
methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'Europe/Paris' for
'2.0/DST' instead in Unknown on line 0
If I do a phpinfo with the Apache module, my Apache hangs up. I have the
same error messages (in a loop), If I just do a "php -r 'errror;'" in the shell.
BTW:
Why is this a "warning", if I don't set the timezone in "php.ini"?
--> The reason for the timezone applet in my Windows configuration is, to
setup the timezone for all applications at one place.
Well, it's nice that I can change my server timezone for one app (like PHP)
in the config file. But this should only be necessary if I'm knowing what
I'm doing and in really rare cases. (e.g. MySQL is still using my Win server
timezone for time calculations)
Regards,
Carsten