Skip to main content
Known Participant
Jul 7, 2011 11:45 PM UTC
Question

php.ini causing error messages

i get these error messages when using a php.ini file in a directory:

Warning:  filemtime() [function.filemtime]: Stat failed for download movies.txt (errno=2 - No such file or directory) in /homepages/45/d222365928/htdocs/uploader/users/name/index.php on line 249

Warning:  filesize() [function.filesize]: Stat failed for download movies.txt (errno=2 - No such file or directory) in /homepages/45/d222365928/htdocs/uploader/users/name/index.php on line 244

what do these mean?  when i delete the php.ini file off of the server, these errors go away, and the code works like it is suppose to.

thanks.

Message was edited by: future-architect

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

David_Powers
Inspiring
Jul 8, 2011 11:52 AM UTC

future-architect wrote:

i get these error messages when using a php.ini file in a directory:

You can't put a php.ini file in a directory. You can use a .user.ini file in a directory if your server is running PHP 5.3 in CGI/FastCGI SAPI. Check with your hosting company to see what your server configuration is like.

Translate
Known Participant
Jul 8, 2011 5:02 PM UTC

hm, didn't work, but will check with my hosting provider.

Translate