Skip to content

Instantly share code, notes, and snippets.

@Tyrael
Created June 10, 2011 23:19
Show Gist options
  • Save Tyrael/1020004 to your computer and use it in GitHub Desktop.
Save Tyrael/1020004 to your computer and use it in GitHub Desktop.
pecl.php.net install
# install some PEAR dependencies
pear install Html_Form Net_Url Net_URL2-beta Pager HTML_Table HTTP HTML_TreeMenu DB
# check out the code
svn co https://svn.php.net/repository/web/pecl/trunk pecl.php.net
# create and configure the vhost
# add the following line to the sql/data.php
# require_once "../include/pear-prepend.php";
# rename the error_handler function and the reference to it something else (the prepend file includes a file which also defines a function with this name)
cd pecl.php.net/sql
make create
# type the password for your root mysql user
# you should be done
# optionally change the error reporting level in the pear-prepend.php to ignore the notice and deprecated messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment