Tiny Core Linux
Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: justauser on January 02, 2013, 08:33:09 AM
-
I am trying to install a web app. I have the MySQL extension added in my php.ini but the app checks and doesn't find mysql_connect function. I do have the MySQL.so included as an extension in my php.ini. The app also supports postgresql but I don't see any postgresql support or module in php. Can these be added?
-
Hi justauser
I have the MySQL extension added in my php.ini
If that means you added the phrase "mysql.tcz" to the php.ini file, that won't work. See if this is of any help:
http://stackoverflow.com/questions/5121360/command-line-php-mysql-connect-error
The app also supports postgresql but I don't see any postgresql support or module in php.
Maybe you need to install postgresql.tcz ?
-
thanks for the reply, but I had obviously done all of that. php -m showed MySQL. I can't see a php lib to interface to postgresql and I do have postgresql installed. The /usr/local/lib/php directory has no postgresql.so linrary.
-
Hi justauser
but I had obviously done all of that
Since I can't see your screen, if you don't explicitly state what you've done, it's not obvious.
The /usr/local/lib/php directory has no postgresql.so linrary.
Looking at this post:
http://forum.tinycorelinux.net/index.php/topic,8645.msg46941.html#msg46941
I see:
; requires postgresql-lib.tcz
;extension=pgsql.so
I think you might want pgsql.so not postgresql.so.