I want make gulp work with php files, so I search and see that I need gulp-connect-php plugin. After install it, I have tried a lot of possibilities but no success. My last code is below.
var gulp = require('gulp');
var connect = require('gulp-connect-php');
var browserSync = require('browser-sync');    
gulp.task('browserSync', function() {
  browserSync.init({
    // server: {
    //   baseDir: 'app'
    // },
    proxy: 'http://localhost/'
  })
})
gulp.task('connect', function() {
   connect.server({
      hostname: 'localhost',
      port: 8000,
      base: ''
   });
});
				
                        
Thank you for reply. I solve that by changing code just like below:
I also changed the httpd.conf file in the wamp64 folder just like this article