Ubuntu Warning: require_once(HTTP/Request2.php)

If you see this error when you access your source code: Warning: require_once(HTTP/Request2.php)

It is saying that you lack some PHP extensions.

You need to install 2 extensions: Pear and Http_request2

You can do it by the following commands:

sudo apt-get install php-pear

sudo pear install http_request2

 

Revisions

No comments yet.

Leave a Reply