logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Coding & Scripting Corner View previous topic :: View next topic
Reply to topic   Topic: FreeBSD, Apache, php82, Apache out error
Author
torsar



Joined: 31 Dec 2022
Posts: 2
Location: Ukraine

PostPosted: Sat 31 Dec '22 14:06    Post subject: FreeBSD, Apache, php82, Apache out error Reply with quote

FreeBSD 13, Apache24, PHP82-8.2.0.r2, mod_php82-8.2.0.r2_1

Code:
service apache24 onestart


Apache out error.

Quote:
httpd: Syntax error on the line 108 of httpd.conf:
Can't locate API module structure php_module in the
/usr/local/libexec/apache24/libphp.so: undefined symbol "php_module"


In line 108 httpd.conf:
Code:

Code:
LoadModule php_module libexec/apache24/libphp.so


How to resolve problem???
Back to top
spser



Joined: 29 Aug 2016
Posts: 97

PostPosted: Wed 04 Jan '23 3:00    Post subject: Re: FreeBSD, Apache, php82, Apache out error Reply with quote

LoadModule php8_module libexec/apache24/libphp.so
try
Back to top
torsar



Joined: 31 Dec 2022
Posts: 2
Location: Ukraine

PostPosted: Tue 04 Apr '23 12:49    Post subject: Re: FreeBSD, Apache, php82, Apache out error Reply with quote

spser wrote:
LoadModule php8_module libexec/apache24/libphp.so
try


Dont work.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1265
Location: Amsterdam, NL, EU

PostPosted: Wed 05 Apr '23 12:24    Post subject: Reply with quote

You seem to be using PHP 8.2.0 Release candidate 2. Please update to PHP 8.2.4 and try again. See the advice on https://forums.freebsd.org/threads/apache-php82-apache-out-error.87606/ as well.
Back to top


Reply to topic   Topic: FreeBSD, Apache, php82, Apache out error View previous topic :: View next topic
Post new topic   Forum Index -> Coding & Scripting Corner