Results 1 to 4 of 4

Thread: Creating php conf and load files

  1. #1
    Join Date
    Jun 2007
    Location
    Greater Boston
    Beans
    1,586
    Distro
    Ubuntu 12.04 Precise Pangolin

    Creating php conf and load files

    I need to create .conf and .load files for php. PHP is installed and I've verified PHP with test.php <?php
    print_r (phpinfo());
    ?>

    Is there boilerplate available for creating the .load and .conf files? I am having trouble finding it in what's been installed.

    Thanks.
    cmn

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Creating php conf and load files

    As a long-time PHP user, I must admit I haven't the foggiest idea what a .conf or a .load file might be. PHP's configuration is managed by php.ini. Care to point to an example of what you're asking about?

  3. #3
    Join Date
    Jun 2007
    Location
    Greater Boston
    Beans
    1,586
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Creating php conf and load files

    I finally figured it out.

    For some reason with Ubuntu 10.04 Apache's directories got sub-divided. You used to put a load module command directly into the httpd.conf or apache2.conf. No more; you're expected to drop modules, .conf and .load into /etc/apache2/mods-available and soft links created in /etc/apache2/mods-enabled. The .conf file might contain configuration information if needed. The .load file contains the LoadModule directive.
    cmn

  4. #4
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Creating php conf and load files

    Quote Originally Posted by cmnorton View Post
    For some reason with Ubuntu 10.04 Apache's directories got sub-divided.
    Oh, those .conf and .load files. I see them as part of Apache.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •