Blog PEAR email -

FOR PHP 5.3 - the following lines install the pear for PHP5.3

Unix/Linux/BSD
When using PHP, the PEAR Package Manager is already installed unless one has used the ./configure option --without-pear.

If one uses a version of PHP that is supplied by Unix/Linux/BSD distributors it may be necessary to manually install PEAR. Users should consult the documentation for the respective distribution in this case.

If you want to re-install the Package Manager, you can use the following provisional way:

$ wget http://pear.php.net/go-pear.phar
$ php go-pear.phar

PHP Errors & PHP Warnings & PHP Notices - Explaination

PHP Errors:

Fatal run-time errors. These indicate errors that can not be recovered from, such as a memory allocation problem. Execution of the script is halted.

PHP Warnings:

Run-time warnings (non-fatal errors). Execution of the script is not halted.

PHP Notices:

Run-time notices. Indicate that the script encountered something that could indicate an error, but could also happen in the normal course of running a script

SQL COUNT ROWS BY SAME DATE

=============================================================================

SELECT DATE(thetimestamp),
FROM `whatever`
group by DATE(thetimestamp)

=============================================================================

GIT CONFLICT - Process to follow

Process to follow when GIT CONFLICT

#1 - git mergetool
#2 - press m (modified)
#3 - git checkout --theirs theconflictedfile
#4 - git commit -m "using theirs"
#5 - git pull --all

Regular Expression to Remember

Regular expressions
Some hints about the syntax of regular expressions:

Speed performance - HTaccess - great tips

To add in your htaccess

# 1 YEAR

Header set Cache-Control "max-age=29030400, public"

# 1 WEEK

Header set Cache-Control "max-age=604800, public"

# 2 DAYS

Header set Cache-Control "max-age=172800, proxy-revalidate"

# 1 MIN

Header set Cache-Control "max-age=60, private, proxy-revalidate"

Pages

Latest Post

Popular Post

Our Skills

Author

Project Director Information Architect Database Administrator Unix Administrator Senior Developer Project Manager Product Manager Web Marketer Cloud Engineer

Contact Us

For any questions or project ideas please contact me at the following.

I'm here