Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Sep 07, 2015 3:12 pm 
Offline

Joined: Mon Sep 07, 2015 2:55 pm
Posts: 1
I use centos 7, have a path /root/.node_modules_global/bin
that needed to run a server side cordova.js

I tried
/etc/profile.d/cordova.sh
adding path to /etc/sysconfig/httpd
adding path to /etc/profile using pathmungo

I did all login as root,
it added when I logged in as root

but not pick up from phpinfo

any solution is helpful

:)


Top
   
PostPosted: Mon Sep 07, 2015 6:47 pm 
Offline
Senior Member

Joined: Sun Aug 31, 2008 4:29 pm
Posts: 177
The /root directory is readible only by the the root user. The http user likely cannot access it. Try moving the modules to a location that is accessible to all users and adjust your configuration accordingly.

_________________
sleddog


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group