Skip to site navigation

Forums Forum Rules

Cannot get php script to work on Linux Bronze. Works OK on a non-Zen server.

Last post 27-12-2009, 2:18 PM by gjc. 0 replies.
Sort Posts: Previous Next
  •  27-12-2009, 2:18 PM 35135

    Cannot get php script to work on Linux Bronze. Works OK on a non-Zen server.

    I know little about php so I acquired a script off the web to include a "spam-free" form on one of my websites which is *not* on a Zen server. The script works fine.  However, when I transfer it to one of my other websites which *is* on a Zen server (Linux Bronze package), the script will not run. I have looked at this thread - http://forum.zensupport.co.uk/thread/29873.aspx - and followed the instructions in the last post i.e. amending the .htaccess file to include:

    AddType application/x-httpd-php4 .xml
    AddHandler application/x-httpd-php4 .xml
    (also tried php5)

    It still won't run. Any advice would be greatly appreciated. Thanks

     

View as RSS news feed in XML

Skip to site navigation