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