How to configure the php module to the apache server. This article mainly shares with you the method of configuring the php module to the apache server. I hope it can help you.
Make the following configuration in Apache24/conf/httpd.conf:
Add the following code at the end of the file (note the modified path):
LoadModule php5_module D:/softwere/php/php5apache2_4.dll AddType application/x-httpd-php .php LoadModule php5_module modules/libphp5.so PHPIniDir D:/softwere/php
Then restart apche and
D:\softwere \Apache24\bin>httpd.exe -k started
httpd.exe: Syntax error on line 536 of D:/softwere/Apache24/conf/httpd.conf: Cannot load D:/softwere/ php/php5apache2_4.dll into server: %1 \xb2\xbb\xca\xc7\xd3\xd0\xd0\xa7\xb5\xc4 Win32 \xd3\xa6\xd3\xc3\xb3\xcc\xd0\xf2\xa1\ xa3
The above is the detailed content of How to configure php module to apache server. For more information, please follow other related articles on the PHP Chinese website!