Closed BASHEER-A closed 1 year ago
@BASHEER-A install php and this error should go away
HOW CAN I SOLVE THIS ERROR.. PLEASE REPLY..
[+] Starting PHP Server...Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/models.py", line 434, in prepare_url
scheme, auth, host, port, path, query, fragment = parse_url(url)
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/urllib3/util/url.py", line 397, in parse_url
return six.raise_from(LocationParseError(source_url), None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/abhi/Desktop/ABHI/seeker/seeker.py", line 341, in
Hey how are you? I hope you're doing well. This is my problem when I try on macOS
[+] Starting PHP Server...Traceback (most recent call last): File "/Users/admin/seeker/./seeker.py", line 341, in
SERVER_PROC = server()
^^^^^^^^
File "/Users/admin/seeker/./seeker.py", line 156, in server
proc = subp.Popen(cmd, stdout=phplog, stderr=phplog)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 1024, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 1901, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'php'
admin@Admins-MBP seeker %