Php Path

Jan 30, 2007

SSH language, just know the commands that i use often.

my hoster, as he said did upgrade 2 days ago, [had an upgrade to apache 2], and some SSH command that i use before this, now don't work

for example, i had php script, which i run from ssh

[php go.php]

which don't work now ... got an error:

Code:
-bash: php: command not found
so my question is how to find php right path ?

Code:
$ whereis php
output:

Code:

Code:
php: /usr/src/php-5.2.0/php5.spec /usr/src/php-5.2.0/php.ini-dist /usr/src/php-5.2.0/php.ini-recommended /usr/src/php-5.2.0/php.gif /usr/local/bin/php /usr/local/lib/php.ini /usr/local/lib/php
as i understand, path is /usr/local/lib/php

after this try to type

Code:
/usr/local/lib/php go.php
output

Code:

/usr/local/lib/php: is a directory
btw

when i type

echo $PATH

get

Code:
/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/home/MYUSERNAME/bin

View 6 Replies


ADVERTISEMENT

Finding FTP Path

Nov 13, 2008

I'm trying to transfer a cms from 1 site to another and I don't know the full ftp path.. I'm looking for the "/public_html/username/blank/blank/sitefolder" or something similar.. How do I figure this out?

View 2 Replies View Related

Physical Path

Jan 13, 2007

how can i find out my site physical path

i tried following but blank page
[url]

View 2 Replies View Related

Virtual Path

Jul 10, 2007

I'm installing a script that's suppose to act as a payment gateway/store. The script requires the virtual path to the secured directory holding the products and everything I've tried doesn't work! It should be something like /home/username/public_html/secured where username is replaced with my username. I'm hosting with godaddy and have tried just about everything on this page: help.godaddyDOTCOM/article.php?article_id=1360 without any luck. Any ideas or experience with this? I'm on the economy plan with godaddy.

View 0 Replies View Related

Plesk Full Path?

Jun 8, 2007

What would be the full path to the user's directory?

Cpanel's is:

/home/user/public_html

View 3 Replies View Related

How To Change DocumentRoot Path?

Oct 6, 2009

how to change DocumentRoot path?

like from this:

/public_html-maindomain)
/public_html/domain2
/public_html/domain3
/public_html/domain4
/public_html/domain5

to this:

/public_html/maindomain
/public_html/domain2
/public_html/domain3
/public_html/domain4
/public_html/domain5

View 8 Replies View Related

Path For MySQL Databases

Oct 25, 2009

Just wanted to ask, which folder are the MySQL databases held in for Cpanel? Running CentOS 5 VPS.

View 7 Replies View Related

Change Path Of Exim Log

Dec 12, 2008

How do I change the path of the Exim log directory? I am using Cpanel/WHM.

View 5 Replies View Related

Cpanel Subdomain Path

Feb 7, 2008

I am running Cpanel x 11.

Can I create a subdomain like:

mysub.mydomain.com and instead of its physical location being at:

'public_html/mysub'

Can I change/create its physical location at:

'public_html/inside_dir/yet_another_inside_dir/mysub'

View 2 Replies View Related

Valueweb.com Path To CURL

Nov 28, 2007

Im having problems configuring my shopping cart.

Im hosting with www.valueweb.com

Does anybody know what is the path to curl?

I called them but they gave me 2 paths and none of them work.

View 2 Replies View Related

Colocation Close To NJ PATH

Dec 20, 2007

build out a backup datacenter to mirror our facilities currently located in Manhattan.

Does anyone have any recommendations of a datacenter (preferably a carrier neutral facility) that is within walking distance to the NJ PATH station in New Jersey?

We are looking for between 2 and 3 racks with up to four 20 amp power cicuits.

View 14 Replies View Related

PATH Shell Variable

Jul 25, 2007

I had a program (APF, actually) install its executable file in /usr/local/sbin/, so I went to add that directory to my PATH variable in .bashrc. I'm able to type commands to executables just fine in other directories, but for some reason I keep getting "command not found errors" from bash when I type in the name of the executable (apf), even when starting/restarting new instances of the shell. Here's my current PATH variable in .bashrc - have I overlooked something?
# Customize the path directory
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:~/bin:

View 5 Replies View Related

How To Find Path To MySQL

Sep 1, 2007

How to find path to MySQL ?

I need to know command for check path to MySQL.

View 2 Replies View Related

Full Path Email

Apr 9, 2007

I am not sure if this is the right area to post this question but I am setting up an autoresponder on my website. To configure it to my site it the instructions say I need to

"# Type the full path to your EMail program.
# If you're not sure of this, ask your server administrator

$mailprog="/usr/sbin/sendmail";
# Type your email address. Make sure
# to place a in front of the @
# As an example: admin@autoresponderunlimited.com
$fromaddr="admin@autoresponderunlimited.com";"

Where would I be able to find this? I have the Linux Deluxe Hosting Plan from godaddy.com

View 6 Replies View Related

Apache :: Using UNC Path In Directory

Dec 18, 2012

Earlier I made a setup using UNC path in my Apache configuration. I managed to make this work. Now on another installation using Apache 2.2.22 nothing works like before.

This is how my configuration looks like ....

View 4 Replies View Related

Domain Name Server (DNS) Path Diagram

Jul 22, 2009

The "DNS Path Diagram" (lower part) does not show a graph when accessed via :

WHM=>Cluster/Remote Access =>Configure Cluster.

Any idea what can be causing this?

View 4 Replies View Related

Change Default Path In Tomcat ?

Dec 2, 2008

I have Linux server Apache with Tomcat.How can i change DocumentRoot for Tomcat or set default page for Tomcat index.jsp or my.jsp or index.php because i want to use 301 redirection.
So please guide me how can i change default page or change default path.

View 1 Replies View Related

Change Chroot FTP User Path

Jan 23, 2009

I'm using Plesk on my server and its a pain in the @** to create FTP users. So I found this article on adding chrooted FTP users. I successfully added a user, but would like to change the path now, how can I do this?

View 2 Replies View Related

Upgrad Path .. Shared -> Vps -> Dedicated?

Jun 11, 2008

I have a question as to what the general upgrade path is these days regarding hosting, is it

shared -> vps -> dedicated

A second quesiton, DreamHost has a VPS package that you can set the memory and CPU usage, is this a gimick or do other companies do this as well?

View 3 Replies View Related

CentOS - Full Working Path

Apr 1, 2008

I just installed a new server with CentOS.

Unlike my other installations, it appears that my installation doesn't show up my full working path

Other server shows
root@root [/home/user/public_html]#

My new server shows
root@new [public_html]# pwd
/home/user/public_html

How do I change this enviroment?

When I type crontab -e, it uses vi editor instead of nano/pico. How can I use nano or pico editor as default?

View 2 Replies View Related

Server Path(s) For Backups With Whm/cpanel

Mar 9, 2008

Anyone know the server path(s) for backups with whm/cpanel?

I'm talking about the backups that are kept for sites where they can be downloaded via web from cpanel. (daily, weekly, monthly)

View 3 Replies View Related

Path For DNS Zone File In Plesk

Jul 20, 2007

What is the path for DNS zone files located in plesk system?

View 4 Replies View Related

Physical Path Of Yahoo Hosting

Jan 14, 2007

what is the physical path of yahoo hosting

i tried this

PHP Code:

<?echo $_SERVER['PATH_TRANSLATED'];?>

but bank page

View 1 Replies View Related

Find Full Path Of My Account

Mar 24, 2007

How can i find the full path of my shared account.

Example: /home2/user/public_html/

View 2 Replies View Related

Redirect The Domain + Site Path

Jan 17, 2007

Is there a way that I could redirect total urls? By that I mean when someone goes to www.domain.com/whatever/file.php?id=345 they get redirected to www.anotherdomain.com/whatever/file.php?id=345

Im running apache 1.3

View 8 Replies View Related

Hosts That Have Clear Upgrade Path

Dec 27, 2007

I'm about to launch a site that i think will see a gradual growth in userbase, so i want a host that could scale my site as the it grows. I had earlier chosen crucial web host (esp their split dedicated plan) but i think after a point even that would limit the number of users and resources used per second (and they have no upgrade after that).

I would like to hear your suggestions on hosts who have plans from VPS ( i think i'll start from VPS itself and not shared just to be safe) to semi-dedicated or dedicated.

The upgrade should be hassle free, that is my main requirement. And also if there is a sudden income of traffic from other sites the host should NOT suspend my account but should charge only for the overages.

View 9 Replies View Related

Network Path Flow Monitoring Software

Aug 19, 2009

I have been tasked with researching the available options in software that monitor network route paths out from our network that shows latencies and packet loss, etc. We would like real time graphing of current route utilizations so we can notice and make changes on the fly should routes to China see increased latency over a certain backbone (Level(3) or Global Crossing). We need something more in-depth than Netflow as we need to watch our current outgoing paths that our customers are using.

View 8 Replies View Related

Path To Code Files On Hosts Server

May 29, 2009

I have just FTP'd my code files onto my hosts server and i'm not sure whether i need the files in the root of the htdocs folder or whether i can leave them in my folder called website within htdocs...? the structure looks like this atm: htdocs->website->[all of my php files]

also... do i need an index.html file or is index.php ok? atm i am getting a 403 error when i try to connect,

View 5 Replies View Related

Can't Get Return-Path, Envelope-From To Change In Exim

Sep 11, 2007

I've read everything I can find in google and tried it all but I just can't get Return-Path / Envelope-From to change when using centos+cpanel+exim+php4 it insists on sending as nobody@server.VPShostname.com which several very picky email services will promptly bounce

I've tried the following:

1. inserted the "magical" fifth parameter into mail() on php making it -fuser@example.com

2. double checked php.ini to make sure php is using exim - it is:
sendmail_path/usr/sbin/sendmail -t -i

3. used cpanel's own advanced exim editor to add at the top of the exim conf
trusted_users = nobody
(which i don't like but at this point I'll accept any technique that works)

4. restarted all services, exim, php, apache

5. I even found an obscure reference to /etc/email-addresses which can contain a whitelist so I added the email address there

View 2 Replies View Related

How To Print The List Of Files With Full Path

Aug 15, 2007

On Linux, what is the command that can show me all of the files in subdirectories with Full Path? For ex, I am looking for something like;

./cgi-bin/library/templates/example.html

I tried ls -alR, but it only show me single file name with each divided section of subdirectories....Should I use some other command or build a script for this?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved