E
E
exactly the most2015-12-04 11:25:32
Apache HTTP Server
exactly the most, 2015-12-04 11:25:32

Why don't php and html work together?

In php and html don't work together, linux mint - apache2. And they work separately. if you insert php code, then in this case it gives an error 500. Where can I see the log and how to make this miracle of technology work together ?.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dim Boy, 2015-12-04
@twix007

/etc/apache2/sites-enabled/site.com.conf - add after
ErrorLog /home/www/site.com/error.log
and there will be site logs

E
exactly the most, 2015-12-04
@dalmariko

However, everything works except for syntax highlighting in gedit, but it starts working if the script is inserted into the tag <script>, except that the script itself is not executed (((. In a riddle. And by the way, the log cannot be displayed separately? what could be the reason?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question