This is a part of my /etc/apache2/sites-available/ispcp.conf file
Code:
# httpd dmn entry PHP2 support BEGIN.
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/www/dev.lionmv.com/:/home/www/dev.lionmv.com/phptmp/:/usr/share/"
php_admin_value upload_tmp_dir "/home/www/dev.lionmv.com/phptmp/"
php_admin_value session.save_path "/home/www/dev.lionmv.com/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2028 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/dev.lionmv.com/
<Directory "/var/www/fcgi/dev.lionmv.com">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /home/www/dev.lionmv.com/htdocs>
FCGIWrapper /var/www/fcgi/dev.lionmv.com/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/dev.lionmv.com">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd dmn entry PHP2 support END.
It can access getid3.php via php-cli but it can't via browser.
I tried to change php_admin_value
Code:
open_basedir "/home/www/dev.lionmv.com/:/home/www/dev.lionmv.com/phptmp/:/usr/share/php"
to
Code:
php_admin_value open_basedir "/home/www/dev.lionmv.com/:/home/www/dev.lionmv.com/phptmp/:/usr/share/"
http://dev.lionmv.com/kursova/voting_system/admin.php
I doubt some global configuration blocks my setting?
can you give me some ideas?