PHP 8.5.0 Alpha 1 available for testing

Voting

: two minus zero?
(Example: nine)

The Note You're Voting On

chris dot dallaire at csquaredsystems dot com
15 years ago
I needed to use this to touch the /etc/cron.d directory when I updated some files in there. I know the docs say this isn't necessary, but I'm finding that i need to do it in order form my changes to be picked up quickly.

I ran into the permissions error as well and I found that using chmod 777 /etc/cron.d does the trick.

So, you should be able to use the PHP touch function on a directory that has open write access.

Of course, this isn't the most secure approach, but in our application it's not a big deal for that folder to not be super secure.

<< Back to user notes page

To Top