Ubuntu 6.01 Edgy PHP CLI Issue
So, I recently upgraded my Ubuntu install to Edgy. One of the packages I have installed is php4-cli, which I use specifically for testing sample code. Well, when I went to run it, I found this little nasty popping up:
PHP Warning: mime_magic: type regex
BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0
Looks like there is a defect open with the debian folks, but it says to uncomment a line out in /usr/share/file/magic.mime. However, for Ubuntu, this should be commented out. The line that needs to be commented out is:
0 regex BEGIN[[:space:]]*[{] application/x-awk
Upon doing so, php will run on the CLI without producing the warning.