I just installed package PEAR( Event_Dispatcher) and I cannot use classes in this package. When I run the command pear list, I see a new package, however I see that the classes in the package are saved in /usr/lib/php(I have a Mac).
PEAR
Event_Dispatcher
pear list
/usr/lib/php
Is there a boot part after installing the package PEAR? How exactly do I move files to the right place? Can I just cut and paste the folder into the root folder PEAR?
Thank!
PEAR include() require(). , () MySQL (mysql.so/mysql.dll). /usr/lib/php include_path, PHP , include('nameofpackage.php').
include()
require()
include('nameofpackage.php')
PEAR , php.ini PEAR php.ini. , , PEAR lib.
, PEAR- MDB2 , /MDB 2, PHP script /MDB 2.php, , PHP-, :
require_once("MDB2.php").
, , , , .
Source: https://habr.com/ru/post/1765546/More articles:How to create an unregistered Codeigniter registration form? - phpAzure Tables Exclusion Information - azureGetting BadValueError in google app engine datastore delete datastore - pythonЕсть ли представление в SQL Server, в котором перечислены только первичные ключи? - sql-serverJTextPane style for console formatting? - javaJquery validation - jqueryMerge Return in Mercurial - mercurialHow can I organize source control for framework projects? - phpObject planning or user thread planning - what should be the first? - project-planningJavaScript / jQuery: change monitor to element? - javascriptAll Articles