PHP Core extensions directory in linux are not loaded via PHP cli -
i have compiled php myself. set of config opetions have important extensions.
when check php-info http (browser), see extensions loaded.
but, when check phpinfo php on cli, extensions not listed. cannot find .so files of extensions in directory. instance, dom.so not found anywhere (in no possible directory such /usr/local/php7/lib/php/extensions/no-debug-non-zts-20151012 )
php cli points directory of extensions .ini files. in there, no see many extensions loaded via apache.
update:
i have ./configure , make install dom extension myself within raw files in extensions/dom dir of php. have added manually .ini file php cli. php cli loads extensions, throws error not valid library.
Comments
Post a Comment