Web Hosting Talk







View Full Version : include_path in php.ini


raylin
02-11-2001, 12:43 PM
Somebody help to confirm:

Before I change php.ini and retart appache, I want to make sure I am doing right things. I am going to 'install' FastTemplate (http://www.thewebmasters.net/php/FastTemplate.phtml) on my RaQ4r server and let all the vitural sites can use php include command like this one

include ("class.FastTemplate.php3") //no absolutly path

I have to do 3 steps:

1.upload class.FastTemplate.php3 to /home/sites/home/web/FastTemplate directory

2.modify the file /etc/httpd/php.ini and make include_path line to be
include_path = ".:/home/sites/home/web/FastTemplate"

3.restart apache by
/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd start


Can someone confirm this for me.
Thanks a lot in advance.