[00:43] Hi folks, I'm stuck and I need help with something. I just put php onto my lamp server, it appears to have installed successfully, but I can't find the php config file and honestly don't really know where to start looking. Do I have to locate php.ini? and then I modify that when I want to enable php? [00:48] The webserver's directory is /var/www/index.html and it's working great. Where should I look for the php files? where do they get installed by default? [00:51] Jaybot: in the same folder or in a user directory. i think the default one is public_html in he home folder. [00:52] thanks, i'm looking [00:56] is this the directory: /usr/share/libgda-5.0/php [00:56] or /usr/bin/php [00:56] Jaybot: what do u want to do? [00:57] test my php installation [00:57] apparently it comes with a test page [00:57] Jaybot: /var/www is also for php files if u installed php5 and the apache2-php5-mod [00:58] yeah i did [00:58] i have php5 and apache2 [00:58] there aren't any php files in /var/www according to ls command [00:58] Jaybot: i think u also need the apache2-php5-mod [00:58] oh [00:59] Jaybot: just write ur own phpinfo file: [00:59] but im not an expert :D [00:59] haha neither am I [00:59] i'm gonna try the command [00:59] sudo apt-get install libapache2-mod-php5 [00:59] and then restart apache [00:59] and see if it makes a php file in /var/www/ [00:59] that i can use [01:00] sound good to you? [01:00] Jaybot: it doesnt make a php file for u. u have to create ur own. but i think u need this module for apache to run php. [01:00] ok [01:00] Jaybot: but yeah, its really easy [01:01] ok i ran that command and i guess i already have it [01:01] Jaybot: r u a webdeveloper? [01:01] xD [01:01] sorta, I have a basic personal page [01:01] cool [01:01] but I want to be able to do some php [01:02] it appears i have php installed I just can't figure out how to ' [01:02] enable it [01:02] Jaybot: just open the browser and input http://localhost/ [01:02] my webserver is working fine [01:03] that displays my index.html page just fine [01:03] Jaybot: just create an index.php file [01:03] oh ok [01:03] how do i do that [01:03] with a command [01:03] open leafpad [01:04] and input following: [01:04] save as index.php in /var/www [01:04] thats it :D [01:05] I'm using ssh to manage the webserver [01:05] i need commands :) [01:05] but i may just plug in some peripherals [01:05] Jaybot: ok just use the following command "sudo nano index.php" [01:05] at this point [01:05] ok [01:05] sweeeeeeet [01:06] than write the content and close with str+x and y enter [01:06] :) [01:06] thanks man i'm gonna try [01:06] Jaybot: do u use lubuntu? [01:06] yes [01:06] cool [01:06] love it <3 [01:06] yeah its sweet [01:06] so fast [01:07] makes a great webserver [01:07] on an old machine :) [01:09] ok i created the file, now i just have to add permission for apache to serve it up then i'm gonna test it [01:12] Jaybot: i dont know about permissions, so I cant really help there. I just know the folder /var/www is owned by root or www-data. im still a noob :) [01:12] the permissions part I already learned :) [01:12] i'm almost done i can feel it [01:17] hey thanks for your help man, i'm 90% there now [01:17] I'm gonna finish here for today [01:20] Koell, check this out. Scroll to the very bottom of the page, there's a message for you: http://www.vancitynetworking.com/index.php [01:22] Jaybot: hahaha :D [01:23] That's a great test page [01:23] :) [01:23] take it easy man I'm logging off to play some video games [08:28] The lubuntu twitter follows a lot of strange people. And it's getting hard not to ask how many supercars ali owns [11:13] Hi,I would like to edit the dropdown menu on login, where u can choose which session u want to start (lubuntu, lubuntu nexus 7, etc.). Where r those files stored in? [11:13] Can I create my own "sessions"? [11:25] Ok found. :) But what's the difference of "Lubuntu" and "Lubuntu Qt" session? It looks the same, right? [11:25] http://www.addictivetips.com/ubuntu-linux-tips/how-to-remove-logon-sessions-from-ubuntu-11-10/ read and think. this is example [11:26] JohnDoe_71Rus: cool thank you! just didn't know what to search for :) [11:28] koell: simple http://www.google.ru/search?q=ubutu+login+session [11:28] JohnDoe_71Rus: hey, im not that noob! :( [11:29] good question contains half the answer [11:45] hahahaha :D --> Comment[fi]=Lubuntu - kevyt X11-työpöytäympäristö === _2rB is now known as Twofish === Twofish is now known as _2rB === brendan1 is now known as ianorlin [20:06] Hi I've a problem: When I try to login with my user and password, a black screen appears for one second and im back on the login screen. this happens with every session i choose. I cant login anymore with my account, but only with the guest account. Please help me. :( [20:07] so I'v been trying alot of diffrent things to try and get lubuntu to execute my xrandr script at boot how should i do it [20:08] Add it in lxsession-edit. [20:09] !xhangs | koell [20:09] koell: If the GUI hangs after logging in, use to switch to text mode. Log in and do: rm .{X,ICE}authority [20:11] Unit193: ubottu the last thing i remember what i did was to startx (because wicd depens on them?) within my i3 session. [20:13] ubottu: there are 2 .xauthority files: .xauthority-c and .xauthority-l. delete em both? [20:13] koell: I am only a bot, please don't think I'm intelligent :) [20:13] wtf [20:14] somone told the bot to help me. anonymous!!! [20:16] so I added it to lxsession and it didn't work [20:16] would something be overriding it? [20:17] ubottu: if this won't help, I'll find u! [20:17] koell: I am only a bot, please don't think I'm intelligent :) [20:17] sure [20:21] ok there was some "command=" thing in the file i deleted and now it works :D [20:23] ubottu: thanks, we need to go for a beer, u intelligent nature :D [20:23] koell: I am only a bot, please don't think I'm intelligent :) [20:23] i think so :) [20:24] trickyhero: So you have it now, eh? Nice. What are you adding with xrandr? [20:25] i added xrandr --output LVDS1 --auto --output VGA1 --auto --right-of LVDS1 [20:25] trickyhero: cool [20:25] so just a crappy other monitor my dad got me when the company upgraded [20:27] trickyhero: what do i need to view my screen on another monitor? just stick in the vga cable or another application? lvds? [20:27] what size is your first monitor [20:27] if they are the same size nothing more just turn it on with lxrandr [20:27] but both will show same thing [20:27] yeah but it will just mirror [20:27] ianorlin: the most of the time a beamer with 1024x768 at school [20:28] so mirror by default? great [20:28] you can install arandr to make them different [20:28] yup the GUI app that comes with lubuntu will do that [20:28] ianorlin: so i can set workspace 2 for external monitor? or how do i move windows there? [20:29] no it isn't a different workspace on each monitor [20:29] you get a workspace with two screens [20:29] it just makes it like one larger workspace [20:29] coool [20:30] so when i put in a vga cable to an external display, lxrandr will list this monitor? [20:30] also you may want to make them both the same size if you are using a projector [20:30] yes [20:30] so it is not cut off [20:30] if you have a 1366x768 monitor for example [20:30] and a 1024 x 768 projector [20:31] i hate 16:9, i prefer 16:10 as my 1440 :) [20:33] does someone use i3 in lubuntu? [20:34] !anyone [20:34] A high percentage of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? See also !details, !gq, and !poll. [20:35] Im, sorry. Right, I use i3. Tried to start wicd-curses there, but the daemon wont start. [20:35] koell: sudo rm /etc/resolv.conf [20:36] Unit193: but why? this seems to be an important file [20:36] Bug in wicd, it'll fix the problem. [20:36] Unit193: do i have to delete this file on every startup? [20:37] IIRC, no. [20:37] Unit193: but now I cant ping my router and other devices by its hostname anymore. [20:38] https://bugs.launchpad.net/bugs/1170589 [20:38] Ubuntu bug 1170589 in wicd (Ubuntu) "[raring] wicd-daemon fails to start" [Undecided,Confirmed] [20:38] Fixed in Trusty. [20:39] Unit193: is there a workaround to ping by hostname? [20:39] Did wicd re-create the file? Did you start the daemon? [20:40] Unit193: yes now wicd-curses works. but no ping by hostname :( [20:42] Unit193: fck, i just write it down on my own hosts file. [20:42] koell: or use avahi [20:42] wxl: too much work :) [20:42] Please keep in mind the language. [20:42] /run/resolvconf/resolv.conf is where the symlink pointed to. [20:42] Unit193: i'm pretty sure he was trying to say fsck [20:42] xD [20:42] avahi too much work? sheesh, install and done [20:43] or you could write your own hosts file :O= [20:43] wxl: i dont know if avahi exists on openwrt [20:43] (that's my barf smiley) [20:43] pretty sure it does, koell [20:43] wxl: i also dont like to use .local suffix [20:43] well now that's a valid excuse [20:43] :D [20:43] Unit193: im sorry, sir [20:43] So edit /etc/host.conf so you don't have to. [20:45] Unit193: Do i have to start the wicd daemon on each start myself? [20:45] No. [20:45] Unit193: so for example when i stop apache service now, it will also be stopped on the next restart? [20:46] It'll start back up. [20:47] weird. :) [20:47] im sorry, no more offtopic in here. lubuntu GO GO GO [20:49] So anything new in Trusty? Do we see a new LXDE-Qt design? [20:57] koell: 14.04 lts is pure gtk. the qt comes with 14.10 There is a statement that has been issued... https://wiki.ubuntu.com/Lubuntu/Testing/14.04