English 中文(简体)
设置 cakephp 后在终端中没有新行
原标题:no new line in terminal after setting up cakephp

我试图设置 v. profile 用于烘烤 cakephp 但现在当我打开终端(mac OSX)时, 我犯了以下错误

PHP Warning:  PHP Startup: Unable to load dynamic library  /Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/php_gd2.dll  - dlopen(/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/php_gd2.dll, 9): image not found in Unknown on line 0

我无法在任何命令中键入终端并按下输入, 只需将线条往下掉即可。 终端的“ 标题” 表示 PHP 5.3.1, 所以我不确定它是否离开了标准用户模式( 不管它叫什么 ) 。 我重新启动了我的计算机, 终端也用同样的信息打开了 。

我可以在菜单中输入某种命令来恢复它吗?有人能帮我把终端 恢复到"正常"吗?

- 我去了 shell- gt; new 命令, 并在 su root; 中输入登录。 但是, 当我打开一个新的终端窗口时, 这有效, 我仍然会收到相同的php 错误, 我无法找到当终端打开时通常如何登录 。

问题回答

defauilt 的 < code_ /. profile 由 default 完成, 在 OSX 上( 至少在我的机器上) 是空的 。 所以只要将所有内容评论出来, 或者删除您为 cakePHP 添加的片段, 就可以清除您新弹壳的部件 。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签