Jump to content
The Uniform Server Community

Computer42

Member
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About Computer42

  • Rank
    Newbie

Previous Fields

  • Main OS
    Windows 8
  1. Hi, I am running Uniform Server ZeroXIII - 13.3.2 portable under Windows 10 64bit. I am unable to get a php script or file to run from within an HTML file. See HTLM file, <html> <body> <p>First try with php:</p> <?php echo "My first PHP script!"; ?> </body> </html> When the file is run I get ‘First try with php’ come up but no "My first PHP script!" and no error message. Various web sites talk about creating a file called .htaccess with the following line, ‘AddType application/x-httpd-php .html .htm’ and putting in the website root directory. Can someone advise if this is correct and where the file should be placed as I have tried various placed without any success. Regards Peter
×
×
  • Create New...