I try to install smarty and when I write the require code I cannot find the path
require_once ('d:/wamp/bin/php/php5.3.5/Smarty-3.0.8/Smarty.class.php');
or if you could tell me which is the correct syntax in the ini.php page.
Thanks
I try to install smarty and when I write the require code I cannot find the path
require_once ('d:/wamp/bin/php/php5.3.5/Smarty-3.0.8/Smarty.class.php');
or if you could tell me which is the correct syntax in the ini.php page.
Thanks
I believe you need
http://www.smarty.net/documentation
there is full documentation for installing smarty.
It simply means that php cannot find the /path/to/this/file/Smarty.class.php
So when php start it looks at all the include path defined in your environment and once its not there it gives up.
solution. either place the smarty class in your webroot or also tell php.ini where to find it...
[B]; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
;[/B]
restart server
I found installing Smarty within the website was easier.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.