Reference – What does this regex mean?

The Stack Overflow Regular Expressions FAQ See also a lot of general hints and useful links at the regex tag details page. Online tutorials RegexOne ↪ Regular Expressions Info ↪ Quantifiers Zero-or-more: *:greedy, *?:reluctant, *+:possessive One-or-more: +:greedy, +?:reluctant, ++:possessive ?:optional (zero-or-one) Min/max ranges (all inclusive): {n,m}:between n & m, {n,}:n-or-more, {n}:exactly n Differences between greedy, … Read more

Where is php.ini-development on Ubuntu LAMP?

php.ini-development and php.ini-production, which come with the PHP 5.3 package, are really just examples of recommended settings. You should review the settings and make sure that they apply to your use and copy them to the regular php.ini file location. On my Ubuntu 10.04.1 LTS (lucid) server, here’s where I find mine: # locate php.ini-development … Read more

Exclude a specific repo from YUM Update

Try the disable repo switch: –disablerepo=REPONAME UPDATE To find all repositories currently “known” (enabled and disabled): yum repolist all Then to find which repository is giving you grief for the above package, try: yum list php53-mcrypt-5.3.3-4.ius.el5.x86_64 –showduplicates This will then show which of your repositories provide the above package (you’ll see “installed” on the list … Read more

PHP exit status 255: what does it mean?

255 is an error, I could reproduce that same exit code by having a fatal error. This means that somehow your error reporting is hidden, there are some possible causes for this: error_reporting is not defined and php reports no error at all An @ (error suppression operator) hides the output of the error STDERR … Read more