# PHP Installation and Configuration

**URL:** https://www.phphelp.com/c/php-installation-and-configuration/12.md

[Latest](https://www.phphelp.com/latest.md) · [Categories](https://www.phphelp.com/categories.md)

---

## [About the PHP Installation and Configuration category](https://www.phphelp.com/t/about-the-php-installation-and-configuration-category/8568)

<div class="topic-metadata">

**Author:** [@system](https://www.phphelp.com/u/system)\
**Replies:** 0\
**Last updated:** [July 16, 2018, 5:46am UTC](https://www.phphelp.com/t/about-the-php-installation-and-configuration-category/8568 "2018-07-16T05:46:15Z")

</div>

Please post your questions on how to install or configure PHP on Unix or Windows platforms here.

---

## [Building PHP with libxml2 2.14](https://www.phphelp.com/t/building-php-with-libxml2-2-14/36527)

<div class="topic-metadata">

**Author:** [@4lROmJ6H8JF](https://www.phphelp.com/u/4lROmJ6H8JF)\
**Replies:** 0\
**Last updated:** [August 8, 2025, 3:06am UTC](https://www.phphelp.com/t/building-php-with-libxml2-2-14/36527 "2025-08-08T03:06:18Z")

</div>

I’m trying to build libxml2 2.14.5 with cmake on Windows in such a way that the libraries generated can be used to build PHP. I had no issue accomplishing this with the deprecated method of building libxml2, but switchin…

---

## [Stand alone ( PHP ) with PDO Funtions?](https://www.phphelp.com/t/stand-alone-php-with-pdo-funtions/36413)

<div class="topic-metadata">

**Author:** [@ChadMcCabe](https://www.phphelp.com/u/ChadMcCabe)\
**Replies:** 3\
**Last updated:** [April 13, 2025, 7:13pm UTC](https://www.phphelp.com/t/stand-alone-php-with-pdo-funtions/36413 "2025-04-13T19:13:25Z")

</div>

Is there something like this that can create an installer and run on a users machine without having to install Xampp and pdo extensions and server items ? Just asking cause I would love to look into using this if it does…

---

## [Broken pdo\_mysql in php 8.3](https://www.phphelp.com/t/broken-pdo-mysql-in-php-8-3/36379)

<div class="topic-metadata">

**Author:** [@mcg](https://www.phphelp.com/u/mcg)\
**Replies:** 23\
**Last updated:** [April 10, 2025, 4:08pm UTC](https://www.phphelp.com/t/broken-pdo-mysql-in-php-8-3/36379 "2025-04-10T16:08:31Z")

</div>

I’ve looked in vain for a definitive answer to this, but there doesn’t seem to be one. I’ve installed a LAMP stack on a fresh build of xubuntu 24.04 with php8.3 which I use mostly from a shell. phpinfo() claims that pdo\_…

---

## [PHP in Ubuntu 22.04 Desktop Installed. Now what?](https://www.phphelp.com/t/php-in-ubuntu-22-04-desktop-installed-now-what/34838)

<div class="topic-metadata">

**Author:** [@cray9922](https://www.phphelp.com/u/cray9922)\
**Replies:** 0\
**Last updated:** [June 25, 2022, 3:32pm UTC](https://www.phphelp.com/t/php-in-ubuntu-22-04-desktop-installed-now-what/34838 "2022-06-25T15:32:20Z")

</div>

I haven’t coded PHP in 15 years. Can’t remember how to get started. I set up PHP 8.1 with Apache2 on my Unbuntu desktop (22.04). But I don’t recall how/where to set up my files and how to test them in a browser. For e…

---

## [Apache / PHP built in server](https://www.phphelp.com/t/apache-php-built-in-server/34757)

<div class="topic-metadata">

**Author:** [@PHPNob](https://www.phphelp.com/u/PHPNob)\
**Replies:** 5\
**Last updated:** [May 15, 2022, 2:34am UTC](https://www.phphelp.com/t/apache-php-built-in-server/34757 "2022-05-15T02:34:36Z")

</div>

using apache vs using php built in server when dealing with URL params and routes is a bit confusing. How do I make each folder inside the htdocs acts like php built in server so each folder would be the document root

---

## [PHP-FPM slow log returning invalid results](https://www.phphelp.com/t/php-fpm-slow-log-returning-invalid-results/34682)

<div class="topic-metadata">

**Author:** [@slowlog](https://www.phphelp.com/u/slowlog)\
**Replies:** 0\
**Last updated:** [April 16, 2022, 6:29pm UTC](https://www.phphelp.com/t/php-fpm-slow-log-returning-invalid-results/34682 "2022-04-16T18:29:31Z")

</div>

The problem I’m running PHP-FPM 7.2.11 under Apache 2.4 on CentOS 8, and I’m not able to get PHP’s slowlog to work properly. It won’t return valid information about long-running scripts. When I enable the slowlog – eve…

---

## [What's the simplest way to get multiple PHP8 projects running locally?](https://www.phphelp.com/t/whats-the-simplest-way-to-get-multiple-php8-projects-running-locally/34619)

<div class="topic-metadata">

**Author:** [@thinsoldier](https://www.phphelp.com/u/thinsoldier)\
**Replies:** 3\
**Last updated:** [March 29, 2022, 3:49pm UTC](https://www.phphelp.com/t/whats-the-simplest-way-to-get-multiple-php8-projects-running-locally/34619 "2022-03-29T15:49:44Z")

</div>

I’ve got an old Macbook with an ancient version of XAMPP installed that I cannot uninstall because I still support numerous php5 projects AND it made numerous additions to various dot files and system paths and I tried u…

---

## [Confusing cURL build behavior](https://www.phphelp.com/t/confusing-curl-build-behavior/34465)

<div class="topic-metadata">

**Author:** [@4lROmJ6H8JF](https://www.phphelp.com/u/4lROmJ6H8JF)\
**Replies:** 0\
**Last updated:** [January 31, 2022, 11:44pm UTC](https://www.phphelp.com/t/confusing-curl-build-behavior/34465 "2022-01-31T23:44:45Z")

</div>

So if you get the Windows build of PHP, it gives you a php\_curl.dll in the ext directory. But if you build from source with the configuration for --with-curl, it does not give you php\_curl.dll, but the curl functions sti…

---

## [Building PHP 8.1 on Windows with Openssl 3](https://www.phphelp.com/t/building-php-8-1-on-windows-with-openssl-3/34449)

<div class="topic-metadata">

**Author:** [@4lROmJ6H8JF](https://www.phphelp.com/u/4lROmJ6H8JF)\
**Replies:** 3\
**Last updated:** [January 27, 2022, 10:47am UTC](https://www.phphelp.com/t/building-php-8-1-on-windows-with-openssl-3/34449 "2022-01-27T10:47:20Z")

</div>

According to some internal bug comments, PHP 8.1 supports Openssl 3.0. However the prebuilt Windows version still includes Openssl 1.1.1. How do I build PHP 8.1 with Openssl 3.0?

---

## [Upgrade PHP 5.6.x to 7.4.x without WAMPServer or xampp](https://www.phphelp.com/t/upgrade-php-5-6-x-to-7-4-x-without-wampserver-or-xampp/34245)

<div class="topic-metadata">

**Author:** [@noquiexis](https://www.phphelp.com/u/noquiexis)\
**Replies:** 6\
**Last updated:** [November 11, 2021, 6:20pm UTC](https://www.phphelp.com/t/upgrade-php-5-6-x-to-7-4-x-without-wampserver-or-xampp/34245 "2021-11-11T18:20:20Z")

</div>

I downloaded files from http://www.php.net/ for my Windows 10 localhost. What changes (if any) do I have to make to php.ini to update PHP from 5.6.x to 7.4.x? I do not want to mess with WAMPServer, xampp, or any other WA…

---

## [Apache doesn't see the external driver on LAN](https://www.phphelp.com/t/apache-doesnt-see-the-external-driver-on-lan/33759)

<div class="topic-metadata">

**Author:** [@mini\_me](https://www.phphelp.com/u/mini_me)\
**Replies:** 8\
**Last updated:** [August 1, 2021, 11:37am UTC](https://www.phphelp.com/t/apache-doesnt-see-the-external-driver-on-lan/33759 "2021-08-01T11:37:50Z")

</div>

I am running PHP/MySQL/Apache on PC1 connected to PC2. Can’t access the driver on PC2 from PHP. The MS explorer can see the connection on both computers. The firewall is switched off on PC2. Apache log is always pointing…

---

## [Re-reading .ini files in a limited environment](https://www.phphelp.com/t/re-reading-ini-files-in-a-limited-environment/33591)

<div class="topic-metadata">

**Author:** [@Daddy-o](https://www.phphelp.com/u/Daddy-o)\
**Replies:** 1\
**Last updated:** [June 19, 2021, 4:31pm UTC](https://www.phphelp.com/t/re-reading-ini-files-in-a-limited-environment/33591 "2021-06-19T16:31:59Z")

</div>

How do I force the system to re-read an ini to apply the change? My site is remotely hosted through cPanel. It is a shared resources configuration and I don’t have root privilege. I do have considerable rights but not a…

---

## [How to get informed when PHP security updates are available](https://www.phphelp.com/t/how-to-get-informed-when-php-security-updates-are-available/32757)

<div class="topic-metadata">

**Author:** [@sbc](https://www.phphelp.com/u/sbc)\
**Replies:** 2\
**Last updated:** [May 27, 2021, 8:52pm UTC](https://www.phphelp.com/t/how-to-get-informed-when-php-security-updates-are-available/32757 "2021-05-27T20:52:35Z")

</div>

we have few php sites hosted using IIS - internet information services and i need help on how to get informed when PHP security updates are available. some one has already have some automation scripts for php upgrade to…

---

## [Setting up php on ubuntu and apache2](https://www.phphelp.com/t/setting-up-php-on-ubuntu-and-apache2/33235)

<div class="topic-metadata">

**Author:** [@gills4prem](https://www.phphelp.com/u/gills4prem)\
**Replies:** 2\
**Last updated:** [March 10, 2021, 5:10pm UTC](https://www.phphelp.com/t/setting-up-php-on-ubuntu-and-apache2/33235 "2021-03-10T17:10:18Z")

</div>

Hi I am trying to use php on Ubuntu 20.04.2 LTS, but im having issues trying to get basic php file to run properly(when i open http://192.168.1.142/info.php but all I see is the php code) I have php 8 running and apache…

---

## [What to do when php Configuration File (php.ini) Path is set to no value?](https://www.phphelp.com/t/what-to-do-when-php-configuration-file-php-ini-path-is-set-to-no-value/33016)

<div class="topic-metadata">

**Author:** [@amitdag12](https://www.phphelp.com/u/amitdag12)\
**Replies:** 2\
**Last updated:** [January 8, 2021, 7:38pm UTC](https://www.phphelp.com/t/what-to-do-when-php-configuration-file-php-ini-path-is-set-to-no-value/33016 "2021-01-08T19:38:37Z")

</div>

Hello, I have some troubles with using PHP extensions because my PHP does not load his ini file for some reason. when I run phpinfo() it says Configuration File (php.ini) Path is set to no value I guess that’s the reason…

---

## [Help, php -v shows 7.0.33 but I am running 7.3.22, I think!?](https://www.phphelp.com/t/help-php-v-shows-7-0-33-but-i-am-running-7-3-22-i-think/32714)

<div class="topic-metadata">

**Author:** [@zoldos](https://www.phphelp.com/u/zoldos)\
**Replies:** 10\
**Last updated:** [October 29, 2020, 12:12pm UTC](https://www.phphelp.com/t/help-php-v-shows-7-0-33-but-i-am-running-7-3-22-i-think/32714 "2020-10-29T12:12:36Z")

</div>

In my Plesk 18 panel, all my sites show that they are using PHP 7.3.22 and this has been confirmed on my various sites via phpinfo. However, when I execute php -v under Ubunto 16.04 console, it reports PHP version as 7.…

---

## [Apache / PHP/ OpenSSL](https://www.phphelp.com/t/apache-php-openssl/32115)

<div class="topic-metadata">

**Author:** [@ricardoland](https://www.phphelp.com/u/ricardoland)\
**Replies:** 0\
**Last updated:** [June 19, 2020, 6:35pm UTC](https://www.phphelp.com/t/apache-php-openssl/32115 "2020-06-19T18:35:44Z")

</div>

Hi all, Is it possible to configure php openssl module under apache (Linux) to read a different openssl configuration file ? Any ideas ? Regards Land

---

## [Allowing SSL socket transport in PHP](https://www.phphelp.com/t/allowing-ssl-socket-transport-in-php/32086)

<div class="topic-metadata">

**Author:** [@Ondra](https://www.phphelp.com/u/Ondra)\
**Replies:** 0\
**Last updated:** [June 18, 2020, 12:25pm UTC](https://www.phphelp.com/t/allowing-ssl-socket-transport-in-php/32086 "2020-06-18T12:25:33Z")

</div>

I need help with allowing SSL socket transport in PHP. I did my research on internet but non of the guides worked. I need to move old site from Linux server to Windows server. While testing it on new server I’ve got stu…

---

## [Need help to understand how to change look of dated PHP site](https://www.phphelp.com/t/need-help-to-understand-how-to-change-look-of-dated-php-site/31984)

<div class="topic-metadata">

**Author:** [@RDW](https://www.phphelp.com/u/RDW)\
**Replies:** 11\
**Last updated:** [June 4, 2020, 2:27am UTC](https://www.phphelp.com/t/need-help-to-understand-how-to-change-look-of-dated-php-site/31984 "2020-06-04T02:27:26Z")

</div>

Hi, I hope this is the right area to ask this question, my apologies if it is not. I’m a tech, and feel safer talking to other techs rather than a salesman who will possibly/probably just tell me whatever they need to s…

---

## [PHP not executing just showing source](https://www.phphelp.com/t/php-not-executing-just-showing-source/31945)

<div class="topic-metadata">

**Author:** [@theyikes](https://www.phphelp.com/u/theyikes)\
**Replies:** 1\
**Last updated:** [May 25, 2020, 8:17pm UTC](https://www.phphelp.com/t/php-not-executing-just-showing-source/31945 "2020-05-25T20:17:17Z")

</div>

Hi! Before I begin I need to let you know I’m relatively new to php. I have apache installed and the current php release. Apache is running fine but when I try to execute a php file it just displays the source code to th…

---

## [PHP 7.4 and APCu](https://www.phphelp.com/t/php-7-4-and-apcu/31219)

<div class="topic-metadata">

**Author:** [@torontoboy\_can](https://www.phphelp.com/u/torontoboy_can)\
**Replies:** 6\
**Last updated:** [March 10, 2020, 3:47am UTC](https://www.phphelp.com/t/php-7-4-and-apcu/31219 "2020-03-10T03:47:47Z")

</div>

Hello everyone, Newbie question on php setup on linux. Hope you can help me please … Is there a compatibility issue between php 7.4 and APCu 5.1.8? I installed both and it appears APCu is running (because phpinfo() i…

---

## [PHP Server](https://www.phphelp.com/t/php-server/20590)

<div class="topic-metadata">

**Author:** [@system](https://www.phphelp.com/u/system)\
**Replies:** 1\
**Last updated:** [February 2, 2020, 5:30pm UTC](https://www.phphelp.com/t/php-server/20590 "2020-02-02T17:30:38Z")

</div>

Hey everyone, I am trying to install PHP to my apache server using the MSI installer. First off, I am not sure I have the correct one. The one I downloaded off of SourceForge is named setx.zip. I extract it, run the ins…

---

## [Problems in installation a PHP application](https://www.phphelp.com/t/problems-in-installation-a-php-application/30298)

<div class="topic-metadata">

**Author:** [@mohamad](https://www.phphelp.com/u/mohamad)\
**Replies:** 0\
**Last updated:** [October 30, 2019, 8:52pm UTC](https://www.phphelp.com/t/problems-in-installation-a-php-application/30298 "2019-10-30T20:52:23Z")

</div>

Hi everyone, I’m trying to install a PHP-based application manually. I managed to install MySQL, Apache 2.4.41 and PHP 7.1.32. There is no problem and Apache works as well. After configuration PHP-Based application wit…

---

## [Siteadmin page not working after switch website Linux C panel to Plesk Windos](https://www.phphelp.com/t/siteadmin-page-not-working-after-switch-website-linux-c-panel-to-plesk-windos/29577)

<div class="topic-metadata">

**Author:** [@pbabooks](https://www.phphelp.com/u/pbabooks)\
**Replies:** 3\
**Last updated:** [July 26, 2019, 6:18am UTC](https://www.phphelp.com/t/siteadmin-page-not-working-after-switch-website-linux-c-panel-to-plesk-windos/29577 "2019-07-26T06:18:37Z")

</div>

Please help We have switch our website linux to windows, Website running fine but pbabooks.com/siteadmin page not working its shown error " Sorry!.. Page you are looking does not exist." Please let me know the solution …

---

## [Getting an error in composer](https://www.phphelp.com/t/getting-an-error-in-composer/29115)

<div class="topic-metadata">

**Author:** [@swimmer](https://www.phphelp.com/u/swimmer)\
**Replies:** 0\
**Last updated:** [May 27, 2019, 1:07pm UTC](https://www.phphelp.com/t/getting-an-error-in-composer/29115 "2019-05-27T13:07:22Z")

</div>

I am starting my first footsteps in Laravel. I just downloaded composer and tried to use the following command to create Laravel composer global require laravel/installer while doing so I got the following error: " …

---

## [Where exactly should I put PHPMailer on my webpage?](https://www.phphelp.com/t/where-exactly-should-i-put-phpmailer-on-my-webpage/29111)

<div class="topic-metadata">

**Author:** [@Pedroski55](https://www.phphelp.com/u/Pedroski55)\
**Replies:** 4\
**Last updated:** [May 27, 2019, 12:16pm UTC](https://www.phphelp.com/t/where-exactly-should-i-put-phpmailer-on-my-webpage/29111 "2019-05-27T12:16:42Z")

</div>

I have a folder on my laptop in Downloads called PHPMailer-master. I don’t understand how to use Composer on my webpage host. I’m hoping I can manually upload the files. Where should I put the contents of PHPMailer-ma…

---

## [Php script can’t find MySQL table Windows site](https://www.phphelp.com/t/php-script-can-t-find-mysql-table-windows-site/28743)

<div class="topic-metadata">

**Author:** [@themurf47](https://www.phphelp.com/u/themurf47)\
**Replies:** 5\
**Last updated:** [April 11, 2019, 12:09pm UTC](https://www.phphelp.com/t/php-script-can-t-find-mysql-table-windows-site/28743 "2019-04-11T12:09:35Z")

</div>

I am using MS Expression Web 4 and an associated host which provides the MySQL database. Using php code I found online, I am attempting to develop a login system that will eventually redirect the client logging in to a c…

---

## [Wordpress still displays php 7.0 after update to 7.2](https://www.phphelp.com/t/wordpress-still-displays-php-7-0-after-update-to-7-2/28253)

<div class="topic-metadata">

**Author:** [@vadata](https://www.phphelp.com/u/vadata)\
**Replies:** 0\
**Last updated:** [February 4, 2019, 1:49pm UTC](https://www.phphelp.com/t/wordpress-still-displays-php-7-0-after-update-to-7-2/28253 "2019-02-04T13:49:16Z")

</div>

Hey guys, I installed php 7.2 on my Ubuntu 16.04.05 Webserver. The guide I used for the installation is the following: https://fearby.com/article/how-to-install-php-7-2-latest-on-ubuntu-16-04/ My problem is that Wordp…

---

## [Managing Mail on Local Network](https://www.phphelp.com/t/managing-mail-on-local-network/27260)

<div class="topic-metadata">

**Author:** [@MrSixty7](https://www.phphelp.com/u/MrSixty7)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 1:27pm UTC](https://www.phphelp.com/t/managing-mail-on-local-network/27260 "2018-09-25T13:27:36Z")

</div>

Hi All. Newbie to PHP here. I have decided to dive in and start my coding journey with PHP/mySQL. I do have a little experience, but it is quite a few years since I ‘dabbled’. This time, I will be hoping to take it to …

[Next page](https://www.phphelp.com/c/php-installation-and-configuration/12.md?page=1)
