Jump to content

PHP Files Downloading (Not being displayed) in Alias Directory


Recommended Posts

Hello all,

I am having a bit of a problem with a script I am currently working on.

 

There is an alias called /static/ which points to a directory outside of my htdocs folder. When running any of these files it asks to download the PHP file, rather than displaying it.

 

I understand that this is something to do with the apache/php link not running - but just in this alias. And from what I understand this is something I need to change in the htaccess or apache config file?!

 

Regards,

Matt

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.