* [ISSUE] php-apache module name
@ 2024-01-02 11:11 jfcolom
2024-01-04 2:54 ` [ISSUE] [CLOSED] " sgn
0 siblings, 1 reply; 2+ messages in thread
From: jfcolom @ 2024-01-02 11:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]
New issue by jfcolom on void-packages repository
https://github.com/void-linux/void-packages/issues/48026
Description:
### Is this a new report?
Yes
### System Info
Void 6.6.8_1 x86_64 GenuineIntel notuptodate rrFFFFF
### Package(s) Affected
php-apache-8.3_1
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
_No response_
### Expected behaviour
After installing the package and setting the module in `/etc/apache/httpd.conf`, the web server should start and run PHP pages
### Actual behaviour
Apache does not run PHP pages, it delivers the PHP code instead
### Steps to reproduce
1. To load the module in Apache without a syntax error the following line must be set in `/etc/apache/httpd.conf`
`LoadModule php_module /usr/libexec/httpd/modules/libphp8.3.so`
Note that the name of the module is `php_module` instead of `php8.3_module`; otherwise you get a syntax error when starting
2. Create a PHP page, for example
```
cat - > /srv/www/apache/info.php << EOF
<?php
phpinfo ();
?>
EOF
```
3. From a web brower load `info.php`. The page doesn't get run, and the source code is retrieved instead
4. Workaround: edit `/etc/apache/extra/php8.3_module.conf` and replace `php8.3module` by `php_module`
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ISSUE] [CLOSED] php-apache module name
2024-01-02 11:11 [ISSUE] php-apache module name jfcolom
@ 2024-01-04 2:54 ` sgn
0 siblings, 0 replies; 2+ messages in thread
From: sgn @ 2024-01-04 2:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]
Closed issue by jfcolom on void-packages repository
https://github.com/void-linux/void-packages/issues/48026
Description:
### Is this a new report?
Yes
### System Info
Void 6.6.8_1 x86_64 GenuineIntel notuptodate rrFFFFF
### Package(s) Affected
php-apache-8.3_1
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
_No response_
### Expected behaviour
After installing the package and setting the module in `/etc/apache/httpd.conf`, the web server should start and run PHP pages
### Actual behaviour
Apache does not run PHP pages, it delivers the PHP code instead
### Steps to reproduce
1. To load the module in Apache without a syntax error the following line must be set in `/etc/apache/httpd.conf`
`LoadModule php_module /usr/libexec/httpd/modules/libphp8.3.so`
Note that the name of the module is `php_module` instead of `php8.3_module`; otherwise you get a syntax error when starting
2. Create a PHP page, for example
```
cat - > /srv/www/apache/info.php << EOF
<?php
phpinfo ();
?>
EOF
```
3. From a web brower load `info.php`. The page doesn't get run, and the source code is retrieved instead
4. Workaround: edit `/etc/apache/extra/php8.3_module.conf` and replace `php8.3_module` by `php_module`
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-04 2:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-02 11:11 [ISSUE] php-apache module name jfcolom
2024-01-04 2:54 ` [ISSUE] [CLOSED] " sgn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).