From: morten44 <mo...@e-...> - 2012-04-29 20:10:20
|
Hi Thanks for your reply I had problems to follow the instructions you suggested as its a little over my head :) QUOTE: .htaccess is not working. It means that for that directory you have Apache Options set to None or AuthConfig. http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride QUESTSTION: I have checked /etc/apache2... I have apache2.conf File does not mention anything about allowoverrride. Only part says: The following line prevents .htaccess to be viewed by web clients <Files ~ "^\.ht"> Order allow,deny Deny from all Satisfy all </Files> I checked the link and read, but not able to conclude out from that what I have to enter into the config file. Any sugestion or concrete examples? QUOTE: make sure this is loaded into apache2.conf: # Include generic snippets of statements Include /etc/apache2/conf.d/ REPLY: It was not. I have just written this in a random place in the file now QUOTE: Check /etc/apache2/conf.d/squirrelmail.conf file. It should have <directory /usr/share/squirrelmail> block. Add your php_value setting inside that directory block. Don't add . directory to include_path. Same rule as for having it in root's $PATH. Code should never load own files from current directory without specifying path. If I remember correctly, it also triggers additional checks in PHP as it has to calculate path on every include call. QUESTION: File not there. Not sure what the "block" means and "add your php_value. That whole paragraph was hard to understand for me. Hard for a windows guy to dig into this as we are used to click, install and it works. lol I appreciate your time but after tried all i could think of the last 48hours I think i go back to my Windows/Imal solution as I cant move 1000 users over if they can not change their password. I wonder why its not a default setting as very basic if you have an email account? Thanks for your time Tomas Kuliavas wrote: > > 2012.04.26 22:05 morten44 rašė: >> Reply: >> HI and thanks for your reply >> You where right >> I insert phpinfo.php into the root folder of my domain and it shows the >> include_path correct >> >> I then move the phpinfo.php into /usr/share/squirrelmail and point my >> broswser to the file here and it shows "." >> >> I have asked the ISPconfig guys and they say it only uses >> /etc/php5/apache2/php.ini and /etc/php5/cgi/php.ini >> >> I have then edited .htaccess file for domain and entered: >> php_value include_path ".:/usr/share/php: /usr/share/php/PEAR" >> >> Restarted apache2 BUT still it shows "." >> >> Any idea where i will need to enter this include_path info? > > .htaccess is not working. It means that for that directory you have Apache > Options set to None or AuthConfig. > http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride > > Check your main apache configuration file. Make sure that it loads > additional files from /etc/apache2/conf.d/ directory. Look for following > settings in /etc/apache2/ files. > ---- > # Include generic snippets of statements > Include /etc/apache2/conf.d/ > ---- > > Check /etc/apache2/conf.d/squirrelmail.conf file. It should have > <directory /usr/share/squirrelmail> block. Add your php_value setting > inside that directory block. Don't add . directory to include_path. Same > rule as for having it in root's $PATH. Code should never load own files > from current directory without specifying path. If I remember correctly, > it also triggers additional checks in PHP as it has to calculate path on > every include call. > > If you don't have squirrelmail related files in apache2/conf.d/, create > new file. Check apache manual for <directory> directive and create > <directory> block for /usr/share/squirrelmail. > > Reload apache configuration after updating squirrelmail.conf. Check > phpinfo() output for SquirrelMail again. > > -- > Tomas > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ----- > squirrelmail-plugins mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squ...@li... > List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins > List info (subscribe/unsubscribe/change options): > https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins > -- View this message in context: http://old.nabble.com/change_sqlpass-not-working%3A-ERROR%3A-Could-not-find-Pear-DB-library-tp33753287p33763283.html Sent from the squirrelmail-plugins mailing list archive at Nabble.com. |