OUR NETWORK:TiVoCommunity TechLore MyOpenRouter Dijit Community MediaSmart Home See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 115999.0
June 5, 2011 12:07 PM

Categories: PogoPlug Development

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

atomschaf

Member
Joined: 05/31/2011

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?

Discussion:    Add a Comment | Comments 1-3 of 3 | Latest Comment

June 6, 2011 11:18 AM

How does the include path of the phpinfo() output look like?

June 6, 2011 2:29 PM

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...

June 7, 2011 1:41 PM

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.

Discussion:    Add a Comment | Comments 1-3 of 3 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window