草庐IT

CMAKE_FIND_LIBRARY_SUFFIXES

全部标签

php - 如何修复 PHP 警告 : Unable to load dynamic library: php_intl. ddl

这个问题在这里已经有了答案:PHPWarning:PHPStartup:Unabletoloaddynamiclibrary(20个答案)关闭6年前。请问我该如何解决这个问题?我在OSX10.11.3上运行php5.6PHPWarning:PHPStartup:Unabletoloaddynamiclibrary'/usr/lib/php/extensions/no-debug-non-zts-20121212/php_intl.dll'-dlopen(/usr/lib/php/extensions/no-debug-non-zts-20121212/php_intl.dll,9):i

php - Mac 本地主机 : Cannot find driver for SQLSRV 上的 Laravel 4

我正在尝试使用Laravel4连接到SQLServer数据库。我收到一个错误,但我认为这是一个PHP错误,而不是Laravel错误。它说PDOException:找不到驱动程序。我将驱动程序设置为sqlsrv,就像database.php文件中的另一个示例一样。正如我所说,我认为这是一个PHP错误,而不是Laravel。我在我的Mac上的本地主机上。我需要在我的php.ini文件中配置什么吗?我找到了anotherarticle那就是说我需要在PDO下注释掉一个MySQL驱动程序。我也无法在我的php.ini中找到该行。但无论如何,我也需要连接到MySQL数据库。我需要在我的php.i

php - 类 'CI_Driver_Library' 未找到 codeigniter 错误

我想使用session,所以我尝试自动加载。在application>config.php中,我执行$autoload['libraries']=array('session');但是我遇到了以下错误Message:Class'CI_Driver_Library'notfoundFilename:Session/Session.php 最佳答案 如果您使用Codeigniter3.0或更高版本,请使用:$autoload['drivers']=array('session');因为session在3.0版本之后是driver而不是l

PHP 警告 : PHP Startup: Unable to load dynamic library 'mcrypt.so'

我正在尝试在ubuntu06.04上使用composerupdate更新laravel,但每次我运行composerupdate时,总是会出现此警告。PHPWarning:PHPStartup:Unabletoloaddynamiclibrary'mcrypt.so'(tried:/usr/lib/php/20170718/mcrypt.so(/usr/lib/php/20170718/mcrypt.so:cannotopensharedobjectfile:Nosuchfileordirectory),/usr/lib/php/20170718/mcrypt.so.so(/usr/l

PHP 警告 : PHP Startup: Unable to load dynamic library '\xampp\php\e xt\php_pgsql. dll

我尝试使用zend框架,但是当我通过命令提示符创建项目时,警告即将到来,警告是PHP警告:PHP启动:无法加载动态库'\xampp\php\ext\php_pgsql.dll 最佳答案 在我的案例中,我的XAMPP安装在以下路径中:C:\xampp还有当我尝试在CMD上运行以下命令时,any_drive_and_path_here>phpphpFile.php它给了我像上面这样的警告错误消息,超过15+!!!(我必须执行以下步骤来解决每个警告消息。)然后我搜索了谷歌。我想到了这个想法,无论这些模块是什么,都将被加载,只是因为php.

php - 安装了 php71w-gd 并收到错误 GD Library extension not available with this PHP installation

我在centos7服务器和nginx网络服务器上使用laravel网络框架,我安装了php71w-gd,但当我想上传文件时仍然出现此错误Intervention\Image\Exception\NotSupportedExceptionGDLibraryextensionnotavailablewiththisPHPinstallation.你可能需要知道这个#php-i|grepgd/etc/php.d/gd.ini,gdgd.jpeg_ignore_warning=>1=>1 最佳答案 @HamedAbdollahi请检查以下步

php - Google Drive PHP Client Library 检索文件资源列表

我尝试在我的代码中使用这个函数:https://developers.google.com/drive/v2/reference/files/list如下:/***RetrievealistofFileresources.**@paramapiDriveService$serviceDriveAPIserviceinstance.*@returnArrayListofFileresources.*/functionretrieveAllFiles($service){$result=array();$pageToken=NULL;do{try{$parameters=array();i

php - Oracle 即时客户端 DYLD_LIBRARY_PATH 错误

我在OSX10.9和PHP5.4.19上使用Xampppformacos我已经安装了oracleInstantclient,我可以看到oci8在phpinfo中启用(如下):OCI8支持已启用版本1.4.9修订$Id:44bfa713983a99b3e59477f6532e5fb51b6dee94$事件持久连接0事件连接0我可以看到DYLD_LIBRARY_PATH也设置在我的phpinfo中。DYLD_LIBRARY_PATH/usr/local/instantclient/11.2.0.3但是当我尝试与php连接时,我现在两天都遇到了同样的错误:(Warning:oci_conne

php - 给定字符串模型时,Laravel Eloquent Find 不起作用

我在Laravel中将一个模型作为字符串存储在变量中。$model="App\Models\City";我想要的是$model::find(1)tofetchtheCitywithIDof1但是它并没有像预期的那样工作。然而,当我这样做的时候City::find(1)不使用$model变量。我可以获取我预期的结果。有人吗? 最佳答案 您可以从servicecontainer中解析类$model=app("App\Models\City");$model::find(1); 关于php-给

php -v 返回 dyld : Library not loaded:/usr/local/opt/readline/lib/libreadline. 7.dylib

我试图安装Valet,但由于错误,我从brew中卸载了php,现在我重新安装了php,如果我转到apache上的phpinfo()文件,我可以看到PHPVersion7.1.23但如果我在控制台上执行php-v或其他php命令,我会得到:dyld:Librarynotloaded:/usr/local/opt/readline/lib/libreadline.7.dylibReferencedfrom:/usr/local/bin/phpReason:imagenotfoundAborttrap:6我在MacOsSierra上 最佳答案