Change Configuration file path Apache2.4 Ubuntu14.04

How can I changed the Configuration File (php.ini) Path in my Apache2 Configuration ?

I got two PHP-Version and want to switch between them.

I found out that with PHPIniDir in apache2.conf I can load a different php.ini file. Is there similar option for the whole file path ?

I use Ubuntu 14.04 with Apache 2.4.

Replay

I doesnt work like that.

# /usr/sbin/httpd -M | grep -i php
 php5_module (shared)

will show you what php version (aka php apache module) you already have. you need to edit httpd.conf to load the other php version or in a centos6 linuxbox

/etc/httpd/conf.d/php.conf

file

Category: apache 2.4 Time: 2016-07-30 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.248 (s). 12 q(s)