How do I configure php.ini to load a PHP file that contains some generic functions where I use all my root projects?
I read something about include_path
, but I did not understand it and I believe it does not suppress what I need!
How do I configure php.ini to load a PHP file that contains some generic functions where I use all my root projects?
I read something about include_path
, but I did not understand it and I believe it does not suppress what I need!
I do not know why you need this, but here it goes:
include_path="/ var / my_includes"
Note that you can include more than one directory:
include_path="/ var / inc1: / var / inc2: / var / inc3"
sudo service apache2 restart