title: Parse .proto to php class
body: <p>I've currently trying to parse a .proto file into php. I've tried using <a href="https://github.com/drslump/Protobuf-PHP" rel="nofollow">DrSlump's Protobuf Parser</a>
  but either my knowledge is too small or my Godaddy Shared Hosting is missing something. I've tried everything with my knowledge with no success to get what I want.</p>
  
  <p>So my Question, is there any step by step tutorial on how to get this working?</p>
  
  <p>I've got protoc installed with SSH and also installed </p>
  
  <pre><code>pear channel-discover pear.pollinimini.net
  pear install drslump/Protobuf-beta
  </code></pre>
  
  <p>Current issue: </p>
  
  <pre><code>root@v0071:~/Root/var/www/xxx.com/web/test# protoc-gen-php
  Protobuf-PHP 0.9.4 by Ivan -DrSlump- Montes
  
  Error: You must provide at least 1 argument.
  
  Type "/usr/bin/protoc-gen-php --help" to get help.
  root@v0071:~/Root/var/www/xxx.com/web/test# php protoc-gen-php.php LandData.proto
  Protobuf-PHP @package_version@ by Ivan -DrSlump- Montes
  
  /var/www/clients/client1/web10/web/test/LandData.proto: 
  File does not reside within any path specified using --proto_path (or -I).    
  You must specify a --proto_path which encompasses this file.  
  Note that the proto_path must be an exact prefix of 
  the .proto file names --protoc is too dumb to figure out when two 
  paths (e.g. absolute and relative) are equivalent 
  (it's harder than you think).
  
  ERROR: protoc exited with an error (1) when executed with: 
  protoc \--plugin=protoc-gen-php='/var/www/clients/client1/
  web10/web/test/protoc-gen-php.php' \
  
  --proto_path='/var/www/clients/client1/web10/web/test/
  library/DrSlump/Protobuf/Compiler/protos' \--php_out=':./' \
  '/var/www/clients/client1/web10/web/test/LandData.proto'
  </code></pre>