Women in Technology

Hear us Roar

  PHP 4.3 and Mac OS X
Subject:   include_path
Date:   2003-01-16 19:43:26
From:   spaceman
What is the proper syntax for dictating the include_path in .htaccess for php on os x??
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • include_path
    2003-01-17 02:15:55  maarky [View]

    Try entering this into your httpd.conf file:

    <IfModule mod_php4.c>
    php_value include_path "/Library/WebServer/Documents/"

    You will find a number of these <IfModule> ... </IfModule> entries in your config file. Place it after one of the closing </IfModule> statements. Change the path to whatever you want the include path to be. Also, if you have any virtual hosts set up you can add this inside the <VirtualHost *> ... </VirtualHost> statements. Again, change the path to correspond to the Virtual Host's path.

    Hope this helps.