Banner for Wp Php Console
An implementation of PHP Console as a WordPress plugin. Use Chrome Dev Tools to debug your WordPress installation! Wordpress Tutorial
Noted That:
  • To install correctly this wp-php-console.zip .
  • Fisrt Download the wp-php-console.zip to your computer
  • Extract/Open wp-php-console.zip to Your Computer.
  • Then, Find readme.txt file inside wp-php-console.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " wp-php-console.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Wp Php Console

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Wp Php Console

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Wp Php Console

Step-5 : Now, Browse " wp-php-console.zip " Downloaded plugin from your computer, Where you downloaded " wp-php-console.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Wp Php Console

Step-6 : Now, Click on " Active Plugin "

Activate Wp Php Console

Step-7 : Then, See left Side Menu. " Wp Php Console " folder is added on left Side Menu. Now, Click on " Wp Php Console " folder.

Noted that: If you do not see " Wp Php Console " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Wp Php Console Configurations and Settings or How to work " Wp Php Console " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " WP PHP Console " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is WP PHP Console
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. First, install Google Chrome extension PHP Console from the Chrome WebStore .
    Make sure the PHP Console Chrome extension is enabled through chrome://extensions/ .
    Important Note
    If the Google Chrome extension is not available on the Chrome Web Store, you can manually install it from source .

  2. Then, add this plugin to your WordPress installation either by:

  • Installing it as any other WordPress plugin from your WordPress admin Plugins page ( Add New )

  • Uploading it in wp-php-console directory into your wp-content/plugins/ directory or corresponding plugins directory in your installation

  1. Activate the plugin through the Plugins admin page in WordPress

  2. In the Settings menu go to WP PHP Console :

  • Enter a password for the Eval Terminal (this setting is needed or the terminal feature simply won’t work).

  • You can also set other options.

Options

Allow only on SSL
Forces PHP Console to connect on a SSL connection only (of course then if you don’t actually have SSL (https), PHP Console simply won’t work).

Allowed IP Masks
You can secure your server by specifying IP addresses to restrict the accessibility from the Eval Terminal (a single address eg. 192.168.0.4 or an address mask eg. 192.168.*.* or multiple IPs, comma separated 192.168.1.22,192.168.1.24,192.168.3.* ). In case of having issues connecting with the Remote PHP Eval Terminal, try leaving this blank.

Register PC Class
Tick this option to register PC in the global PHP namespace. This allows to write PC::debug($var, $tag) or PC::magic_tag($var) instructions in PHP to inspect $var in the JavaScript console.

Show Call Stack
Tick this option to see the call stack when PHP Console server writes to the JavaScript console.

Short Path Names
Tick this checkbox to shorten PHP Console error sources and traces paths in the JavaScript console. E.g. paths like /server/path/to/document/root/WP/wp-admin/admin.php:38 will be displayed as /WP/wp-admin/admin.php:38


Name