A
A
Alexander Gray2014-08-18 04:21:08
PHP
Alexander Gray, 2014-08-18 04:21:08

How to work with php files in GULP task manager?

I use GULP as a web server with LiveReload, and for compiling LESS, CoffeeScript. There used to be a gulp-connect plugin for the web server. Just recently I learned about gulp-webserver. I want to split the code into parts in index.html(php) (header, slider, footer, etc.) and connect them via <?php include filename;?> for better code organization and readability. The problem is this: GULP's web server doesn't want to run PHP files, only HTML. How can this be resolved?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
_
_ _, 2014-08-18
@theobroma

No way. It's just not designed for that.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question