How does the include path of the phpinfo() output look like?
Categories: PogoPlug Development
Hi,
ive got a problem with thttpd, php and mysql on my pogoplug.
While thttpd, php and mysql run perfectly the problem is the connection between php and mysql.
The php command line interface loads the mysql.so extension fine, and is thus able to run a mysql connection with php.
The thttpd php module however does not load the extension. It however uses the same php configuration as the command line (can be seen in phpinfo()). It seems that thttpd ignores every change to the php.ini, even if the phpinfo clearly states that thttpd is using this config....
Any idea what i could be doing wrong?
Loaded Configuration File: opt/etc/php.ini
Scan this dir for additional .ini files: /opt/etc/php.d
additional .ini files parsed: /opt/etc/php.d/ldap.ini, /opt/etc/php.d/mbstring.ini, /opt/etc/php.d/mysql.ini
extension_dir: /opt/lib/php/extensions
Das sollten die interessanten Details aus der php.ini sein. Meiner Meinung nach korrekt und identisch zur Konfiguration des php-cli wo es auch einwandfrei funktioniert...
Please take a look to the permissions of php.ini. You command line is running under your account role. So chmod 644 /opt/etc/php.ini should fix the permission issue - if it is the reason for your problems.

RSS


