> For the complete documentation index, see [llms.txt](https://developer.webrush.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.webrush.fr/linux/solus/configurations.md).

# Serveur LAMP

{% hint style="info" %}
Solus ne possède pas de paquet Lamp sur **eopkg** il faut donc installer les paquets séparément puis configurer l'ensemble
{% endhint %}

* php.conf

```bash
LoadModule proxy_module lib64/httpd/mod_proxy.so
LoadModule proxy_fcgi_module lib64/httpd/mod_proxy_fcgi.so
<FilesMatch .php$>
SetHandler "proxy:fcgi://127.0.0.1:9000"
</FilesMatch>

<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
```

* **httpd.conf**

```bash
<IfModule dir_module>
    Alias /projet /home/adrient/Documents/info/0php_project
    Alias /origenial /home/adrient/Documents/info/origenial.fr
    Alias /js /home/adrient/Documents/info/0js_web
    Alias /info /home/adrient/Documents/info
    Alias /wp /home/adrient/Documents/info/Demowordplate/public
    Alias /php /var/www/phpMyAdmin 
</IfModule>


#nom de domaine
 ServerName localhost:80

#on accepte aussi le www
# ServerAlias www.localhost  -> stop le serveur sur Solus /* NE PAS LE METTRE */


#Définition de la racine des sources php
DocumentRoot "/var/www"

<Directory "/var/www">
    Require all granted
</Directory>


<Directory "/home/adrient/Documents/info">
    Options Indexes Multiviews
    Require all granted
</Directory>

<Directory "/home/adrient/Documents/info/Demowordplate">

    Require all granted
</Directory>
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.webrush.fr/linux/solus/configurations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
