-
Notifications
You must be signed in to change notification settings - Fork 162
Open
Description
My enviroment:
PHP v.5.3.13
Pear's Console_CommandLine v.1.2.0
protoc.exe v.2.6.1
Steps:
- Installed Protobuf-PHP library using pear:
pear channel-discover pear.pollinimini.net
pear install drslump/Protobuf-beta - Tried to generate PHP from protobuf (protoc.exe, protoc-gen-php.bat and tutorial.proto located in the same directory "P:\pear"):
protoc-gen-php.bat -i . tutorial.proto
Output:
P:\pear>protoc-gen-php.bat -o ./build -i . tutorial.proto
X-Powered-By: PHP/5.3.13
Content-type: text/html
Protobuf-PHP 0.9.4 by Ivan -DrSlump- Montes
Error: You must provide at least 1 argument.
Type "P:\pear\protoc-gen-php --help" to get help.
P.S. There are also similar question without answer on stackoverflow.com (http://stackoverflow.com/questions/30478277/parse-proto-to-php-class)
Metadata
Metadata
Assignees
Labels
No labels