question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

accessing php as part of the build

See original GitHub issue

Question

As part of my build process I run npm run production which compiles all my javascript, however a step in my build executes a php script. This seems to fail on ZEIT since php doesn’t appear to be available. Currently this means I need to pre-compile my assets and skip zeits build step.

Is there a way to expose php to my npm build scripts? or alternatively, is there a way to run my npm build scripts as part of the now-php build step?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
f3l1xcommented, Jun 27, 2020

This feature will be included in v0.3.0 (#81)

1reaction
f3l1xcommented, Mar 16, 2020

I can’t tell you the date, but I will work on it. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building from source - Manual - PHP
This chapter teaches how to compile PHP from sources on Windows, using Microsoft's tools. To compile PHP with cygwin, please refer to Installation...
Read more >
How to Use PHP in HTML - Code - Envato Tuts+
In this article, I'll show you how to use PHP code in your HTML pages. It's aimed at PHP beginners who are trying...
Read more >
How to Build a Simple PHP Website - MakeUseOf
Want to build a website but don't know where to start? Creating a basic PHP website will put you on the road to...
Read more >
Building PHP - PHP Internals Book
If you are currently using PHP, you likely installed it through your package manager, using a command like sudo apt-get ...
Read more >
PHP Web Development Tutorial | Simplilearn - YouTube
PHP Web Development Tutorial | Web Development Using PHP | PHP Tutorial For Beginners | Simplilearn. Watch later. Share. Copy link.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found