Page 1 of 1

Running PHP On Linux [ Ubuntu ] [ Beginner ]

Posted: Tue Sep 13, 2011 7:18 pm
by Alg0r1thm
Hi brothers ,

I've installed ubuntu , I wanted to install the machine that run php , I installed lampp with the some commands after I googled.

Now it works ~> http://up7.iranblog.com/images/czzareobwoh1ihg6lg7.png

But I don't know where can I store php codes and run them !

Also I decided to remove that and Install xampp when I downloaded Xampp and I runned the installation command I face error !!!!!!!!!

I thought it's in that directory opt when went there there was nothing ! NoThInG !

I need some stuff that I can build mysql tables with user interface if you have the clue please help me what should I do ?

Notice : I'm pure beginner , Say the ways with details .

Thanks in advance

Re: Running PHP On Linux [ Ubuntu ] [ Beginner ]

Posted: Tue Sep 13, 2011 8:33 pm
by jacek
I think the default folder is /var/www if you look in there you should see the "It works !" page.

Re: Running PHP On Linux [ Ubuntu ] [ Beginner ]

Posted: Thu Sep 15, 2011 1:24 pm
by Alg0r1thm
How can I learn this commands ?

I wanna login into the phpmyadmin but I can't it says Login without a password is forbidden by configuration (see AllowNoPassword) !!!

I googled they said I should change the config of the phpmyadmin ( I mean copying the config.sample to config ... ) but I can't

because I don't have permession ! The config's file permession is Read-Only !

How can I change the file permession ? is changing the directory's permession contain the file's permession ?

I'm newbie Linux User .

[ Linux Ubuntu ]

Thanks in advance

Re: Running PHP On Linux [ Ubuntu ] [ Beginner ]

Posted: Fri Sep 16, 2011 8:21 pm
by jacek
You can change the permission of the file either by doing
chmod 0764 config.inc.php
you may neeed to run it as root, to do that do
sudo chmod 0764 config.inc.php