Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Variables not being populated



Normal Mode | Print  

 Variables not being populated, Solution (3 Replies, Read 317317 times)
ahost
Group: Member
Post Group: Newbie
Posts: 8
Status:
Hi,

On my new servers Softaculous (userend part) wont run as its suposed to, because the variables isnt populated.
The problem is that in some cases, scripts, running /usr/local/cpanel/base/frontend/x3 (softaculous symlink is located in here), wont use CPanels PHP, but servers main PHP CLI instead.

The solution is to ensure, that server utilizes the cPanel PHP install instead of the main system PHP for scripts loaded via cPanel.

The process to make this change is as follows:

First run:

Code
stat /var/cpanel/usecpphp


Only if the server output is:

Code
stat: cannot stat `/var/cpanel/usecpphp': No such file or directory


Just run:

Code
touch /var/cpanel/usecpphp


Hopefully You find this solution usefull ;)



-----------------------
http://www.ahost.lt
IP: --   


Threads
 ahost   Variables not being populated, Solution (3 Replies, Read 317317 times)
    |--  alons   Thank you for...   on May 24, 2009, 6:28 pm
    |--  qisback   This is just...   on August 24, 2009, 9:26 pm
    |--  rvrsd   For some reason...   on February 7, 2010, 3:50 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 29, 2024, 1:59 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.030