Have setup ispconfig using this manual:
I have an issue installing a plugin for squirrelmail called "change_sqlpass" so each user can change the password for their own account
I have installed it using the following instructions:
When I go in and try to change password i get error:
ERROR:Could not find Pear DB library
Warning: include_once(DB.php): failed to open stream: No such file or directory in /usr/share/squirrelmail/plugins/change_sqlpass/functions.php(50) : eval()'d code on line 1 Warning: include_once(): Failed opening 'DB.php' for inclusion (include_path='.') in /usr/share/squirrelmail/plugins/change_sqlpass/functions.php(50) : eval()'d code on line 1
So I read out from this that my include_path="."
It should be /usr/share/php: /usr/share/php/PEAR
So I upload a phpinfo.php file and contact the squirrelmail comunity as it looks ok: http://www.sommerlejr-hellebaek.dk/phpinfo.php
They asked me to run the phpinfo.php from squirrel library and so I did
(using https as cant get domain/webmail to work)
and to my suprise it now shows include_path="."
I have updated php.ini in /etc/php5/apache2/php.ini and the php.ini in the cgi folder
I then tried to add a line to .httaccess file:
php_value include_path ".:/usr/share/php: /usr/share/php/PEAR"
Then they say that my system is setup to not read the .htaccess file and they mention several steps I should take. As a newbee i dont understand mutch of it and I am affraid it will affect how ipsconfig works so thats why I contact you guys to see if you have any idea
You can see the thread here:
Do you have any idea why its not working?
Why cant I get the include_path ot show in the library where squirrelmail runs from (usr/share/squirrelmail i guess)