I can't access /usr/share/php-getid3/getid3.php - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: I can't access /usr/share/php-getid3/getid3.php (/thread-8183.html) |
I can't access /usr/share/php-getid3/getid3.php - bostko - 10-21-2009 11:57 PM This is a part of my /etc/apache2/sites-available/ispcp.conf file Code: # httpd dmn entry PHP2 support BEGIN. 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" Code: php_admin_value open_basedir "/home/www/dev.lionmv.com/:/home/www/dev.lionmv.com/phptmp/:/usr/share/" I doubt some global configuration blocks my setting? can you give me some ideas? RE: I can't access /usr/share/php-getid3/getid3.php - sci2tech - 10-22-2009 03:16 AM Please read documentation for apache2-suexec and apache2-suexec-custom RE: I can't access /usr/share/php-getid3/getid3.php - joximu - 10-22-2009 05:08 PM Normally it depends if you run apache&php in the worker-mpm and fastcgi/fcgid variant or in the prefork-mpm and mod_php variant. ISPcp default is the first... So all php settings need to be made in the correct php.ini (see other threads to know where the domain php.ini files are). And normally it's enough to add the path to th open_basedir line... (like pear etc) /J RE: I can't access /usr/share/php-getid3/getid3.php - bostko - 10-22-2009 08:03 PM I've got it down this rule rewrites my settings Code: <Directory /home/www/dev.lionmv.com/htdocs> /var/www/fcgi/dev.lionmv.com/php5/ So I edited /var/www/fcgi/dev.lionmv.com/php5/php.ini and everything works fine! RE: I can't access /usr/share/php-getid3/getid3.php - joximu - 10-22-2009 11:40 PM fine! |