is no need to ask someone here, I doubt how you became a moderator?
The error log refers to the windows logs related to apache.
My error message is as follows:Httpd.exe: Syntax error on line 525 of C:/Program Files/Apache Software Foundation/Apache2.4/conf/httpd. conf: Cannot load C:/Program Files/PHP/php5apache2_4.dll into server: \ xd5 \ xd2 \ xb2 \ xbb \ xb5 \ xbd \ xd6 \ xb8 \ xb6 \ xa8 \ xb5 \ xc4 \ xb3 \ xcc \ xd0 \ xf2 \ xa1 \ xa3
I have be
After several hours of efforts, I finally configured the basic PHP environment and took the first step in learning PHP.
The first time I read a book last night, I found that PHP could support object-oriented programming, which is really good.
In the morning, I configured the environment. Since I installed Apache before, I installed MySQL directly and installed it in a silly way, which is very simple.
Then I decompress my previous php-4.2.1 to drive C and rename it to the PHP folder, start to
Apache loadmodule always reports an error, surfing the Internet, the results are resolved, the solution is as follows: ---------------------------------------------------------------- apache2.2 cannot load mod_dav_svn.so2010-03-14
Problem description:E:/apache2.2/bin> httpd-K startHttpd: syntax error on line 131 of E:/apache2.2/CONF/httpd. conf: cannot loadE:/apache2.2/modules/mod_dav_svn.so into server:/xd5/xd2/XB2/xbb/xb5/xbd/xD6/xb8/xB6
Solve the problem related to mysql inserting Chinese Characters in centos 7
After mysql is installed, the database abc is created, and a new abc table is created. There is no problem in English language insertion, but there is a problem in Chinese language insertion, and an error will be reported:
ERROR 1366 (HY000): Incorrect string value: '\ xE4 \ xBD \ x99 \ xE9 \ x93 \ xb6 ...'
It should be a database encoding problem, so we should change the data
1. File Open
Open mode:
f = open (' Test.txt ', ' R ')
#r, read-only mode, error when file does not exist
f = open (' Test.txt ', ' W ')
#w, write-only mode, the file does not exist when the file is created, when the file exists, empty the original file
f = open (' Test.txt ', ' x ')
#x, Python3 new mode, when the file exists times wrong, file does not exist, create file and write
f = open (' Test.txt ', ' a ')
#a, append mode, file not present, create file
Encoding format:
The above open mode,
similar to characters, but they can be converted to each other. Bytes can be converted to corresponding characters in some form of encoding. Bytes can be converted to characters through the Encode () method, and characters can be converted to bytes by means of the decode () method:
IN[50]: s = "Life is short, I use Python" in[51 ": b = S.encode (' utf-8 ') in[52]: bout[52]: B ' \xe4\xba\xba\xe7\x94\x9f\xe8\x8b\xa6\xe7\ X9f\xad\xef\xbc\x8c\xe6\x88\x91\xe7\x94\xa8python ' in[53]: c = s.encode ('
/php70/php7apache2_4.dll"AddType application/x-httpd-php. php. html. htmPhpinidir "D:/server/php70"3. Restart Apache Execute command: httpd.exe-k Restart if the following error is reported, please go to download VC14 Install and Repairvc14:http://www.microsoft.com/zh-cn/download/details.aspx?id=48145Httpd.exe:Syntax error on line 533 of D:/server/apache24/conf/httpd.conf:cannot load d:/server/php70/php7apache2_4.dll into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\
time:
Extension = php_curl.dll
Extension = php_gd2.dll
Extension = php_mbstring.dllExtension = php_mysql.dllExtension = php_mysqli.dll
Extension = php_pdo_mysql.dll
Extension = php_xmlrpc.dll
10) after the configuration file is complete, open cmd as an administrator, go to the apache bin path, httpd-k install, and add apache to the system service (which has already been added during the installation process );
11) net start apache2.2 in cmd, start it, copy the php code to the htdoc directory of
configure, Error: Httpd.exe:Syntax error on line 131 of D:/apache2.2/conf/httpd.conf:cannot load D:/php/php5apache2_4.dll into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3The reason for this check is that you need to install the file Vcredist_x86.exe corresponding to version 2012.It cannot be started after installation. There is no error log, and then the suspicion is the php5apache2_4.dll issue.Workaround: Replace
1, first download Apache HTTP server (I originally wanted to download on the official website, but not found for half a day, so on the Internet under an old version) I was downloaded at this website: http://download.csdn.net/download/ chang87812/7175961Download PHP: The same I began to download the latest version of the website (website: (http://windows.php.net/downloads/releases/)But then there was a problem after the configuration.The problem is: Httpd:syntax error on line 129 of D:/php/server
The introduction of php5 to the apache2.0 configuration file shows that the CannotloadF: phpphp5apache2_2.dllintoserver: authorization nbsp; configuration text is the introduction of php5 to the LoadModulephp5 apache 2.0 configuration file.
The test shows that Cannot load F:/php/php5apache2_2.dll into server: \ xd5 \ xd2 \ xb2 \ xbb \ xb5 \ xbd \ xd6 \ xb8 \ xb6 \ xa8 \ xb5 \ xc4 \ xc4 \ xa3 \ xbf \ xe9 \ xa1 \ xa3
The configuration text is LoadMod
[PHP problem] PHPWarning: PHPStartup: Unabletoloaddynamiclibrary 'C:/AppServ \ php5 wrote a program for data import, when I found that the error log that cannot be loaded on the page is reported when the execution is half done, I found one? PHPWarning [PHP problem] PHP Warning: PHP Startup: Unable to load dynamic library 'C:/AppServ \ php5
I wrote a program for data import, and found that the error that cannot be loaded on the page is reported if it is always half executed.A log is found.
?
PH
Win764-bit Apachehttpserver + PHP configuration
1. first download apache http server (I originally wanted to download it from the official website, but I couldn't find it for a long time, so I got an old version online) I downloaded it at this URL: http://download.csdn.net/download/chang87812/7175961Download PHP: the same I started to download the latest version on the official website (URL: (http://windows.php.net/downloads/releases)However, after the configuration is completed, there
: This article mainly introduces the Cannotloadphp5apache2_4dllintoserver solution. if you are interested in the PHP Tutorial, refer to it. I. cause 1:
We have installedApacheServer, which is normal at the beginning, but starts again after PHP configuration is installed.ApacheThe requested operation has failed;
ApacheService cannot be started. ViewApacheThe error log contains the following content:
Httpd.exe: Syntax error on line 72 of D :/ApacheSoftware Foundation/Apache2.4/conf/httpd. conf:
above, bytes are very similar to characters. In fact, they can be converted to each other. Bytes can be converted to corresponding characters in some encoding form. Bytes can be converted to characters by using the encode () method, while characters can be converted to bytes by using the decode () method:
In [50]: s = "My life is short, I use Python" In [51]: B = s. encode ('utf-8') In [52]: bOut [52]: B '\ xe4 \ xba \ xe7 \ x94 \ x9f \ xe8 \ x8b \ xa6 \ xe7 \ x9f \ xad \ xef \ xbc \ x8c \ xe6
486
Of c
:/
WWW
/
Apache2
/
Conf
/
Httpd
.
Conf
:
Cannot load C
:/
WWW
/
PhP5
/
Php5apache2
.
DLL into Server
:
\ Xd5 \ xd2 \ XB2 \ xbb \ xb5 \ xbd \ xd6 \ xb8 \ xB6
The solution is as follows:
After reading the reply from the friend below, I checked the version on my machine. The php5apache2_2.dll file was not found. Then download the latest php-5.2.6-win32.zip file, which contains the php5apac
When I started the php environment today, I found that mysql module functions were not available and the website returned the 500 error. View the error log in apache. The following error message is found:PHP Warning: PHP Startup: Unable to load dynamic library 'd: /wwwserver/php/ext // php_mysql.dll '-/xd5/xd2/xb2/xbb/xb5/xbd/xd6/xb8/xb6/xa8/xb5/xc4/xc4/xa3/ xbf/xe9/xa1/xa3/r/n in Unknown on line 0This indicates that php has not successfully l
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.