Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEAR support #68

Open
ddevelop opened this issue Dec 13, 2013 · 1 comment
Open

PEAR support #68

ddevelop opened this issue Dec 13, 2013 · 1 comment

Comments

@ddevelop
Copy link

Tried to push first example from http://pear.php.net/manual/en/package.http.http-request.intro.php

Example requires 'HTTP/Request.php' which requires PEAR.php etc.

File is on include_path(.:/app/vendor/php/lib/php):
-rw------- 1 59804 59804 33897 Oct 17 12:21 /app/vendor/php/lib/php/PEAR.php

(strange permissions!?)

Got error(container log):
PHP Fatal error: require_once(): Failed opening required 'PEAR.php' (include_path='.:/app/vendor/php/lib/php') in /app/vendor/pear-pear.php.net/HTTP_Request/HTTP/Request.php on line 50"

I've been using composer.json to install package dependencies:
"require": {
"pear-pear/HTTP_Request": "*"
}
...
"repositories": [
{
"type": "pear",
"url": "http://pear.php.net"
}
]

@josegonzalez
Copy link
Contributor

Pear seems to work fine for me on this app: http://cakephp-test.herokuapp.com/

(The CakePHP framework is installed via pear)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants