StreamMe Posted January 15, 2008 Share Posted January 15, 2008 I know this is totally n00b I just got a dedi from 1and1, fedora core 6. I type "which php" in my shell and I get /usr/bin/php problem is, there is no /usr/bin/php, just usr/bin In installing ffmpeg, I found that my modules, pear and build directories are within: /usr/lib64/php Is this my path to php? Quote Link to comment https://forums.phpfreaks.com/topic/86077-solved-path-to-php/ Share on other sites More sharing options...
trq Posted January 15, 2008 Share Posted January 15, 2008 Is this my path to php? I doupt it. What is the output of... ls -lF /usr/bin | grep php and... ls -lF /usr/lib64 | grep php ? Quote Link to comment https://forums.phpfreaks.com/topic/86077-solved-path-to-php/#findComment-439789 Share on other sites More sharing options...
StreamMe Posted January 16, 2008 Author Share Posted January 16, 2008 1st output: " php php-cgi php-config phpize " 2nd output " php " does this mean php is in both? im confused Quote Link to comment https://forums.phpfreaks.com/topic/86077-solved-path-to-php/#findComment-440533 Share on other sites More sharing options...
trq Posted January 16, 2008 Share Posted January 16, 2008 Can I see the actual output of those commands? Quote Link to comment https://forums.phpfreaks.com/topic/86077-solved-path-to-php/#findComment-440546 Share on other sites More sharing options...
StreamMe Posted January 16, 2008 Author Share Posted January 16, 2008 Quote Link to comment https://forums.phpfreaks.com/topic/86077-solved-path-to-php/#findComment-440580 Share on other sites More sharing options...
trq Posted January 16, 2008 Share Posted January 16, 2008 Sorry, I'ts a small L not an I. ls -lF /usr/bin | grep php Quote Link to comment https://forums.phpfreaks.com/topic/86077-solved-path-to-php/#findComment-440604 Share on other sites More sharing options...
StreamMe Posted January 16, 2008 Author Share Posted January 16, 2008 oh oops [root@ ~]# ls -lF /usr/bin | grep php -rwxr-xr-x 1 root root 3028032 Sep 18 09:09 php* -rwxr-xr-x 1 root root 3032128 Sep 18 09:09 php-cgi* -rwxr-xr-x 1 root root 1159 Sep 18 09:08 php-config* -rwxr-xr-x 1 root root 4121 Sep 18 09:08 phpize* [root@ ~]# ls -lF /usr/lib64 | grep php drwxr-xr-x 5 root root 43 Jan 14 23:08 php/ [root@ ~]# Quote Link to comment https://forums.phpfreaks.com/topic/86077-solved-path-to-php/#findComment-440635 Share on other sites More sharing options...
trq Posted January 16, 2008 Share Posted January 16, 2008 The path to php is definately /usr/bin/php Quote Link to comment https://forums.phpfreaks.com/topic/86077-solved-path-to-php/#findComment-440816 Share on other sites More sharing options...
StreamMe Posted January 16, 2008 Author Share Posted January 16, 2008 shouldnt it be a folder? its just a file here.. Quote Link to comment https://forums.phpfreaks.com/topic/86077-solved-path-to-php/#findComment-440825 Share on other sites More sharing options...
trq Posted January 16, 2008 Share Posted January 16, 2008 No, that is the php executable. Quote Link to comment https://forums.phpfreaks.com/topic/86077-solved-path-to-php/#findComment-440833 Share on other sites More sharing options...
trq Posted January 16, 2008 Share Posted January 16, 2008 All the libs for it would appear to be in /usr/lib64/php Quote Link to comment https://forums.phpfreaks.com/topic/86077-solved-path-to-php/#findComment-440835 Share on other sites More sharing options...
StreamMe Posted January 16, 2008 Author Share Posted January 16, 2008 thanks for your help. man linux is confusing after many years of Microsoft. Quote Link to comment https://forums.phpfreaks.com/topic/86077-solved-path-to-php/#findComment-440840 Share on other sites More sharing options...
trq Posted January 16, 2008 Share Posted January 16, 2008 You get the hang of it eventually. Quote Link to comment https://forums.phpfreaks.com/topic/86077-solved-path-to-php/#findComment-440889 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.