To be able to disable libphp5/php5_module needed to comment out php-related values

4 posts / 0 new
Last post
#1 Wed, 01/13/2016 - 11:59
cellulosa

To be able to disable libphp5/php5_module needed to comment out php-related values

I'm running all my vhosts using FCGId, so I thought to save same RAM by disabling libphp5. I did so by commenting out LoadModule php5_module modules/libphp5.so from /etc/httpd/conf.modules.d/10-php.conf:

I then restarted httpd, however I was receiving AH00526: Syntax error on line 393 of /etc/httpd/conf/httpd.conf and Invalid command 'php_admin_value', perhaps misspelled or define...tion errors

I started commenting out one by one the "incriminated", which are the following:

  • Every occurrence of php_admin_value engine Off into /etc/httpd/conf/httpd.conf
  • The whole /etc/httpd/conf.d/php.conf (without doing this, the php files were not being interpreted)

My websites seem to run just fine, so I guess my question is: is there any downside to that?

Wed, 01/13/2016 - 13:06
andreychek

Howdy,

Nope! If you don't need mod_php, it's no problem to comment out those parameters.

If mod_php isn't enabled in Apache, Virtualmin won't add them for new domains either, so they won't be a problem in the future.

-Eric

Mon, 03/12/2018 - 04:23
Play123

The wonderful and classical website the full interesting information here roblox robux roblox robux is good application our game just use the roblox thanks for it.

Sun, 11/10/2019 - 20:44
yisoo

I’ M Sorry If It’ S All Too Much, Every Day You’ Re Here, I’ M Healing And I Was Runnin ' Out Of Luck I Never Thought I’ D Find This Feeling 'Cause I’ve Been Hearing Symphonies Before All I Heard Was Silence A Rhapsody For You And Me (A Rhapsody For You And Me) And Every Melody Is Timelesshappy wheels run 3

Topic locked