当我试图在本地启动应用程序时,我得到了以下错误:
nick$ foreman start
23:56:24 web.1 | started with pid 98467
23:56:24 web.1 | This program requires PHP 5.5.11 or newer; check your 'php-fpm' command.
23:56:24 web.1 | exited with code 1
23:56:24 system | sending SIGTERM to all processes
我已经在本地运行了PHP5.5.15:
nick$ p
我使用Puphpet.com创建了一个用于web开发的Vagrant。我遇到的问题是VM无法在引导时启动apache。
$ sudo /etc/init.d/apache2 start
* Starting web server apache2 *
* The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 36 of /etc/apache2/apache2.conf: Sy
我安装了Ubuntu15.04,但我需要使用PHP5.5,在15.04中,标准是PHP5.6
我加入了PPA:
sudo add-apt-repository ppa:ondrej/php5
但当我试图安装时,我得到了:
The following packages have unmet dependencies:
php5-mcrypt : Depends: phpapi-20121212 Depends: php5-common (= 5.5.24+dfsg-1+deb.sury.org~vivid+1)
but 5.6.4+dfsg-4ubuntu6 is to be in
我的主机是pro ( Ovh ),当我输入php artisan时,我在Ovh中遇到了Laravel5.1的问题
X-Powered-By: PHP/4.4.9
Content-type: text/html
<br />
<b>Warning</b>: Unexpected character in input: '\' (ASCII=92) state=1 in <b>/home/obliviushc/petite-enfance/artisan</b> on line <b>31</b&g
嗨,我在xampp 1.8.3-2和下一页安装的Ubuntu12.04中安装了magento 1.7.0.2,这给出了一个错误
PHP Extensions “0” must be loaded
我遵循了提供的解决方案,它返回另一个显示消息窗口的错误:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem ca
我正在学习如何使用Xhgui (0.4.0)工具。当我阅读有关它的教程时,我看到在概要文件中出现了所有被调用的函数--甚至是php本机函数,比如array_filter等等。在我的Xhgui安装中,我尝试了profile简单脚本:
<?php
sleep(5);
但Xhgui只打印
???_op 1,000,359 s 0 s 0 s 752字节0字节5,000,359 s 0 s 752字节
load::web/app.php 1,5,757 s 0 s r= 3,880字节7,200字节5,757 s 0 s 3,880字节7,200字节
main() 1 360 s
我在运行OSX El Capitan。我用brew安装了mongo驱动程序:
brew install php70-mongodb
安装工作完成了,而且似乎成功了。当我在CLI上做"php -m“时,它显示了已安装的"mongo”。使用Mongo驱动程序运行脚本工作。当我试图通过Apache2运行相同的脚本时,问题就会发生。然后,由于下面的代码行,我得到一个错误,即Mongo没有安装:
if (!extension_loaded('mongo')) die("MongoDB is not installed!");
phpinfo()确实显示Mo
当我试图安装whmcs时,我得到了这个错误。
/whmcs/install/install.php was encoded by the ionCube Encoder for PHP 5 and cannot run
under PHP 5.5.\n Please ask the provider of the script to provide a version encoded with
either the ionCube Encoder for PHP 5.3 or for PHP 5.4. in Unknown on line 0
我的服务器有PHP 5.5.8,Apache/