Internal Server Error with PHPList

PHPList produces internal server error. Checking error logs results in:

Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration.

The php_flag command is used to set a PHP configuration directive. However, not all servers support this command. If your server does not support the php_flag command, you will need to remove it from your PHP configuration file.

Here are the steps on how to remove the php_flag command from your PHP configuration file:

 

  1. Open your PHP configuration file. This file is usually called php.ini and resides in your public_html folder with Ultra.
  2. Find the line that contains the php_flag command.
  3. Comment out the line by adding a # symbol to the beginning of the line.
  4. Save the file.

Once you have removed the php_flag command from your PHP configuration file, PHPList should no longer produce the error message.

Here are some additional details about the error message:

  • The php_flag command is a deprecated command. This means that it is no longer supported by the latest versions of PHP.
  • If you are using an older version of PHP, you may need to upgrade to a newer version in order to remove the php_flag command from your PHP configuration file.

This can also be corrected by remarking or removing:

php_flag magic_quotes_gpc on

in your .htaccess file.

 

  • 159 Users Found This Useful

Was this answer helpful?

Related Articles

When trying to connect to MariaDB or MySQL you receive error 2003 Cannot connect to MySQL on xxxxxx on port 3306 10060

The error 2003 "Cannot connect to MySQL on xxxxxx on port 3306 10060" means that the MySQL...

Error: SoftException in Application(dot)cpp:303 UID of script is small than min_uid

The error message "Error: SoftException in Application(dot)cpp:303 UID of script is small than...

How can I parse html as php?

Create an .htaccess file and upload it to the root of your public_html directory. Include the...

phpMyAdmin - Error Incorrect format parameter

When importing a database with phpMyAdmin I receive the error "Error Incorrect format parameter"....

InnoDB Error Attempted to open a previously opened tablespace

When receiving the error... "InnoDB: Error: Attempted to open a previously opened tablespace....