|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
johnvins Smarty n00b
Joined: 07 Mar 2015 Posts: 1
|
Posted: Sat Mar 07, 2015 8:41 pm Post subject: Advice on Windows install using NucServ |
|
|
Okay, I have an app that requires Smarty and I have it up and running on a Centos 6.6 Lamp. So now, using Server 2008 R2, I've installed NucServ but I need to add Smarty PHP mod. to make it run off this machine, I've read the install instructions but I'm not sure where to install Smarty? Path to NucServe is C:\Nucserv with the dirs of bin-logs-tmp and www in it.
Do I create a folder libs and put Smarty-3.1.21 in it and then reference it in the php.ini file as--- include_path = ".;c:\nucserv\bin\php\includes;c:\nucserv\libs\Smarty-v.e.r\libs\"
Would this work, do I need to do anything else, will Smarty be found?
You might wonder why I want to do this if I already have it installed on a Centos machine---it's the challege and this app should now work?
johnvins
Thanks in advance and I hope this was an appropiate 1st post. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Mar 12, 2015 12:00 am Post subject: |
|
|
If Smarty libs folder is in your include_path, that should be all you need to find it with require() or include() |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|