![]() |
php pdo and phpize5
not sure if anyone can help but i simply want to use php5 and sqlite3
pdo.so does not seem to be installed and so i've downloaded php5-dev and the source for pdo with a view that i would make it. however my phpize is a sym link to a alternatives phpize which is another symlink to phpize5 which does not exit. i think phpize is just a shell script but cannot find it anywhere. any help would be gretfully appreciated. |
Re: php pdo and phpize5
I think the php packages are broken. Eg I have these installed:
dpkg -l | grep php Code:
php-pear 5.2.6-6maemo5 PEAR - PHP Extension and Application Repository dpkg -L php5-sqlite Code:
/. Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0 |
Re: php pdo and phpize5
http://smiley128.wordpress.com/2010/...ttpd-and-php5/ This is what i had to do to get PHP working.
|
Re: php pdo and phpize5
@antezz from what I can see your fix simply addresses the that fact that lighttpd is looking in the "wrong" place for the php executable. It does not address the fact that the sqlite, mysql, etc modules are missing :)
|
Re: php pdo and phpize5
Quote:
if someone has been able to compile them i would be gratefull of is someone could send me phpize5 then i could try? many thanks |
Re: php pdo and phpize5
I got lighttpd, php and mysql running separately but i can't get php to connect with mysql because i seem to be having the same problem.
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/mysql.so' - /usr/lib/php5/20060613+lfs/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0 -edit- Apparently, there is no php for maemo compiled with mysql support just now so the only working option is easy debian -edit2- Just install easy debian/easy chroot and this image http://talk.maemo.org/showthread.php?t=72818 It works great. |
All times are GMT. The time now is 09:22. |
vBulletin® Version 3.8.8