I have several functions that I wrote and I use regularly on my servers, is there a way I can add them to the core so I don’t have to include them from external files?
I am running PHP5
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could add your libraries as a PEAR extension. Then you could add it to your local PEAR repository. Pear is added to the default include path in php.ini. Then you can just use ‘pear install myextension’ on your machines.
If these are C functions you interface with in php (php extensions) then you can do something similar with PECL.