troubleshooting Question

htaccess and display_errors not working

Avatar of maredzki
maredzki asked on
Apache Web ServerPHPLinux
3 Comments1 Solution1169 ViewsLast Modified:
Hi Experts!
I am running a VPS on Plesk and have php.ini to globally disable warning/errors in php. However, that server is also used for dev purposes and I cannot seem to get .htaccess to display errors on a dev virtual site. Here are the settings I have:

php - 5.3.14

.htaccess values:
php_flag display_warnings On
php_flag diplay_errors On
php_flag html_errors On
AddType x-mapp-php5 .php

This code generates a blank screen, no errors:
<?php
echo "test"
echo "test2"
?>

The file permissions are 0644 and I have tried putting dummy info in .htaccess which resulted in Internal Error being generated which somewhat proves that it is being read by apache.

If there is any other information needed, please let me know.

Any help greatly appreciated!

Marek
ASKER CERTIFIED SOLUTION
maredzki

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros