Skip to content

php not found error in Mac OSX #433

@cmdexploit

Description

@cmdexploit

Describe the Error / Feature Request

A clear description of what the bug or feature request is


To ReproduceStarting PHP Server...Traceback (most recent call last):
File "/Users/santhoshkumar/seeker/seeker.py", line 341, in
SERVER_PROC = server()
File "/Users/santhoshkumar/seeker/seeker.py", line 156, in server
proc = subp.Popen(cmd, stdout=phplog, stderr=phplog)
File "/opt/homebrew/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/opt/homebrew/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 1847, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'php'

Steps to reproduce the behavior, we cannot fix the issue if we can't reproduce it


Expected behavior

A clear description of what you expected to happen.


Screenshots

Add screenshots to help explain your problem.


Please complete the following information :

  • OS: osX]
  • OS Version [e.g. Android 11]
  • Browser [e.g. chrome, safari]
  • Full Browser Version [e.g. 90.04430.91]
  • Log files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions