从这里安装了一个新的Bitnami,https://bitnami.com/stack/lamp/installer,现在浏览器中的localhost和phpmyadmin正在工作,但是在终端中,我在lamp/mysql/bin目录中输入了mysql命令
未找到mysql命令。
我对linux非常陌生,最近安装了ubuntu。我不知道是否应该保存路径,但在我看来,只有当路径在bin目录中工作时,路径问题才会出现。但在那里不起作用。
which mysql什么都不做
我在环境中安装了Anaconda,并且可以作为普通用户在shell中成功地使用它:
curt@lamp-v5mi:~$ python
Python 2.7.9 |Anaconda 2.2.0 (64-bit)| (default, Mar 9 2015, 16:20:48)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda
我安装了LAMP。
我有phptest.php,它包含<?php phpinfo(); ?>
我试过:
[.public_html]$ php -S localhost:54545 phptest.php
[Mon Jan 25 21:06:52 2016] PHP Warning: Module 'xdebug' already loaded in Unknown on line 0
PHP 5.6.14 Development Server started at Mon Jan 25 21:06:52 2016
Listening on http://loc