note 127890 added to install.unix.apache2
| From: | MorningStar at main dot php dot net | Date: | Thu, 03 Nov 2022 18:46:35 +0000 |
| Subject: | note 127890 added to install.unix.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-219844@lists.php.net to get a copy of this message | ||
I had just installed php8.1.12 on a machine used for writing C code.
Below are some libraries that I needed to download on a debian-based OS.
apt-get install libpcre3 libpcre3-dev
apt-get install apache2-dev
apt-get install libxml2-dev
apt-get install libsqlite3-dev
These were the missing packages that I required.
If you get an error regarding a missing package or library, for example when I needed sqlite3, run
the command:
apt search sqlite3
And you'll be able to see if there's any dev or lib packages.
The apache2 instructions worked flawlessly at the time of php8.1.12; and in order to get certain
requirements for an application, I had to run the php configure file like so:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pdo-mysql --with-mysqli --with-zip
--enable-gd
The extra flags allowed me to use both types of mysql, allowed me to utilize PHP zip archiving, and
allowed me to use Gnatt stuff.
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.159.161 (proxied: 184.190.239.56)
----
Manual Page -- https://php.net/manual/en/install.unix.apache2.php
Edit -- https://main.php.net/note/edit/127890
Del: integrated -- https://main.php.net/note/delete/127890/integrated
Del: useless -- https://main.php.net/note/delete/127890/useless
Del: bad code -- https://main.php.net/note/delete/127890/bad+code
Del: spam -- https://main.php.net/note/delete/127890/spam
Del: non-english -- https://main.php.net/note/delete/127890/non-english
Del: in docs -- https://main.php.net/note/delete/127890/in+docs
Del: other reasons-- https://main.php.net/note/delete/127890
Reject -- https://main.php.net/note/reject/127890
Search -- https://main.php.net/manage/user-notes.php