Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Advice on Windows install using NucServ

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
johnvins
Smarty n00b


Joined: 07 Mar 2015
Posts: 1

PostPosted: Sat Mar 07, 2015 8:41 pm    Post subject: Advice on Windows install using NucServ Reply with quote

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
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Thu Mar 12, 2015 12:00 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP