Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on Install Symfony in VPS in the VPS & Dedicated forum
Hi, I need install Symfony in VPS server. I install symfony with pear, but when i create a new project, the error is: Warning: require_once() ...

  1. #1
    JPC Member
    Join Date
    Jan 2009
    Posts
    1

    Install Symfony in VPS

    Hi, I need install Symfony in VPS server. I install symfony with pear, but when i create a new project, the error is:

    Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/usr/share/pear/symfony/autoload/sfCoreAutoload.class.php) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/httpdocs:/tmp) in /var/www/vhosts/mydomain.com/httpdocs/config/ProjectConfiguration.class.php on line 4

    Any suggestion? Help please.... thanks!

  2. #2
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,070
    Moving the thread to VPS forum.

    It appears you are using Plesk and your php is configured with open_basedir in effect. I'm not sure if you can do that but may be there is an option in Plesk to remove open_basedir restriction for that account.

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  3. #3
    /dev/null JPC-Zishan's Avatar
    Join Date
    Apr 2008
    Posts
    268
    You can follow the KB to remove the open_basedir restriction for that account. As you need to remove the open_basedir restriction so you need to set :

    <Directory HTTPD_VHOSTS_D/domain.com/httpdocs>
    php_admin_value open_basedir none
    </Directory>

    If you don't feel comfortable in doing this, please open a support ticket and Support will do it for you.
    Zishan - L3 - Shift Lead | JaguarPC

    Helpful Links
    Knowledge Base | Network Status | Current Specials

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •