HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   /usr/bin not in PATH for PHP-FPM? (http://www.howtoforge.com/forums/showthread.php?t=61019)

darkangel 19th March 2013 14:28

/usr/bin not in PATH for PHP-FPM?
 
Hi,

When I switched to PHP-FPM, I couldn't run the "java" executable (in PHP code). I'm assuming it's because /usr/bin is not in the PATH, but how do I fix this?

Thx.

falko 23rd March 2013 18:15

I think it's an open_basedir problem. Please add /usr/bin to open_basedir on the Options tab of the website.

darkangel 25th March 2013 14:21

Quote:

Originally Posted by falko (Post 294567)
I think it's an open_basedir problem. Please add /usr/bin to open_basedir on the Options tab of the website.

It was because PHP-FPM was not set up correctly (see here).

Thx.


All times are GMT +2. The time now is 06:30.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.