Best Answer: How Configure Apache to Run Php in Linux?
Contents How Do I Configure Apache to Run Php? Installing Php on Apache 2 Install Apache. Follow These Instructions to Install Apache2 from Source. Download...
Contents
How do I configure Apache to run PHP?
Installing PHP on Apache 2
- Install Apache. Follow these instructions to Install Apache2 from source.
- Download the latest PHP sources. …
- Extract the source code. …
- Set compiler options (optional) …
- Configure php with autoconf. …
- Compile PHP. …
- Install PHP. …
- Tell apache to load the module Edit httpd.conf /usr/local/apache2/conf/httpd.conf with your text editor.
How install PHP configure in Linux?
Install PHP on Linux
- Installation.
- aptitude install php5 libapache2-mod-php5 and to restart apache web server (we used version 2) /etc/init.d/apache2.
- Install PHP on CentOS Linux.
- Prerequisite and Installation.
- Restart apache:
- Previous: Installing php and php extensions on windows. Next: Install PHP on IIS in Windows 7.
26 февр. 2020 г.