|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
hi all I am novice in Smarty, I need yours ... I am trying to install Smarty-2.6.14 on my FC5, with PHP5 & apache2 I get following error: - Fatal error: Smarty error: unable to write to $compile_dir '/home/rakesh/public_html/Smarty/templates_c'. Be sure $compile_dir is writable by the web server user. in /usr/local/lib/php/Smarty/Smarty.class.php on line 1095 I am trying at my home dir.. pls me out thanks onewaylife -- View this message in context: http://www.nabble.com/installation-p....html#a7257618 Sent from the Smarty - General mailing list archive at Nabble.com. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Hey,
U need to chown apache:apache templates_c. Where apache is the name and group of your web server |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
thanks it works now Timothy Bowler wrote: > > Hey, > > U need to chown apache:apache templates_c. Where apache is the name and > group of your web server > > > -- View this message in context: http://www.nabble.com/installation-p....html#a7257987 Sent from the Smarty - General mailing list archive at Nabble.com. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Hi Remo,
It is not a good idea to give 777 permissions to templates_c directory, or any directory for that matter. Its best practise to only allow your web server to read and write too the directory. cd /home/rakesh/public_html/Smarty/ chown apache:apache templates_c chown apache:apache cache ls -l Tim -- __________________________________________________ _ Timothy M Bowler BSc(Hons) MSc MIET | Senior Programmer Or Media Unit 5 Elm Court 156 -170 Bermondsey Street London SE1 3TQ T: 020 7939 9540 F: 020 7939 9541 __________________________________________________ _ The information in this e-mail and any attachments is confidential and is intended solely for the addressee. The material may not be reproduced either in whole or in part without permission and may not be used or disclosed without permission. No copies of the entirety or part of the information set out in this email or any attachment may be made without our prior approval. Any views or opinions presented are solely those of the author and do not necessarily represent those of Or Multimedia Limited. If you are not the intended recipient of this email, please contact us at info@or-media.com. |
|
![]() |
| Outils de la discussion | |
|
|