Hướng dẫn restart php windows
I am trying to load the openssl module, I uncommented it in the
But when running my script I get an error:
From the PHP documentation:
I am using a windows server machine, This is production, I really don't want to reboot the server, is there an alternative?
Toto 15.6k40 gold badges29 silver badges39 bronze badges asked Nov 21, 2013 at 19:49
2 To restart
kevinmicke 9203 gold badges11 silver badges23 bronze badges answered Nov 21, 2013 at 20:46
HichemHichem 3442 silver badges7 bronze badges 0 WinR Or, more verbose: answered Sep 1, 2015 at 10:36
thethe 2,6211 gold badge25 silver badges34 bronze badges For those that stumbled upon this answer and you're running Windows 10 or another version with PHP but you're NOT running any of the usual web server apps (WAMP, ServerDesktop, IIS, etc), open your task manager and you will probably see "CGI/Fast CGI" which is the PHP. Right-click and end task. The app will not go away but instead, restart with your updated configuration. answered Aug 24, 2019 at 2:50
0 I've found that, instead of restart IIS entirely, it's just enough to restart the Application Pool associated with the specific site. By IIS Manager, first click the Site name on the left panel, then "Basic Settings" on the right panel, so you can see what's the associated application pool. Finally go to "Application Pools" section, click the proper pool and then click "restart" on the right panel. answered Oct 15, 2021 at 7:10
To restart PHP on IIS, you actually need to restart IIS: Go to Start -> click Run -> type iisreset, and then click OK. If iisreset command is not recognized, then
answered Dec 17, 2021 at 10:50
0 PHP là gì? PHP viết tắt của Hypertext Preprocesor, là ngôn ngữ lập trình PHP được sử dụng để xây dựng các website và ứng dụng web. Việc website xảy ra lỗi 500, 502 là việc không thể diễn ra trên website. Dưới đây là 1 trong biện pháp ngắn các bạn Có thể xử lý khi gặp tình huống này. Đăng nhập vào Hosting SecureWeb Đây là trang giao diện chính của hosting SecureWeb là nơi chứa code và database của các website. Tiếp theo vào mục Settings –> PHP settings như ảnh dưới Sau khi đã vào mục đã chọn các bạn chỉ cần bấm vào nút Restart Bước này PHP thực thi khởi động lại để quá trình Website chạy lại ổn định hơn (1) Là mục chọn các phiên bản PHP tuỳ thuộc vào độ tương thích của theme, wordpress. (2) mục để apply phiên bản PHP đã chọn (3) Khởi động lại PHP ở phiên bản hiện tại. Kết luận: Trên đây là cách bạn có thể xử lý lỗi trang web khi đang xảy ra lỗi không truy cập được, tuy nhiên cách này giải quyết được 1 số trường hợp nhưng chưa triệt để. Hy vọng có thể giúp ích được cho các bạn!!! |