Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

htaccess and display_errors not working

Avatar of maredzki
maredzki asked on
LinuxPHPApache Web Server
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
Avatar of maredzki
maredzki

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

Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answers