PHP Cartridge fails to install without internet access in OSE 2.2

Solution Verified - Updated -

Issue

  • When creating a PHP application, below error is seen.
# rhc app-create phptest4 php-5.4
.. snip ...
config-set succeeded
Updating channel "pear.php.net"
Channel "pear.php.net" is not responding over http://, failed with message: Connection to `pear.php.net:80' failed:
Connection timed out
Trying channel "pear.php.net" over https:// instead
Cannot retrieve channel.xml for channel "pear.php.net" (Connection to `pear.php.net:443' failed: Connection timed out)
Unable to complete the requested operation due to: An invalid exit code (157) was returned from the server
node1.rosetta.com.  This indicates an unexpected problem during the execution of your request.

Environment

  • OpenShift Enterprise 2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.