我在Ubuntu 14.04上安装了PHP 7,MySQL 5.5.47.我已经检查了已安装的扩展程序
sudo apt-cache search php7-*
Run Code Online (Sandbox Code Playgroud)
它输出我:
php7.0-common - Common files for packages built from the PHP source
libapache2-mod-php7.0 - server-side, HTML-embedded scripting language (Apache 2 module)
php7.0-cgi - server-side, HTML-embedded scripting language (CGI binary)
php7.0-cli - command-line interpreter for the PHP scripting language
php7.0-phpdbg - server-side, HTML-embedded scripting language (PHPDBG binary)
php7.0-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary)
libphp7.0-embed - HTML-embedded scripting language (Embedded SAPI library)
php7.0-dev - Files for PHP7.0 module development
php7.0-dbg - Debug …Run Code Online (Sandbox Code Playgroud) 我需要将我的网站 codeigniter 升级到V 3.6from V 1.7.1,但我不知道在哪里可以找到它,version 1.7.2因为它不在存储库中。
我使用此用户指南(http://www.codeigniter.com/user_guide/installation/upgrading.html)进行升级,但这对于完成所有步骤是绝对必要的1.7.1 to 1.7.2, 1.7.2 to 2.0,...,或者我可以直接从version 1.7.1到进行升级last version 3.6吗?
谢谢!
我试图在Angular 2应用程序中显示一个对话框.我使用下面的代码.我能够打开对话框,现在我需要将数据传递给对话框,我该怎么做?我尝试编写JQuery代码来做到这一点,但JQuery代码在angular2应用程序中对我不起作用.
<div class="container">
<h2>Modal Example</h2>
<!-- Trigger the modal with a button -->
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal">Open Modal</button>
<!-- Modal -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Modal Header</h4>
</div>
<div class="modal-body">
<p>Some text in the modal.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
Run Code Online (Sandbox Code Playgroud) 在我的控制器中
return view('pages.index', compact('errors'));
Run Code Online (Sandbox Code Playgroud)
它工作正常,但我不知道如何将视图返回到锚点。
return view('pages.index#contact', compact('errors'));
Run Code Online (Sandbox Code Playgroud)
不工作。出现这样的错误。
InvalidArgumentException in FileViewFinder.php line 137:
View [pages.index#contact] not found.
Run Code Online (Sandbox Code Playgroud)