[wp-trac] [WordPress Trac] #39935: rest-api not working on PHP Built-in server instance

WordPress Trac noreply at wordpress.org
Wed Feb 22 07:07:11 UTC 2017


#39935: rest-api not working on PHP Built-in server instance
--------------------------+-----------------------------
 Reporter:  thinkholic    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  REST API      |    Version:  4.7.2
 Severity:  normal        |   Keywords:
  Focuses:  rest-api      |
--------------------------+-----------------------------
 HI. I use PHP built-in server for wordpress development instea of using
 WAMP/MAMP like stack.

 I noticed rest-api not working on PHP built-in server and it getting no
 error or warning messages too.

 Reproduce Steps:
 - Get fresh copy of WordPress latest
 - Create DB and update wp-config.php
 - Run the server with `php -S localhost:8888 ./`
 - Install `rest-api` plugin
 - Try to get results with 'localhost:8888/wp-json`

 Actually I use to run these steps with https://github.com/thinkholic
 /wordpress-cli/ tool. I am doing some improvement on it and found the
 issue.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39935>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list