Menu

Pls Help Ubuntu 12.04 + phpvirtualbox 5

Help
WALRUS
2017-12-21
2017-12-21
  • WALRUS

    WALRUS - 2017-12-21

    Hi
    help me please
    (sorry for my english)

    I'm need install virtualbox 5 on ubuntu server 12.04

    vurtualbox 5.2 and extpack for vbox was instaled sucsessful

    but

    I have problem with good job php moduls phpvirtualbox 5

    for webserver i use nginx

    when i go to webbrowser on webinterfase i'm get error

    ** > An unknown PHP error occurred. This is most likely a syntax error in config.php in phpVirtualBox's folder. The most common errors are an unclosed quote or a missing semicolon in a configuration item that has been entered (e.g. location, username, or password).

    >

    > Depending on your PHP configuration, navigating directly to config.php in your web browser may display the PHP error message.

    >

    > If find that this is not the case, or have no idea what this error message means, please raise the issue at http://sourceforge.net/p/phpvirtualbox/discussion/help/*

    in nginx log

    2017/12/21 11:46:35 [crit] 1382#0: *1 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 1$

    For rus lang

    Для русскоговорящих

    Пытаюсь установить virtualbox 5 на ubuntu server 12.04

    С самой установкой виртуалбокса и екстпака нет проблем.

    но
    как только я пытаюсь запусть модуль phpvirtualbox выскакивают ошибки.

    в качестве веб сервера использую nginx

    ошибки на веб интерфейсе и в логах Nginx

     
  • Thomas

    Thomas - 2017-12-21

    I just set up phpvirtualbox (5.2-0-rc1 from github) with a fresh Ubuntu 12.04 and Nginx. It is working fine for me.

    I did not find any "official" Virtualbox 5.2 package for Ubuntu 'precise' 12.04. Where did you find it?
    I have installed Virtualbox 5.1 instead.

    According to your nginx log entry, you have Nginx/php5-fpm misconfigured. Your Nginx configuration supposes that php5-fpm is listening to a unix socket /var/run/php5-fpm.sock, but that socket does not exist.

    You could try to edit /etc/php5/fpm/pool.d/www.conf in order to have :

    ...
    ;listen = 127.0.0.1:9000
    listen = /var/run/php5-fpm.sock
    listen.owner = www-data
    listen.group = www-data
    listen.mode = 0660
    ...
    

    Restart php5-fpm with sudo service php5-fpm restart, then try to browse to your phpvirtualbox URL.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.