This site has been archived and will no longer be updated.
You can find my new profile at neilpahl.com. My new blog is at 808.ninja.
got a nasty error when using a shebang on top of php script
to fix the "PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0" error,
you need to edit
/etc/php5/cli/conf.d/mcrypt.ini
Change the '#' in the first line to ';'
i got this probelem on ubuntu server 10.04 LTS when creating the following .sh script:
#!/usr/bin/php <?php echo "awesome" ; ?>
PLEASE let me know if I'm doing something wrong, or if you have any suggestions or requests~
blog comments powered by Disqus