avatar_epmak

Сборка Apache 2.4.18 + PHP 7.0.7 x64 win для сайта MU online, Веб сайты, MuWebClone MWC

Автор epmak, 2016 Июнь 06, 17:55

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

Ключевые слова [SEO] сборкасайтmuwebclone mwcapache 2.4.18php 7.0.7

epmak

В общем, по просьбам трудящихся, выкладываю апач с пыхой, на котором у меня локально для тестов вертится сайт. К базе коннектится через ODBC, если что.

Apache 2.4.18 x64 vc14
PHP 7.0.7 thread save x64 vc14




Установка:

Разархивировать папку web7 на диск D.
Проверить, что ваш 80 порт не занят скайпом или еще какой-нибудь приблудой.
Запускать либо start.bat, либо D:web7Apache24binhttpd.exe

Если захотите сделать службой:
Спойлер
ЦитироватьYou can install Apache as a Windows NT service as follows from the command prompt at the Apache bin subdirectory:

httpd.exe -k install
If you need to specify the name of the service you want to install, use the following command. You have to do this if you have several different service installations of Apache on your computer. If you specify a name during the install, you have to also specify it during any other -k operation.

httpd.exe -k install -n "MyServiceName"
If you need to have specifically named configuration files for different services, you must use this:

httpd.exe -k install -n "MyServiceName" -f "c:filesmy.conf"
If you use the first command without any special parameters except -k install, the service will be called Apache2.4 and the configuration will be assumed to be confhttpd.conf.

Removing an Apache service is easy. Just use:

httpd.exe -k uninstall
The specific Apache service to be uninstalled can be specified by using:

httpd.exe -k uninstall -n "MyServiceName"
Normal starting, restarting and shutting down of an Apache service is usually done via the Apache Service Monitor, by using commands like NET START Apache2.4 and NET STOP Apache2.4 or via normal Windows service management. Before starting Apache as a service by any means, you should test the service's configuration file by using:

httpd.exe -n "MyServiceName" -t
You can control an Apache service by its command line switches, too. To start an installed Apache service you'll use this:

httpd.exe -k start -n "MyServiceName"
To stop an Apache service via the command line switches, use this:

httpd.exe -k stop -n "MyServiceName"
or

httpd.exe -k shutdown -n "MyServiceName"
You can also restart a running service and force it to reread its configuration file by using:

httpd.exe -k restart -n "MyServiceName"
By default, all Apache services are registered to run as the system user (the LocalSystem account). The LocalSystem account has no privileges to your network via any Windows-secured mechanism, including the file system, named pipes, DCOM, or secure RPC. It has, however, wide privileges locally.
https://httpd.apache.org/docs/2.4/platform/windows.html

[свернуть]

Настройка

По умолчанию, настроен только localhost, если надо будет сменить, то нужно отредактировать
D:web7Apache24confextrahttpd-vhosts.conf
ну и под себя настроить  D:web7Apache24confhttpd.conf

Папка для сайта D:web7www, менять в httpd.conf

да, не забыть поставить redistributable с++ 14 и если будет ругаться на libssh2 то она лежит в папке с пхп, сунуть в windows/system32

Похожие темы (5)

Сообщений: 6
Просмотров: 2463

Сообщений: 4
Просмотров: 1869

Сообщений: 8
Просмотров: 5321

Сообщений: 8
Просмотров: 2923