Skip to content

Instantly share code, notes, and snippets.

@deizel
Created October 8, 2012 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deizel/3854456 to your computer and use it in GitHub Desktop.
Save deizel/3854456 to your computer and use it in GitHub Desktop.
deizel@imac : ~/Development/stackoverflow
% cd 12787540-using-pear-xmlrpc2-inside-wordpress-plugin
deizel@imac : ~/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin
% mkdir -p wp-content/plugins/plugin_name/PEAR/
deizel@imac : ~/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin
% cd wp-content/plugins/plugin_name
deizel@imac : ~/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name
% cd PEAR
deizel@imac : ~/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name/PEAR
% wget https://github.com/pear/XML_RPC2/zipball/trunk
--2012-10-08 20:22:55-- https://github.com/pear/XML_RPC2/zipball/trunk
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://nodeload.github.com/pear/XML_RPC2/zipball/trunk [following]
--2012-10-08 20:23:43-- https://nodeload.github.com/pear/XML_RPC2/zipball/trunk
Resolving nodeload.github.com... 207.97.227.252
Connecting to nodeload.github.com|207.97.227.252|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 192098 (188K) [application/zip]
Saving to: `trunk'
100%[==============================================================================================>] 192,098 19.8K/s in 9.5s
2012-10-08 20:23:55 (19.8 KB/s) - `trunk' saved [192098/192098]
deizel@imac : ~/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name/PEAR
% unzip trunk
Archive: trunk
0bc7a1000a781d2d27be5e78459c10622f511442
creating: pear-XML_RPC2-0bc7a10/
inflating: pear-XML_RPC2-0bc7a10/Makefile
creating: pear-XML_RPC2-0bc7a10/XML/
creating: pear-XML_RPC2-0bc7a10/XML/RPC2/
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend.php
creating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/
creating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Client.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Request.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Response.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Server.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Value.php
creating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Value/
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Value/Array.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Value/Base64.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Value/Boolean.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Value/Datetime.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Value/Double.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Value/Integer.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Value/Integer64.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Value/Nil.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Value/Scalar.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Value/String.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Php/Value/Struct.php
creating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Xmlrpcext/
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Xmlrpcext/Client.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Xmlrpcext/Server.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Backend/Xmlrpcext/Value.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/CachedClient.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/CachedServer.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Client.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/ClientHelper.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Exception.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Server.php
creating: pear-XML_RPC2-0bc7a10/XML/RPC2/Server/
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Server/CallHandler.php
creating: pear-XML_RPC2-0bc7a10/XML/RPC2/Server/CallHandler/
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Server/CallHandler/Class.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Server/CallHandler/Instance.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Server/Input.php
creating: pear-XML_RPC2-0bc7a10/XML/RPC2/Server/Input/
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Server/Input/PhpInput.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Server/Input/RawPostData.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Server/Method.php
creating: pear-XML_RPC2-0bc7a10/XML/RPC2/Util/
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Util/HTTPRequest.php
inflating: pear-XML_RPC2-0bc7a10/XML/RPC2/Value.php
creating: pear-XML_RPC2-0bc7a10/docs/
extracting: pear-XML_RPC2-0bc7a10/docs/Makefile
creating: pear-XML_RPC2-0bc7a10/docs/tutorials/
inflating: pear-XML_RPC2-0bc7a10/docs/tutorials/XML_RPC2.lyx
inflating: pear-XML_RPC2-0bc7a10/package.php
inflating: pear-XML_RPC2-0bc7a10/package.xml
creating: pear-XML_RPC2-0bc7a10/tests/
inflating: pear-XML_RPC2-0bc7a10/tests/Makefile
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedClient/
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedClient/phpxmlrpcValidator1EasyStructTestCacheOffByDefault1.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedClient/phpxmlrpcValidator1EasyStructTestCacheOffByDefault2.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedClient/phpxmlrpcValidator1EasyStructTestCacheOnByDefault1.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedClient/phpxmlrpcValidator1EasyStructTestCacheOnByDefault2.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedClient/phpxmlrpcValidator1EasyStructTestCacheOnByDefault3.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedClient/phpxmlrpcValidator1EasyStructTestCacheOnByDefault4.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedClient/tmpdir.inc
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedServer/
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedServer/tmpdir.inc
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedServer/validator1EasyStructTestCacheOffByDefault1.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedServer/validator1EasyStructTestCacheOffByDefault2.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedServer/validator1EasyStructTestCacheOffByDefault3.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedServer/validator1EasyStructTestCacheOnByDefault1.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedServer/validator1EasyStructTestCacheOnByDefault2.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/cachedServer/validator1EasyStructTestCacheOnByDefault3.phpt
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/client/
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/client/faultFromPython.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/client/okFromPython.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/client/phpxmlrpcValidator1ArrayOfStructsTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/client/phpxmlrpcValidator1CountTheEntities.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/client/phpxmlrpcValidator1EasyStructTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/client/phpxmlrpcValidator1EchoStructTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/client/phpxmlrpcValidator1ManyTypesTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/client/phpxmlrpcValidator1ModerateSizeArrayCheck.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/client/phpxmlrpcValidator1NestedStructTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/client/phpxmlrpcValidator1SimpleStructReturnTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/client/protocolError.phpt
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/array.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/base64.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/boolean.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/datetime.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/double.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/faultResponse.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/integer.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/integer2.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/integer64.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/null.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/request.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/response.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/string.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/decoding/struct.phpt
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/array.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/base64.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/boolean.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/datetime.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/datetime1.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/datetime2.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/datetime3.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/datetime4.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/double.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/integer.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/integer64.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/null.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/request.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/response.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/response2.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/string.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/encoding/struct.phpt
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/regressions/
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/regressions/11135.phpt
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/invalidXMLRequest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/nonexistantMethod.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/normalRequest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/normalRequestWithPrefix.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/normalRequestWithPrefix2.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/validator1ArrayOfStructsTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/validator1CountTheEntities.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/validator1EasyStructTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/validator1EchoStructTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/validator1ManyTypesTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/validator1ModerateSizeArrayCheck.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/validator1NestedStructTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/phpBackend/server/validator1SimpleStructReturnTest.phpt
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/regressions/
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/regressions/11314.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/regressions/14038.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/regressions/18258.phpt
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedClient/
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedClient/phpxmlrpcValidator1EasyStructTestCacheOffByDefault1.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedClient/phpxmlrpcValidator1EasyStructTestCacheOffByDefault2.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedClient/phpxmlrpcValidator1EasyStructTestCacheOnByDefault1.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedClient/phpxmlrpcValidator1EasyStructTestCacheOnByDefault2.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedClient/phpxmlrpcValidator1EasyStructTestCacheOnByDefault3.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedClient/phpxmlrpcValidator1EasyStructTestCacheOnByDefault4.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedClient/tmpdir.inc
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedServer/
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedServer/tmpdir.inc
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedServer/validator1EasyStructTestCacheOffByDefault1.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedServer/validator1EasyStructTestCacheOffByDefault2.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedServer/validator1EasyStructTestCacheOffByDefault3.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedServer/validator1EasyStructTestCacheOnByDefault1.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedServer/validator1EasyStructTestCacheOnByDefault2.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/cachedServer/validator1EasyStructTestCacheOnByDefault3.phpt
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/client/
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/client/faultFromPython.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/client/okFromPython.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/client/phpxmlrpcValidator1ArrayOfStructsTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/client/phpxmlrpcValidator1CountTheEntities.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/client/phpxmlrpcValidator1EasyStructTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/client/phpxmlrpcValidator1EchoStructTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/client/phpxmlrpcValidator1ManyTypesTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/client/phpxmlrpcValidator1ModerateSizeArrayCheck.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/client/phpxmlrpcValidator1NestedStructTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/client/phpxmlrpcValidator1SimpleStructReturnTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/client/protocolError.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/client/valueCreateFromNative.phpt
creating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/invalidXMLRequest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/nonexistantMethod.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/normalRequest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/normalRequestWithPrefix.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/normalRequestWithPrefix2.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/validator1ArrayOfStructsTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/validator1CountTheEntities.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/validator1EasyStructTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/validator1EchoStructTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/validator1ManyTypesTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/validator1ModerateSizeArrayCheck.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/validator1NestedStructTest.phpt
inflating: pear-XML_RPC2-0bc7a10/tests/XML_RPC2/xmlrpcextBackend/server/validator1SimpleStructReturnTest.phpt
creating: pear-XML_RPC2-0bc7a10/tests/lib/
inflating: pear-XML_RPC2-0bc7a10/tests/lib/run-tests
inflating: pear-XML_RPC2-0bc7a10/tests/lib/tests-config
deizel@imac : ~/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name/PEAR
% mv pear-XML_RPC2-0bc7a10/XML .
deizel@imac : ~/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name/PEAR
% rm -rf pear-XML_RPC2-0bc7a10 trunk
deizel@imac : ~/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name/PEAR
% cd ..
deizel@imac : ~/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name
% echo "<?php
dquote> var_dump(require_once('PEAR/XML/RPC2/Client.php'));" > index.php
deizel@imac : ~/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name
% php index.php
PHP Warning: require_once(XML/RPC2/Exception.php): failed to open stream: No such file or directory in /Users/deizel/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name/PEAR/XML/RPC2/Client.php on line 43
Warning: require_once(XML/RPC2/Exception.php): failed to open stream: No such file or directory in /Users/deizel/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name/PEAR/XML/RPC2/Client.php on line 43
PHP Fatal error: require_once(): Failed opening required 'XML/RPC2/Exception.php' (include_path='.:/usr/local/Cellar/php54/5.4.7/lib/php') in /Users/deizel/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name/PEAR/XML/RPC2/Client.php on line 43
Fatal error: require_once(): Failed opening required 'XML/RPC2/Exception.php' (include_path='.:/usr/local/Cellar/php54/5.4.7/lib/php') in /Users/deizel/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name/PEAR/XML/RPC2/Client.php on line 43
deizel@imac : ~/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name
% echo "<?php
dquote> set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__ . DIRECTORY_SEPARATOR . 'PEAR');
dquote> var_dump(require_once('PEAR/XML/RPC2/Client.php'));" > index.php
deizel@imac : ~/Development/stackoverflow/12787540-using-pear-xmlrpc2-inside-wordpress-plugin/wp-content/plugins/plugin_name/PEAR
% php index.php
int(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment