Hi,
I have just updated my server to Fedora 25 and can not get phpvirtualbox working now - I have modified the PHPVBOX_VER as in other posts but still get
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.
Has anyone got this working with Fedora 25 yet and if so how did you do it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
are you using httpd as web server? What is your httpd conf?
where did you put the phpvirtualbox-5.0.5 folder?
what php packages did you install?
Did you enable the vboxweb service?
did you set a vbox user in /etc/vbox/vbox.cfg (VBOXWEB_USER=)?
did you create a vbox user on your machine, set its password and add it to the vboxusers group?
what is your php virtualbox config.php?
is selinux enabled on you machine?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using the same details that I have working on a Fedora 23 server (headless and was working on this server under Fedora 24 before the OS upgrade). I have set the VBOXWEB_USER enabled the vboxweb service and put the php in /var/www/html/virt director and am pointing to /virt from the browser.
I am using the httpd server and I installed all of the php packages in the guide below https://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel/
the httpd.conf is the same as that which worked with fedora 24 and both SElinux and Firewalld are disabled.
The php.conf is the default one with the $username and $password modified to reflect local configurations. - I took a backup of the var/www/html directory and /etc/httpd/ directories prior to upgrade and have checked the configurations with diff to those that previously worked - I don't have any differences. The error I am getting is as below:-
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.
I am getting the following httpd errors in the log
AH01079: failed to make connection to backend: httpd-UDS
which other forums sugest an error with php-fpm - though I have this installed and it has the below status:-
systemctl status php-fpm
â— php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2017-02-14 15:39:26 GMT; 2min 27s ago
Main PID: 11153 (php-fpm)
Status: "Processes active: 0, idle: 5, Requests: 1, slow: 0, Traffic: 0req/sec"
Tasks: 6 (limit: 4915)
CGroup: /system.slice/php-fpm.service
├─11153 php-fpm: master process (/etc/php-fpm.conf)
├─11154 php-fpm: pool www
├─11155 php-fpm: pool www
├─11156 php-fpm: pool www
├─11157 php-fpm: pool www
└─11158 php-fpm: pool www
Feb 14 15:39:26 Byteme-rsync.nc52net.co.uk systemd[1]: Starting The PHP FastCGI Process Manager...
Feb 14 15:39:26 Byteme-rsync.nc52net.co.uk systemd[1]: Started The PHP FastCGI Process Manager.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have just updated my server to Fedora 25 and can not get phpvirtualbox working now - I have modified the PHPVBOX_VER as in other posts but still get
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.
Has anyone got this working with Fedora 25 yet and if so how did you do it?
Hi Neil,
phpvirtualbox works well with my fedora 25.
can your tell me more about you conf:
are you using httpd as web server? What is your httpd conf?
where did you put the phpvirtualbox-5.0.5 folder?
what php packages did you install?
Did you enable the vboxweb service?
did you set a vbox user in /etc/vbox/vbox.cfg (VBOXWEB_USER=)?
did you create a vbox user on your machine, set its password and add it to the vboxusers group?
what is your php virtualbox config.php?
is selinux enabled on you machine?
Hi,
I am using the same details that I have working on a Fedora 23 server (headless and was working on this server under Fedora 24 before the OS upgrade). I have set the VBOXWEB_USER enabled the vboxweb service and put the php in /var/www/html/virt director and am pointing to /virt from the browser.
I am using the httpd server and I installed all of the php packages in the guide below
https://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel/
the httpd.conf is the same as that which worked with fedora 24 and both SElinux and Firewalld are disabled.
The php.conf is the default one with the $username and $password modified to reflect local configurations. - I took a backup of the var/www/html directory and /etc/httpd/ directories prior to upgrade and have checked the configurations with diff to those that previously worked - I don't have any differences. The error I am getting is as below:-
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/
I am getting the following httpd errors in the log
AH01079: failed to make connection to backend: httpd-UDS
which other forums sugest an error with php-fpm - though I have this installed and it has the below status:-
systemctl status php-fpm
â— php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2017-02-14 15:39:26 GMT; 2min 27s ago
Main PID: 11153 (php-fpm)
Status: "Processes active: 0, idle: 5, Requests: 1, slow: 0, Traffic: 0req/sec"
Tasks: 6 (limit: 4915)
CGroup: /system.slice/php-fpm.service
├─11153 php-fpm: master process (/etc/php-fpm.conf)
├─11154 php-fpm: pool www
├─11155 php-fpm: pool www
├─11156 php-fpm: pool www
├─11157 php-fpm: pool www
└─11158 php-fpm: pool www
Feb 14 15:39:26 Byteme-rsync.nc52net.co.uk systemd[1]: Starting The PHP FastCGI Process Manager...
Feb 14 15:39:26 Byteme-rsync.nc52net.co.uk systemd[1]: Started The PHP FastCGI Process Manager.
I have now managed to get the login to work but not get through to the GUI - it now fails with the following SOAP error
Exception Object
(
[message:protected] => SOAP-ERROR: Parsing WSDL: Couldn't load from '/var/www/html/virt/endpoints/lib/vboxwebService-5.1.wsdl' : failed to load external entity "/var/www/html/virt/endpoints/lib/vboxwebService-5.1.wsdl"
)
Any help here would be much appreciated.