--with-pear=/path/to/pear
Maniak said:Good question !
You may try to use this in PHP compilation:
<Files *.php>
SetEnv PHPRC /usr/local/etc/php4/cgi/
</Files>
<Files *.php5>
SetEnv PHPRC /usr/local/etc/php5/cgi/
</Files>
duke28 said:i cannot get php_admin_value open_basedir working on virtual host..
on each server i have apache1+php4 + php5 + suphp0.6.1
but its work on php4 + apache1
why ??
any clue ??
php_admin_value open_basedir /home/xxxx
/:/tmp/:/var/www/:/usr/local/lib/php/:/etc/virtual/
duke28 said:hi,
is it normal the phpinfo.php and phpinfo.php5 said use the same php.ini ??
http://box7.rapidenet.ca/phpinfo.php
http://box7.rapidenet.ca/phpinfo.php5
??
all is ok ??
i'm really not sure..lol
duke28 said:i cannot get php_admin_value open_basedir working on virtual host..
on each server i have apache1+php4 + php5 + suphp0.6.1
but its work on php4 + apache1
why ??
any clue ??
php_admin_value open_basedir /home/xxxx
/:/tmp/:/var/www/:/usr/local/lib/php/:/etc/virtual/
open_basedir = "/home/youruser/:/usr/local/php4/lib/php/:/var/www/html:/usr/local/directadmin/data/skins/:/tmp"
LoadModule suphp_module /usr/lib/apache/mod_suphp.so
AddModule mod_suphp.c
AddHandler x-httpd-php .php .inc .php4
AddHandler x-httpd-php5 .php5
<Location />
suPHP_Engine on
suPHP_ConfigPath /usr/local/etc/php5/cgi/
suPHP_AddHandler x-httpd-php
suPHP_AddHandler x-httpd-php5
</Location>
sh /usr/local/directadmin/scripts/webmail.sh
sh /usr/local/directadmin/scripts/squirrelmail.sh
dj86 said:The following problem:
does not work for me php after installation SuPHP When I come on a site it begins Download a file
If I do:
suPHP_Engine off RemoveHandler .php RemoveHandler .php5 All works except SuPhp
(apache1.3-FreeBsd5.5-php-4.4.4
I Did all under the instruction