aj-techsoul / ELECTRON-4-PHP

An easiest way to use php in electron
MIT License
203 stars 46 forks source link

Error when start #13

Closed Kenjy62 closed 5 years ago

Kenjy62 commented 5 years ago

PHP Server error { Error: spawn php ENOENT at exports._errnoException (util.js:1024:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:192:19) at onErrorNT (internal/child_process.js:374:16) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn php', path: 'php', spawnargs: [ '-S', '127.0.0.1:80', '-d', 'display_errors=1', '-d', 'expose_php=0' ] } PHP Server closed

Directory permission checked and UAC is off..

aj-techsoul commented 5 years ago

Which Operating System you are using? Please run setenv.bat

AJ Kumar

(Founder & CEO)

Mobile : +91 9862542983

Email : techsoul4@gmail.com techsoul4@gmail.comWebsite : www.techsoul.in http://www.techsoul.in/

On Sun, Jul 21, 2019 at 2:54 AM Kenjy62 notifications@github.com wrote:

PHP Server error { Error: spawn php ENOENT at exports._errnoException (util.js:1024:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:192:19) at onErrorNT (internal/child_process.js:374:16) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn php', path: 'php', spawnargs: [ '-S', '127.0.0.1:80', '-d', 'display_errors=1', '-d', 'expose_php=0' ] } PHP Server closed

Directory permission checked and UAC is off..

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AJ-TechSoul/ELECTRON-4-PHP/issues/13?email_source=notifications&email_token=AGP4QIDAFWR2W4D6LMDXRV3QAN677A5CNFSM4IFPZNE2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HAORWSA, or mute the thread https://github.com/notifications/unsubscribe-auth/AGP4QIFWKH5IW3PRF52OPU3QAN677ANCNFSM4IFPZNEQ .

Kenjy62 commented 5 years ago

i use Windows 10. I launch setenv.bat and same problems: /

aj-techsoul commented 5 years ago

Run setenv.bat with Administrator Access. (Run as Administrator) In windows 8 and above they treat all these bat files as virus by default.

AJ Kumar

(Founder & CEO)

Mobile : +91 9862542983

Email : techsoul4@gmail.com techsoul4@gmail.comWebsite : www.techsoul.in http://www.techsoul.in/

On Sun, Jul 21, 2019 at 5:29 PM Kenjy62 notifications@github.com wrote:

i use Windows 10. I launch setenv.bat and same problems: /

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AJ-TechSoul/ELECTRON-4-PHP/issues/13?email_source=notifications&email_token=AGP4QIBRYZ7KAPAYJHE4ZGDQARFRZA5CNFSM4IFPZNE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2OBZOI#issuecomment-513547449, or mute the thread https://github.com/notifications/unsubscribe-auth/AGP4QIHYD2EMSNYHOZHYQQTQARFRZANCNFSM4IFPZNEQ .