09/10/2018, 23:03
php-5.1.2-installer.exe ?
Em đã tải về php-5.1.2-installer.exe để cài đặt. Nhưng khi dùng php này với IIS thì khi duyệt trang nó hiện lên một bảng báo lỗi sau:
Khi vào IIS -> application configurration thì thấy file php được chạy bởi C:phpphp-cgi.exe
Thay file php-cgi.exe bởi php.exe thì khi duyệt nó lại hiện bảng này:
Tới đây thì em bó tay, không biết có phải file install bị lỗi không.
Mọi người giúp em với, cảm ơn rất nhiều.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.
For more information as to why this behaviour exists, see the manual page for CGI security.
For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.
For more information as to why this behaviour exists, see the manual page for CGI security.
For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.
Thay file php-cgi.exe bởi php.exe thì khi duyệt nó lại hiện bảng này:
Unknown(): Unable to load dynamic library './php_gd2.dll' - The specific module could not be found.
Mọi người giúp em với, cảm ơn rất nhiều.

amida
viết 01:04 ngày 10/10/2018
Để php-cgi.exe là đúng rồi, bác thay làm gì?

Neatyu
viết 01:09 ngày 10/10/2018
Nhưng mà để php-cgi.exe chạy thì nó vẫn báo lỗi như trên. ^_^"

emhoclop1
viết 01:19 ngày 10/10/2018
Bạn để ở chế độ CGI thì không load được module đâu

Neatyu
viết 01:16 ngày 10/10/2018
Vậy em phải làm sao? T_T
Bài liên quan