drslump/Protobuf-PHP

protoc-gen-php is not found when protoc is run from the command line

nalagg opened this issue · 1 comments

protoc --plugin=protoc-gen-php --php_out=./build simple.proto

error message:
protoc-gen-php: program not found or is not executable
--php_out: protoc-gen-php: Plugin failed with status code 1.

fixed: protoc --plugin=/FULL/PATH/TO/protoc-gen-php --php_out=./build simple.proto

Thanks! It helps me!