676
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 263: | Line 263: | ||
This command tests the validity of your <code>httpd.conf</code> file and should return the line where the error is encountered. | This command tests the validity of your <code>httpd.conf</code> file and should return the line where the error is encountered. | ||
In addition to common syntax errors due to carelessness, one of the most common errors is the absence of the file <code>C:\php\php7apache2_4.dll</code>. This file is indeed missing if you have downloaded the wrong version of PHP ('''<u>No</u>''' '''Thread Safe''') instead of the '''Thread Safe''' version. In this case, download the good archive ('''Thread Safe''') and perform the [[ | In addition to common syntax errors due to carelessness, one of the most common errors is the absence of the file <code>C:\php\php7apache2_4.dll</code>. This file is indeed missing if you have downloaded the wrong version of PHP ('''<u>No</u>''' '''Thread Safe''') instead of the '''Thread Safe''' version. In this case, download the good archive ('''Thread Safe''') and perform the [[#Extract_the_archive_to_install_PHP]] part again. | ||
Another problem that can be encountered is the impossibility to start '''Apache2''' because the port '''80''' is already used by another program. See the appendix [[ | Another problem that can be encountered is the impossibility to start '''Apache2''' because the port '''80''' is already used by another program. See the appendix [[#What_are_.22Listening_Ports.22_and_how_do_I_know_if_a_program_already_occupies_a_specific_port.3F|What are "Listening Ports" and how to know if a program already occupies a specific port?]] for instructions on how to proceed. | ||
Once you have corrected any errors, try again to start the '''Apache2.4''' Service with the command mentioned above. | Once you have corrected any errors, try again to start the '''Apache2.4''' Service with the command mentioned above. | ||
edits