Benutzer-Werkzeuge

Webseiten-Werkzeuge


tachtler:phpldapadmin_archlinux

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
tachtler:phpldapadmin_archlinux [2023/01/23 09:14] – [Voraussetzungen] klaustachtler:phpldapadmin_archlinux [2023/10/13 11:15] (aktuell) – [/etc/httpd/conf/vhosts/phpldapadmin.conf] klaus
Zeile 31: Zeile 31:
 Nachdem das ''AUR''-Repository von [[https://aur.archlinux.org//|ArchLinux - AUR]] Nachdem das ''AUR''-Repository von [[https://aur.archlinux.org//|ArchLinux - AUR]]
   * [[tachtler:archlinux_-_arch_user_repository|ArchLinux - Arch User Repository]]   * [[tachtler:archlinux_-_arch_user_repository|ArchLinux - Arch User Repository]]
-erfolgreich eingebunden wurde, kann mit nachfolgendem Befehl, die ''AUR''-Pakete - +erfolgreich eingebunden wurde, können mit nachfolgendem Befehl, die ''AUR''-Pakete - 
   * **''php74''**   * **''php74''**
   * **''php74-cli''**   * **''php74-cli''**
Zeile 37: Zeile 37:
   * **''php74-ldap''**   * **''php74-ldap''**
   * **''php74-xml''**   * **''php74-xml''**
-installiert werden:+**__als Abhängigkeiten__** installiert werden:
  
 +<code>
 +# pikaur --noconfirm -S php74 php74-cli php74-gettext php74-ldap php74-xml
 +</code>
 +++++ Installationsverlauf |
 +<code>
 +# pikaur --noconfirm -S php74 php74-cli php74-gettext php74-ldap php74-xml
 +</code>
 +++++
  
 +:!: **HINWEIS** - Aufgrund von anderen Installationen, sind einige benötigte Pakete bereits auf diesem Server installiert!  
 +
 +Mit nachfolgendem Befehl kann überprüft werden, welche Inhalte mit den Paketen **''php74 php74-cli php74-gettext php74-ldap php74-xml''** installiert wurden.
 +<code>
 +# pacman -Qil php74 php74-cli php74-gettext php74-ldap php74-xml
 +</code>
 +++++ Installierte Dateien |
 +<code>
 +# pacman -Qil php74 php74-cli php74-gettext php74-ldap php74-xml
 +</code>
 +++++
  
 ===== Installation ===== ===== Installation =====
Zeile 1678: Zeile 1697:
   * [[tachtler:ldap_archlinux#anonymous_bind_deaktivierenetc_openldap_ldifd_config_anonymous_bindldif|LDAP Archlinux - "Anonymous bind" deaktivieren: /etc/openldap/ldif.d/config_anonymous_bind.ldif]]   * [[tachtler:ldap_archlinux#anonymous_bind_deaktivierenetc_openldap_ldifd_config_anonymous_bindldif|LDAP Archlinux - "Anonymous bind" deaktivieren: /etc/openldap/ldif.d/config_anonymous_bind.ldif]]
  
-===== PHP7-FPM =====+===== PHP74-FPM =====
  
 Aktuell ist die [[https://www.php.net/|PHP Net]] Installation in der **Version 7.x** noch in Verwendung, welche als PHP7-FPM zur Interpretation von PHP-Code verwendet wird. Aktuell ist die [[https://www.php.net/|PHP Net]] Installation in der **Version 7.x** noch in Verwendung, welche als PHP7-FPM zur Interpretation von PHP-Code verwendet wird.
  
-  * Siehe auch den internen Link [[tachtler:apache_http_server_archlinux_-_php7-fpm_-_alternativer_php-interpreter|Apache HTTP Server ArchLinux - php7-fpm - Alternativer PHP-Interpreter]]+  * Siehe auch den internen Link [[tachtler:apache_http_server_archlinux_-_php74-fpm_-_alternativer_php-interpreter|Apache HTTP Server ArchLinux - php74-fpm - Alternativer PHP-Interpreter]]
  
 ==== /etc/php7/php.ini ==== ==== /etc/php7/php.ini ====
Zeile 1827: Zeile 1846:
     # ----------------------------------------------------------     # ----------------------------------------------------------
     <IfModule log_config_module>     <IfModule log_config_module>
-        ErrorLog /var/log/httpd/repository.tachtler.net_error.log+        ErrorLog /var/log/httpd/phpldapadmin.tachtler.net_error.log
         SetEnvIF User-Agent "HAProxy" dontlog=yes         SetEnvIF User-Agent "HAProxy" dontlog=yes
         SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded=yes         SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded=yes
         <IfModule logio_module>         <IfModule logio_module>
-            CustomLog /var/log/httpd/repository.tachtler.net_access.log combined_deflate_ssl "expr=(reqenv('forwarded') != 'yes' && reqenv('dontlog') != 'yes')" +            CustomLog /var/log/httpd/phpldapadmin.tachtler.net_access.log combined_deflate_ssl "expr=(reqenv('forwarded') != 'yes' && reqenv('dontlog') != 'yes')" 
-            CustomLog /var/log/httpd/repository.tachtler.net_access.log combined_deflate_proxypass_ssl "expr=(reqenv('forwarded') == 'yes' && reqenv('dontlog') != 'yes')"+            CustomLog /var/log/httpd/phpldapadmin.tachtler.net_access.log combined_deflate_proxypass_ssl "expr=(reqenv('forwarded') == 'yes' && reqenv('dontlog') != 'yes')"
         </IfModule>         </IfModule>
     </IfModule>     </IfModule>
Zeile 1877: Zeile 1896:
     # ----------------------------------------------------------     # ----------------------------------------------------------
     <IfModule alias_module>     <IfModule alias_module>
-        Alias / "/usr/share/webapps/phpldapadmin"+        Alias / "/usr/share/webapps/phpldapadmin/"
     </IfModule>     </IfModule>
  
Zeile 1889: Zeile 1908:
         AllowOverride None         AllowOverride None
         Require all granted         Require all granted
 +        
 +        <FilesMatch \.php$>
 +            SetHandler "proxy:unix:/run/php-fpm/php-fpm.sock|fcgi://localhost"
 +        </FilesMatch>
 +        
     </Directory>     </Directory>
  
Zeile 1895: Zeile 1919:
     # ----------------------------------------------------------     # ----------------------------------------------------------
     <IfModule log_config_module>     <IfModule log_config_module>
-        ErrorLog /var/log/httpd/repository.tachtler.net_error.log+        ErrorLog /var/log/httpd/phpldapadmin.tachtler.net_error.log
         SetEnvIF User-Agent "HAProxy" dontlog=yes         SetEnvIF User-Agent "HAProxy" dontlog=yes
         SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded=yes         SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded=yes
         <IfModule logio_module>         <IfModule logio_module>
-            CustomLog /var/log/httpd/repository.tachtler.net_access.log combined_deflate_ssl "expr=(reqenv('forwarded') != 'yes' && reqenv('dontlog') != 'yes')" +            CustomLog /var/log/httpd/phpldapadmin.tachtler.net_access.log combined_deflate_ssl "expr=(reqenv('forwarded') != 'yes' && reqenv('dontlog') != 'yes')" 
-            CustomLog /var/log/httpd/repository.tachtler.net_access.log combined_deflate_proxypass_ssl "expr=(reqenv('forwarded') == 'yes' && reqenv('dontlog') != 'yes')"+            CustomLog /var/log/httpd/phpldapadmin.tachtler.net_access.log combined_deflate_proxypass_ssl "expr=(reqenv('forwarded') == 'yes' && reqenv('dontlog') != 'yes')"
         </IfModule>         </IfModule>
     </IfModule>     </IfModule>
tachtler/phpldapadmin_archlinux.1674461688.txt.gz · Zuletzt geändert: 2023/01/23 09:14 von klaus