I narrowed down my problem with the call mysql_connectI'm making in PHP.It gives an error message. What would you advise me to do to fix the problem with this error:
mysql_connect
Error Summary HTTP Error 500.0 - Internal Server ErrorThe page cannot be displayed because an internal server error has occurred.Error Details IsapiModule Module ExecuteRequestHandler Notification PHP Handler Error Code 0x00000000 Requested URL http: // localhost: 80 / getuser.php? Q = 3 & sid = 0.2953613724031635 Physical Path C: \ inetpub \ wwwroot \ getuser.php Login Method Anonymous Anonymous UserMost likely, the reasons:IIS received the request; however, an internal error occurred while processing the request. The main reason for this error depends on which module processes the request and what happens in the workflow when this error occurs.IIS was unable to access the web.config file for the website or application. This can happen if the NTFS permissions are set incorrectly.IIS - .DLL., .NET Extensibility .:, NTFS web.config -., , - .DLL..NET, .HTTP. .. , . -, , 500.:294807
Error Summary HTTP Error 500.0 - Internal Server ErrorThe page cannot be displayed because an internal server error has occurred.
Error Details IsapiModule Module ExecuteRequestHandler Notification PHP Handler Error Code 0x00000000 Requested URL http: // localhost: 80 / getuser.php? Q = 3 & sid = 0.2953613724031635 Physical Path C: \ inetpub \ wwwroot \ getuser.php Login Method Anonymous Anonymous User
Most likely, the reasons:
:
. , . -, , 500.
phpinfo() MySQL. , MySQL. , , PHP, SQL- -, . CHeck , , Apache , PHP - IIS, , - . PHP.
apache, , mysql IIS. , : http://www.atksolutions.com/articles/install_php_mysql_iis.html
, Josh... phpinfo mysql.
check the apache conf file and remove the comment from the line below (just remove # from the beginning of the line)
LoadModule isapi_module modules / mod_isapi.so
Source: https://habr.com/ru/post/1712539/More articles:Hardcoded QMAKESPEC in Qt Creator? - installationHow is a stored image or video displayed in binary format on a hard drive? - binaryIPhone App Client Server - iphonejava & threads: thrown exceptions and the correct use of the BlockingQueue take () method - javaTransformation (rotation) of the image using the results of the matrix - development time and runtime - c #Display custom document property value in Excel 2007 worksheet cell - excel-2007Restarting a website from its webpage - asp.netProblem with Silverlight 3 WriteableBitmap - c #How to compare 2 symbolic links in unix (Linux)? - linuxConnector? python -m SimpleHTTPServer - pythonAll Articles