Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP? #17

Open
jamesburt85 opened this issue Oct 18, 2017 · 4 comments
Open

PHP? #17

jamesburt85 opened this issue Oct 18, 2017 · 4 comments

Comments

@jamesburt85
Copy link

Hi, I am a relative newbie, so please bear with me.

Can I use PHP on FastShell? Or is it just html in the index.html file?

@HosseinKarami
Copy link
Owner

Hi, yes you can use PHP in FastShell.
Just change the gulpfile.js

gulp.task('browser-sync', ['css', 'js'], function() {
    browserSync.init({
        proxy: "localhost"
    });
});

@jamesburt85
Copy link
Author

Thanks for the quick response.

Do I add that code to the gulpfile.js and then rename the index.html to index.php?

@HosseinKarami
Copy link
Owner

yes 👍

@jamesburt85
Copy link
Author

Hmm. I did that but in my localhost I get this on the screen 'Cannot GET /'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants