apache - php not loaded but the code exist in view source page -
I was setting up my server, unfortunately the PHP page was not loaded in the browser. Viewing the source source pages, I see my php code. I am using Santos and I am setting up a seaplan. What is usually the reason for the problem?
This means that PHP is not running. Have you tried to reach the local host in your browser? Normally you should see the PHP index file, which tells you whether the server works or not.
Some possibilities:
- Is your file in the proper root folder?
- Is your file in .php (ex. Not .html)?
- Will you please complete
& lt; Using php? ? & Gt; tag? Some server configuration
& lt;? Can not recognize? & Gt;
Comments
Post a Comment