Current time: 11-26-2024, 08:56 AM Hello There, Guest! (LoginRegister)


Post Reply 
I can't access /usr/share/php-getid3/getid3.php
Author Message
bostko Offline
Newbie
*

Posts: 6
Joined: Jun 2009
Reputation: 0
Post: #1
I can't access /usr/share/php-getid3/getid3.php
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?
(This post was last modified: 10-22-2009 01:59 AM by gOOvER.)
10-21-2009 11:57 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
I can't access /usr/share/php-getid3/getid3.php - bostko - 10-21-2009 11:57 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)