Fedora Servers :: Php "require_once" Command Displays File?
Aug 25, 2011
I am a long time Ubuntu (and derivatives) user, but have decided to start using Fedora. I have installed Fedora 15, and have got a LAMP server running, as I did in Ubuntu. My only problem is with some php pages I have. The pages that are causing a problem all have the following line near the top:
Code:
require_once("include.php");
On my Ubuntu set up, this worked as expected, but on Fedora the contents of the included
[code]....
View 4 Replies
ADVERTISEMENT
Sep 12, 2010
Is it possible to run a java command as soon as the terminal opens and after it displays you have the normal terminal prompt. I have an ascii header i made its a java file and i want it to display every time i open the terminal so it shows as a header.
View 1 Replies
View Related
Feb 6, 2011
Anyone know if there is a command to change displays? Something equivalent to Ctrl-Alt-F1. I have my Ubuntu XBMClive box setup to run XMBC in Display :0 and Skype in Display :7. For some reason I have to start Skype last but then I don't know how to get back to XBMC automatically.
View 1 Replies
View Related
May 4, 2010
This is a very trivial thing, but when I SSH into my newly updated 10.04 server, the stats of the server are displayed on the screen twice. How can i fix it to just display once? This is what it is doing.Quote:Linux xxxxx 2.6.32-21-generic-pae #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010 i686 GNU/LinuxUbuntu 10.04 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
System information as of Tue May 4 08:41:22 EDT 2010
[code]....
View 9 Replies
View Related
Apr 13, 2011
I am setting up a server with Ubuntu Server edition. It is has 4gb of ram and had been working great the first week or so but something strange started happening about the same time I installed MythTV. After that, the server would slow down considerably and the ram being used would go from about 400megs up to all of the 4gb and use about 2gb or swap. After much research and investigating, I've narrowed it down to the vncserver starting up all 100 displays/sessions even if I try to specify one with : vncserver :1
View 3 Replies
View Related
May 13, 2010
I put command sudo dpkg - unpack file.deb
server say need an action option
View 1 Replies
View Related
Nov 16, 2010
I have a php file that I need to execute via a cronjob. This file should be run by the www-data user as its a file in my /var/www/project folder. When I run this file under root (php -f cron.php) everything works perfectly, but I want it to run under the www-data to be safe. Before I run it vai crontab I tried it via command line as the www-data user and I receive errors:
Fatal Error: Allowed memory size of 8388608 bytes expired (tried to allocate 232 bytes).
But when I run it as the root user I get no errors and everything works correctly. The file cron.php is used to process automated tasks in my CRM. So I don't really want to have the root user running a crontab every few minutes for this.
Must the www-data user be given more permissions? I am using Ubuntu 6.06LTS
PHP - 5.1.2
Apache - 2.0.55
MySQL - 5.0.22
View 4 Replies
View Related
Jan 28, 2011
I'm sure this is just a simple configuration issue, but not sure what to configure:
When I try to open a file from within an application (eg Open Office) and I choose "Open", a file browser pops up that allows navigation of the file system. Rather annoyingly, it shows all the dot files (and directories). There was a time when it did not, and I'm not sure what changed to make it do this.
Where do I configure this behaviour? I don't know what the file browsing thing is called. If I get a listing from ps before and after calling up the file opening tool, there is nothing extra showing.
View 3 Replies
View Related
Jul 22, 2010
1)what is the diff between echo and cat. cat displays the output of a file on the screen. dont echo does about the same?
2)Can anyone explain this command to be? sh -c " echo 'export XMODIFIERS=@im=SCIM ; export GTK_IM_MODULE="scim" ; export QT_IM_MODULE="scim" ; scim -d " > /etc/X11/Xsession.d/95xinput"
View 2 Replies
View Related
Mar 10, 2010
I need a hand with a line of terminal commands. I need to be able to search a given .sh file in a given location for a string, and when found, add a "#" to the start of that string and save the file back to it's original location.
View 1 Replies
View Related
May 12, 2010
I want to copy file from the Server cd drive and USB drive to the server root directory, but I haven't find any command of listing the cd drive or usb drive.
View 4 Replies
View Related
Mar 8, 2011
how i can use the cal command so it displays the current month and the next month, i know you can use cal -3 9 2007 to show the previous current and next but i just want to display the current and next.
View 9 Replies
View Related
Jan 4, 2009
Im running samba on fedora core 7, im abit new to the server part of fedora, i set up samba and it runs well, only issue i have now is resolving permissions( User Rights)i have a shared folder which has alot of files and many subfolders in it, the files and folders in this shared foldr were copied from our old Novell Server through samba, i need to assign permissions to this folder where by a defined usergroup can have full read and write permissions to all the files and folders and sub-folders in the shared folder. i tried doing it in GUI but i realized there were over 1000 subfolders.is there a command i can run in the Terminal to help me assign the permissions?
View 1 Replies
View Related
Mar 2, 2009
I am trying to get the MX record using dig command supplying IPv6 address of host. but i am getting connection timed out .
while with IPv4 address and host-name its working fine.
View 1 Replies
View Related
Mar 14, 2009
How to sending email from command line? Im just try send email look at below:
Code:
[root@fedora sniper]# echo "test" | mail -v -s test tazmanic76@hotmail.com
tazmanic76@hotmail.com... Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.14.3/8.14.3; Sat, 14 Mar 2009 15:50:43 +0800
>>> EHLO localhost.localdomain
250-localhost.localdomain Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
[Code]....
View 4 Replies
View Related
Sep 5, 2011
On the other thread, we (read: me) went off topic of that request, therefor i want to make an extra thread for this. The request is quite simple.
1) When i login to my DE (LXDE) i want to have several applications start automaticly.. Status: Done.
2) Now, i want them to be started on other displays/desktop, the virtual desktop ones, those you access with ctrl+alt+arrowkey. Status: requesting
I had figured that there's an option to those applications i'd like to be started, display=.However, starting up these apps with the display argument, causes graphic errors on LXPanel and causes an error, rather than to be display on current desktop.
[Code...
View 8 Replies
View Related
Mar 26, 2009
how to config details of samba with commands not from gui
View 2 Replies
View Related
Oct 23, 2009
How would I find out what servers are running on my local system from the command line? I cannot find out how to accomplish this anywhere?
View 3 Replies
View Related
Sep 11, 2010
I've been struggling trying to get a Lenovo T410 to display video on both it's internal LCD and an external display at the same time, and I need to get it working by Monday or I'm toast. know this will work with other distros, but we are contractually bound to use RHEL5.If we use the laptop on it's own there is no problem, however once we set it in the docking station, the external display shows no video, unless it is rebooted. Then it will only display video on the external and not the laptops own display.
Our engineers are constantly going to meetings and need to be able to undock the laptop and have the display appear without having to reboot. Then conversely, return to their desks and have the video on the external display without rebooting.I suspect that the problem is that RHEL5 is only up to release X11R7.1 of X.Org, which is still using version 1.1 of RandR and from what I can surmise, 1.1 of RandR does not recognize multiple video outputs.I was hoping that someone more knowledgeablthan I can confirm this and if I'm right do I need to manually build the latest release of X.Org to get this to work
View 5 Replies
View Related
Nov 26, 2010
I am going to build a Linux VPN server(PPTP) for my friend but here is the problem: He don't know Linux and command line to manage users, monitor server, etc
View 1 Replies
View Related
May 26, 2009
I'm having a problem which seems restricted to Fedora. I'm trying to install Fedora 10 on a dual boot system. I have Windows 7 RC installed. When I boot the live CD to run Fedora, my screen ends up displaying Fedora on the left half, and bits of the Windows shut down screen on the right. I cannot access the Fedora menus, they are pushed off to the left out of view.
I previously experienced the same problem with an earlier version of Fedora, with the HD loaded with Ubuntu and Win 7 beta. Fedora would boot but display either the last Ubuntu or last Windows screen to the right, whichever had been running last. No other version of Linux exhibits this behavior that I have found, but my experience is limited. Is there a particular procedure that I need to run to get Fedora to use the entire video display? Does Fedora need to be installed first?
Hardware is: ASUS P5E VM HDMI, using the integrated graphics, display is a 32" LCD TV HDMI input, hard drive is a Samsung 500Gb.
View 1 Replies
View Related
Jul 24, 2010
Does anyone know if there exists a screen saver which simply displays the current time? That would allow me to quickly determine what time it is whether I'm sitting at my computer or sitting across the room
View 2 Replies
View Related
Mar 23, 2011
i am having problems with firefox4 and flash with some sites like msnbc. videos seems to be ok. flash displays displays various blocks of color and is not usable when the problems presents itself. i have the problem on f13,f14, f15 with all versions of firefox4 on two different machines (intel and ati graphics). i tried the new test ubuntu (11.04) and all is fine so i am thinking it is something special about fedora's flash plugin. i mentioned this a couple of weeks ago and it didn't seem to be a common experience.
View 14 Replies
View Related
Apr 20, 2011
Booted up my machine today and when I started x windows, the first dialog box came up fine and then the gui components turn into garbage characters and I then I lose control of the gui and have to reboot.I'm running Centos 5.5.I'm wondering how to diagnose this. Is this a hardware problem of a configurationproblem? Is there a way I can set the video settings back to default values?
View 1 Replies
View Related
Mar 23, 2011
I would love to start using the new Firefox. How would I go about adding the repository and installing? What would I add? Or better yet, what is the command for unpacking a tar.bz2 file?
View 14 Replies
View Related
Mar 20, 2010
How do I use my SSH Terminal to get a file that is sittng on another server that I have.. As its like 500 megs or so but to download it to my computer then upload it it takes a long time..
So this is what i have done so far
1. Loged in to SSH Terminal
2. Went to my DIR that i want to put the FILE to
3. Typed in FTP
4. I"M LOST now as i'm trying to connect using my user on my ftp site (DIFFERN"T SERVER)
I relly need the key commands SHH Terminal for dummies
View 3 Replies
View Related
Dec 28, 2009
Issue: Black screen displays after nVidia splashscreen.
History: I performed a clean install of Fedora 12. I performed NVidia driver "GEForce 4 and below" install for a PAE kernel as found here:[URL]..I kept a log of each command in the order performed:
[Code]...
Well, I just got back from the Pepsi Center after watching the Denver Nuggets NBA basketball team look silly against the Dallas Mavericks. 4.5 hours later and I still have a black screen. Was it Einstein who said, "it is insanity to do the same thing, the same way, over and over and expect a different result"? I feel I will been testing that hypothesis soon.
View 14 Replies
View Related
Jun 14, 2010
I have been searching and searching for the way to make the taskbar just display the applications that are currently open on the current desktop. It's maddening to click thinking you'll pull up the terminal that's hiding beneath the browser and be whisked away to a different desktop.I'm running KDE 4.4.3 and FC13. I know there's got to be a simple option to have the taskbar only show what's there...I've changed it before in other distros and just can't seem to find a clear, obvious option for that this time around.
View 2 Replies
View Related
Aug 27, 2010
I want to switch between my monitor in my office and a hd-ready TV in my living room which is connected via DisplayPort/HDMI. So I wrote the following script (called by nohup and the number for the desired config-file is given as an argument):
Code:
This basically works but I have two problems:
1) All currently opened Windows are gone after restarting X. So I need a more elaborate script
2) I cannot get the right configuration for my TV. The manual recommends 1280x768_60. This mode doesn't seem to be supported (xrandr doesn't list it).
Until now I use the following xorg.conf for TV:
Code:
With that configuration about 20px of each side of the desktop are hidden. The TV also displays an info that the signal is 1080i. The refresh rate is set to 50 instead of the desired 60. I tried to force 720p by adding the line Modes "720p". The rest of the file was mostly generated by the nvidia-driver.
So what can I do to: Keep my opened Windows when switching Displays See the whole Desktop on my TV and set the refresh rate to 60
View 2 Replies
View Related
Jan 15, 2011
I have a list of domains in "domains.txt" , and I wanted to put an "nslookup" in front of each line and run it.. However I could not figure out a command for it.. Any ideas how to do this simple task?
View 7 Replies
View Related