-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Setup on Windows Problem #12
Comments
Please try restarting the computer and try again. actually windows
sometimes doesn't seems to know that php is installed. So this error may
occur.
After Restarting if problem persists then try checking the directory
permissions and also make sure you doing all these things as Administrator
with full access otherwise downgrade the UAC to zero and try again after
restarting. And do let me know if this helps.
…On Fri, Dec 21, 2018 at 6:12 AM Susan ***@***.***> wrote:
Greetings, awesome project! Have been wanting to learn more about
electron, especially with PHP.
I have installed using GIT and can start (npm start) but showing "PHP
server not started. Retrying..."
Running Windows 10. Here is my config:
const PHPServer = require('php-server-manager');
const server = new PHPServer({
port: 5555,
directory: __dirname,
directives: {
display_errors: 0,
expose_php: 0
}
});
server.run();
Sure it is something I do not understand about configuring main.js
Could you give me example of what you have working for Windows?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AZ_IILY_MUuLxOGN6qL7oBKGB586ZSRfks5u7C5ygaJpZM4ZdJia>
.
|
I did a restart and still have issue. Little more info shown:
Never had directory permission issues or have to run as admin before, but will try those things later. Will also try on different computer this evening. So I understand "otherwise downgrade the UAC to zero", where is this setting? Thanks! |
Maybe I am not understanding where PHP should be on drive. I see a "php" folder within the ELECTRON-4-PHP folder and would assume, there is no need for PHP to be installed on every machine before using app? |
i think you have downloaded the general one, download from here the separate for windows Actually both has only one difference, For Windows i have put PHP in it. And for general or other OS they come by cmd-line. So go on try this and let me know. Another thing To turn off UAC: That will work great, actually for Linux and Mac we have Root Access which prompts when application needs to run as root. But in Windows they tried to make something like that which sometimes annoying because they don't prompt but directly stops it. Do let me know does this help, if not tell me what you facing again. |
Hi, I had the same issue. I have installed the xampp package, and I had I removed
It works when you change
Perhaps this should just be added to the README file? Regards |
@juppwerner hmm does it resolve the issue. If yes then i will add this is master file too. Thanks man to support in it. |
I have added the changes you said. @juppwerner |
@juppwerner I have updated the Windows branch also. Kindly check in the Branch. |
Greetings, awesome project! Have been wanting to learn more about electron, especially with PHP.
I have installed using GIT and can start (npm start) but showing "PHP server not started. Retrying..."
Running Windows 10. Here is my config:
Sure it is something I do not understand about configuring main.js
Could you give me example of what you have working for Windows?
Thanks!
The text was updated successfully, but these errors were encountered: