Answer the question
In order to leave comments, you need to log in
PHP outputs source code on errors
Good evening everyone.
I set up ispconfig on Ubuntu, in case of errors in php files, the source code of the script is displayed, for example
<?php
echo '<pre>';
print_r($_SERVER)
Instead of an error, it displays
?php
echo '<pre>';
print_r($_SERVER)
Already searched through the entire php.ini but there is no sense, can anyone come across how to fix it?
Answer the question
In order to leave comments, you need to log in
The problem was solved, the error turned out to be in FTP, when uploading files, the sign of the first sign < was cut off , now I'll see why
The problem is not php, but apache. It seems that the php interpreter does not even reach.
And the problem is not in the download mode? File Type Matching - Binary/ascii?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question