Skip to main content

question about apache 2.4 virtual host config

Comments

2 comments

  • LAZer
    from the comments in httpd.conf I could find the correct address for includes config . the address in 2_4 easyapache 4 is : /etc/apache2/conf.d/userdata/std/2_4//.conf I used to place configs in /usr/local/apache/conf/userdata/std/2_4/ which didn't work. but it worked in 2_2 and 2.... maybe linking this directory to the new address fixes it . anyways I'll upload my configs to this new directory. also I could make it read suPHP_ConfigPath by using /public_html> command. /public_html> suPHP_ConfigPath /home/ini// and updating httpd config using script and restarting httpd. works. it completely changed the loaded configuration php.ini path in phpinfo of the user.
    0
  • cPanelMichael
    I put that php.ini code to this config /usr/local/apache/conf/userdata/std/2_4//user.conf

    the address in 2_4 easyapache 4 is : /etc/apache2/conf.d/userdata/std/2_4//.conf I used to place configs in /usr/local/apache/conf/userdata/std/2_4/

    Hello, You can find the updated documentation on how to make changes to the Virtual Host include files with EasyApache 4 at: Modify Apache Virtual Hosts with Include Files - EasyApache 4 - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.