Wedge

Public area => The Pub => Off-topic => Topic started by: Dismal Shadow on March 29th, 2013, 05:25 PM

Title: LAMP (Linux-Apache-MySQL-PHP)
Post by: Dismal Shadow on March 29th, 2013, 05:25 PM
I am running Ubuntu 13.04 with LAMP https://help.ubuntu.com/community/ApacheMySQLPHP locally.

I am not sure why SMF installed fine and Wedge doesn't on LAMP for some reasons.

They are chmod -R to 0777 from the terminal.

the phpinfo meets the requirement of installation.

Title: Re: LAMP (Linux-Apache-MySQL-PHP)
Post by: Arantor on March 29th, 2013, 05:44 PM
The css and js folders need to chmod to 777 too.
Title: Re: LAMP (Linux-Apache-MySQL-PHP)
Post by: Dismal Shadow on March 29th, 2013, 05:49 PM
Quote from Arantor on March 29th, 2013, 05:44 PM
The css and js folders need to chmod to 777 too.
They are. :/
Title: Re: LAMP (Linux-Apache-MySQL-PHP)
Post by: Nao on March 29th, 2013, 06:19 PM
Shouldn't they be chmodded to 0644, instead..? (Or 0755. One of these.)
Title: Re: LAMP (Linux-Apache-MySQL-PHP)
Post by: live627 on March 29th, 2013, 09:14 PM
Disable CSS gzip
Title: Re: LAMP (Linux-Apache-MySQL-PHP)
Post by: Maxx on March 29th, 2013, 10:40 PM
644/755 is typical or the should be setting for "R", 777 give r/w permission to anyone, open for hack!

regards,
Maxx
Title: Re: LAMP (Linux-Apache-MySQL-PHP)
Post by: Arantor on March 29th, 2013, 10:42 PM
On a localhost, where this is, it's absolutely fine.
Title: Re: LAMP (Linux-Apache-MySQL-PHP)
Post by: Maxx on March 29th, 2013, 10:43 PM
Cool JUST in casee!

regards,
maxx
Title: Re: LAMP (Linux-Apache-MySQL-PHP)
Post by: Dismal Shadow on March 30th, 2013, 06:40 PM
In the end I ended up installing Xammp and another issue with Apache.

There were conflict with Apache that pre-installed out of the box for Ubuntu (LAMP) and for some reason I couldn't iron out the permission issue with folder/files using chmod command.

The only way to stop the apache from starting in the background was using "/etc/init.d/apache2 start"

@live627, I will have a look at it if Xammp didn't work for me.

Title: Re: LAMP (Linux-Apache-MySQL-PHP)
Post by: Maxx on March 31st, 2013, 01:09 AM
I like  Xammp.... works great on windows, I 'll need to try it on Ubuntu later on. It also works great with MySql. thus far!

But on Xammp I would only turn whatt you need in the control panel, and remember to turn off when not used , so it does not drain some of you resources, On Windows any way! :)

regards,
Maxx
Title: Re: LAMP (Linux-Apache-MySQL-PHP)
Post by: live627 on March 31st, 2013, 01:31 AM
WAMPServer here all the way (And  no, Nao did not recommend it to me  :))
Title: Re: LAMP (Linux-Apache-MySQL-PHP)
Post by: ziycon on May 2nd, 2013, 03:00 PM
I'm not a big fan of bundled setups like Xammp/WAMPServer, there are easy to follow tutorials all over the net (https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-6).

I feel you have more control over everything and better security once setup correctly with the stand alone systems.
Title: Re: LAMP (Linux-Apache-MySQL-PHP)
Post by: Arantor on May 2nd, 2013, 03:02 PM
All-in-ones are fine for development purposes, because they reduce the setup hassle. But on production servers, it's far better to have the standalone components.

The same argument could be levelled at *nix distributions too, though I'd argue the reverse because of the number of systems involved.
Title: Re: LAMP (Linux-Apache-MySQL-PHP)
Post by: Maxx on May 4th, 2013, 02:34 AM
Yes ...agree,  I only use the  Xammp for local testing of word press and SMF and theme related stuff, for testing checking things out off line is cool... I play around with SMF alpha and WP themes  this way, then online. When I'm done it's all shut down. Much faster this way as mentioned above!
You can learn a few tricks this way if you are new at this code stuff, like me!

regards,
Maxx