Hello collegues,
Php 5 was running ok, with PDO sqlite enabled.
I also wanted to activate pdo_mysql in it, but that failed:
I did the following:
1) Change server timezone to Europe/Brussels
2) Installed ntp
=> server time is OK. (CET)
3) I wanted to activate PDO in php, so I changed /usr/local/directadmin/custombuild/configure/ap2/configure.php5 and added the following:
--enable-pdo=shared \
--with-pdo-mysql=shared,/usr/local/mysql \
--with-sqlite=shared \
--with-pdo-sqlite=shared \
4) I went to /usr/local/directadmin/custombuild/ and executed:
./build update
./build clean
./build php
I then waited till it was ready.
Afterwards, I have the following problems:
1) The mysql command NOW() gives me an hour that is 1 hour behind in the database. :-( This ****ed up our scripts.
2) PDO is now nowhere to be found anymore in phpinfo() and the class PDO can not be found anymore:
http://webscripters.be/test/test.php
Thank you all in advance!
Php 5 was running ok, with PDO sqlite enabled.
I also wanted to activate pdo_mysql in it, but that failed:
I did the following:
1) Change server timezone to Europe/Brussels
2) Installed ntp
=> server time is OK. (CET)
3) I wanted to activate PDO in php, so I changed /usr/local/directadmin/custombuild/configure/ap2/configure.php5 and added the following:
--enable-pdo=shared \
--with-pdo-mysql=shared,/usr/local/mysql \
--with-sqlite=shared \
--with-pdo-sqlite=shared \
4) I went to /usr/local/directadmin/custombuild/ and executed:
./build update
./build clean
./build php
I then waited till it was ready.
Afterwards, I have the following problems:
1) The mysql command NOW() gives me an hour that is 1 hour behind in the database. :-( This ****ed up our scripts.
2) PDO is now nowhere to be found anymore in phpinfo() and the class PDO can not be found anymore:
http://webscripters.be/test/test.php
Thank you all in advance!