lamp

Long-time LAMP Developer moving to VB.NET

I've been developing with PHP5/MySQL for years, but recent circumstances have pushed me to move towards the .NET platform. I'd be interested to hear any advise from someone who has gone through this transition... What are some things you wish you knew when you started? I also have a Java background so I'm not scared of the OO aspect ...

Recommendation for straight-forward python frameworks

Although I have quite a few years of experience of building web applications in Java, I've not really done much web development in the more lightweight 'LAMP' style. I've recently picked up python and am quite liking what I see so far, but there isn't an 'obvious' choice for which web framework to use, as it seems there are a number of ...

PHP on IIS

Having been a PHP developer on LAMP servers for quite a while, is there anything that I will need to take into consideration while preparing an application for IIS on windows. ...

How do you set your LAMP testing server?

I am using xampp on Windows, but I would like to use something closer to my server setup. Federico Cargnelutti tutorial explains how to setup LAMP VMWARE appliance; it is a great introduction to VMware appliances, but one of the commands was not working and it doesn't describe how to change the keyboard layout and the timezone. ps: the...

What's a good way to encapsulate data access with PHP/MySQL?

Most of my experience is on the MSFT stack, but I am now working on a side project, helping someone with a personal site with cheap hosting that is built on the LAMP stack. My options for installing extras are limited, so I'm wondering about how to write my data access code without embedding raw queries in the .php files. I like to kee...

How Did You Decide Between WISA and LAMP?

Did you ever have to choose between WISA or LAMP at the beginning of a web project? While pros and cons are littered around the net, it would be helpful to know about your real experience in coming up w/ criteria, evaluating, deciding, and reflecting upon your decision to go w/ either platform. ...

Deployment tool for LAMP

Are there any good deployment tools that can be used with LAMP and Subversion? Ideally it would handle both code updates and database migrations. ...

Wordpress MediaWiki Integration

On the other end of the spectrum I would be happy if I could install a Wiki and share the login credentials between WordPress and the Wiki. I hacked MediaWiki a while ago to share logins with another site (in Classic ASP) via session cookies and it was a pain to do and even worse to maintain. Ideally I would like to find a plug-in or s...

Wordpress MediaWiki Cookie Integration

I have my Wordpress install and MediaWiki sharing the same login information. Unfortunately users need to log into both separately, but at least they use the same credentials. What I would like to do is cause a successful log in on the Wordpress blog to also cause a log in for MediaWiki (ideally both directions). There are two ways ...

How do you prevent SQL injection in LAMP applications?

Here are a few possibilities to get the conversation started: Escape all input upon initialization. Escape each value, preferably when generating the SQL. The first solution is suboptimal, because you then need to unescape each value if you want to use it in anything other than SQL, like outputting it on a web page. The second solut...

The ideal multi-server LAMP environment

There's alot of information out there on setting up LAMP stacks on a single box, or perhaps moving MySQL onto it's own box, but growing beyond that doesn't seem to be very well documented. My current web environment is having capacity issues, and so I'm looking for best-practices regarding configuration tuning, determining bottlenecks, ...

Best practices for withstanding launch day traffic burst

We are working on a website for a client that (for once) is expected to get a fair amount of traffic on day one. There are press releases, people are blogging about it, etc. I am a little concerned that we're going to fall flat on our face on day one. What are the main things you would look at to ensure (in advance without real traffic d...

What are good application servers for LAMP stacks?

I need recommendations for good application servers for monitoring and debugging PHP and Mysql running on linux. It should have a GUI, query profiling (log slow queries etc.) and capture PHP errors with environment coniditions. I am aware only of the Zend Platform that provides those features and I'm looking for alternatives. ...

J2EE -- is it just fluff or the real stuff?

I'm familiar with the LAMP stack and over the years have successfully deployed a handful of web sties based on it. I've used everything from Apache + modPerl, to PHP, to Ruby and Rails. With good use of caching my Rails site can sustain a pretty good load, but I'm not talking massive. I never really liked Java as a language, or XML for ...

Linux users and groups for a LAMP server

What is the best practice for setting up a LAMP server in terms of linux users and groups? If there are multiple sites hosted on the same server, is it best to have a single user that owns all site source files (and uploads) that is in the same group as apache - or to have a different user for each site (so that each site has its own cr...

Can I run LAMP and Rails from the same Apache instance?

We have a RedHat box with Apache2, PHP5 and MySQL 5 for much of our development. Now, we have a Rails client, and we need to set up a Rails app on the same server. Can we install Ruby and the Rails framework with the same Apache, or should we avoid this? Why or Why not? Is it possible to direct subdomains to either PHP or Ruby in the ind...

LAMP Server LiveCD

I'm looking for a LiveCD that will run a LAMP server, e.g. from files on a USB pen. I've heard of SLAMPP, which looks like it could be what I need but the homepage isn't loading today. There's also LAMPPIX, however at first glance it looks like this involves burning a new CD every time I have a new project (not what I want to do - I'd ...

Can require_once be used with symbolic links?

On a CentOS LAMP box, trying to get require_once to work inside a script in PHP5. If the file to be included is not a in symlinked directory, it works fine, but if the file to be required is in a directory found via a symbolic link, it fails to find it. Is this a limitation of require_once and symbolic links? EDIT - Thanks for the inpu...

What's the best way to use memcache with a single-server app?

For a single-server LAMP site (which is usually under quite high load), what is best way to use memcache? Does it make sense to run the memcache daemon on the same server as the application, or is that just going to take valuable memory away from MySQL, giving a net performance loss. Does it even make sense to use memcache in this sce...

Virtual 360º, stitching and presentation software, for use on PHP driven website?

EDITED (after 1st answer): Can anyone help by pointing to some good references for the creation and presentation of a 3D environment (a real room) on a website. Ideally it will not involve too much expense or too high a learning curve as this is a one off requirement for a small project. ...