- Issue the following commands from the command line in your Yii application directory:
chmod +x psyii
mkdir extensions/yiishell
wget -O extensions/yiishell/psysh psysh.org/psysh
chmod +x extensions/yiishell/psysh
- Copy the file
init.php
below topsysh/init.php
and update any paths to work with your application configuration - Copy the file
config.php
below topsysh/config.php
. Change or add to the config array with the options you'd like to use (available options) - Now you can start PsySH with the command
./psyii psysh/init.php --config psysh/config.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A VirtualBox bug forces vagrant to serve | |
# corrupt files via Apache or nginx | |
# The solution to that would be to turn off | |
# the SendFile option in apache or nginx | |
# | |
# If you use apache as your main web server | |
# add this directive in your httpd.conf (or apache.conf) | |
# configuration file name may vary in various systems | |
# | |
EnableSendfile off |
NewerOlder