[ale] php.ini question

Mike Lockhart backpacker at hikers.net
Thu Jul 11 12:21:03 EDT 2002


You really should specify the include_path for the separate sites in the
VirtualHost directive in apache, here's an example (this is an ssl one,
the harder of the two):

<VirtualHost something.mysite.com:443>
   DocumentRoot "/home/user/www/htdocs"
   UseCanonicalName On 
   Options FollowSymLinks
   ServerName something.mysite.com

   php_value include_path /home/user/www/phpinclude  <--PHP INCLUDE PATH

   ServerAdmin webmaster at mysite.com
   ErrorLog /www/logs/error_log
   TransferLog /dev/null
   SSLEngine on
   SSLCertificateFile /www/conf/ssl.crt/server.crt
   SSLCertificateKeyFile /www/conf/ssl.key/server.key
   <Files ~ "\.(cgi|shtml)$">
      SSLOptions +StdEnvVars
   </Files>
   <Directory "/www/cgi-bin">
      SSLOptions +StdEnvVars
   </Directory>
   SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
   CustomLog /dev/null common
   ErrorDocument 404 /404/
        <Directory />
                Options FollowSymLinks
        </Directory>
</VirtualHost>



On Thu, 2002-07-11 at 09:25, sangell at nan.net wrote:
> Does anyone know if you can use multiple "include_path" statements in
> php.ini? Whether yes or no how would one enter multiple paths?
> I am running a site with postnuke and have everything running perfectly. I
> am thinking of having a few personal sites in addition to the main site by
> appending to the main domain name ie; www.mydomain.com/personal page/.
> However when I tried to add another site using a different PHP portal
> system I get errors saying the include_path is incorrect.  Can I have more
> than one path? Is this a bad idea?
> 
> Thanks,
> 
> \_\_\_\_\_\_\_\_\_\_\_/_/_/_/_/_/_/_/_/_/_/
> \_    Steve Angell,  MCSE, CCNA           _/
> \_    MIS Operations Manager               _/
> \_    TSYS Debt Management             _/
> \_    Norcross, GA                                   _/
> \_    Phone 770-409-5570                    _/
> \_    Fax      770-416-1752                   _/
> \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> 
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
> 
-- 

================================
Michael Lockhart - PHP Developer
Intercosmos Media Group
mailto:mlockhart at intercosmos.com
http://orbital.intercosmos.net
================================

 This is a digitally signed message part




More information about the Ale mailing list