Getting 500 internet server error while using php email

0 Suzan Kara · May 28, 2015
Hi, i want to send email to my 600 clients through php email. but the loop works till 20 contacts, after that it show 500 internal server error. I am using server. Here is the script:

Post a Reply


Oldest  Newest  Rating
0 Rui Costa · May 29, 2015
Put na .htaccess file with this lines:

# enable PHP error logging
php_flag  log_errors on
php_value error_log  PHP_errors.log
# prevent access to PHP error log

 Order allow,deny
 Deny from all
 Satisfy All

# supress php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0

For any error, it will create na PHP_errors.log with allerrors and warnings on the folder.
  • 1



Server-side, HTML embedded scripting language used to create dynamic Web pages.