Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

php.ini causing error messages

Explorer ,
Jul 07, 2011 Jul 07, 2011

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

TOPICS
Server side applications
646
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 08, 2011 Jul 08, 2011

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 08, 2011 Jul 08, 2011

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 16, 2011 Jul 16, 2011
LATEST

they said that "PHP in 1&1 server is installed in CGI Module".

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines