DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-08-04 23:59:07

sonybros
Member
Registered: 2008-07-24
Posts: 10

is mysql running correctly?

Hi, being new to mysql, I've installed it as per

http://81.216.140.39/dns-323/mysql_and_php/

but i couldn't find the files gd.so, mysql.so, pdo.so, pd_mysql.so to place them in

/ffp/lib/php/extensions/no-debug-non-zts-20060613/

and enable them in the php.ini-dist

extension=gd.so
extension=mysql.so
extension=pdo.so
extension=pdo_mysql.so

while also adding:

extension_dir = "/ffp/lib/php/extensions/no-debug-non-zts-20060613/"


my phpinfo.php page says '--with-mysql=/ffp' '--with-mysql-sock=/ffp/var/mysql.sock' and also there's

further down there's:

mysql
MySQL Support enabled
Active Persistent Links  0 
Active Links  0 
Client API version  5.1.23-rc 
MYSQL_MODULE_TYPE  external 
MYSQL_SOCKET  /tmp/mysql.sock 
MYSQL_INCLUDE  -I/ffp/include/mysql 
MYSQL_LIBS  -L/ffp/lib/mysql -lmysqlclient 

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

what is left to tweak?

Offline

 

#2 2008-08-28 12:56:40

jagcos
Member
From: CADIZ, Spain
Registered: 2008-08-25
Posts: 5

Re: is mysql running correctly?

hi,

use command

php -m

and see possibles modules errors on load

library gd.so and mysql.so has some errors on the packages from http://81.216.140.39/dns-323/mysql_and_php/

you should see something like this:

root@CH3SNAS:/mnt/HD_a2/ffp/var/packages# php -m
[PHP Modules]
date
dom
filter
gd
hash
iconv
json
libxml
mbstring
mysql
openssl
pcntl
pcre
PDO
pdo_mysql
posix
Reflection
session
SimpleXML
sockets
SPL
standard
sysvsem
xml
xmlreader
xmlwriter

[Zend Modules]

Sorry my english.


CH3SNAS firmware 1.03 - 2 x 320GB WD - funplug 0.5 -PHP + mysql
Pinnacle SC200 UPnP

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB