lamp

PDT Eclipse to auto upload on save

I am migrating from a Dreamweaver forced working environment to a free-of-choice one. That said I must say I was rather enthusiastic about being able to use Dreamweaver PDT. However I have come to rely very heavily on the use of the "auto upload on save" function. I am developing LAMP but oriented to a Windows base majority so I really ...

LAMP, XAMPP for production.

Every LAMP or XAMPP writeup or tutorial I see says "Not for production use", so what do I use for production? ...

What are alternatives to SQL database storage for a web site?

An SQL database is overkill if your storage needs are small. When I was young and dumb, I used a text file and flock()ed it when I needed to access it. This doesn't scale, but I still feel that non-database solutions have been completely ignored in Web 2.0. Does anyone not use an SQL database for storage? What are the alternatives? ...

Virtual PC LAMP Server

I have a mirror of a RedHat6 LAMP server setup locally on my development machine (XP pro) for testing. I am trying to configure it so I can connect to it. However I am having problems. I've given the image a static IP address of 192.168.1.5. The httpd service is running, and when in RH6 I can view the apache test page by visiting http:...

Implementing PHP chat in members site

I have a members site which I'd like to add chat to (LAMP on a dedicated box). It doesn't need to be too complex, but must use the already-logged-in members' usernames for chat. This is a bit of a side project for me, so I'd rather not write it from scratch if possible & an existing script or class would be ideal. I've done a bit of sea...

Best practices for optimizing LAMP sites for speed?

I did a cursory search and couldn't find this question and this could be viewed as a multi-part question so help me out in either case if I made a mistake. I want to know when building a typical site on the LAMP stack how do you optimize it for the best possible load times. I am picturing a typical DB-driven site. This is a high-level...

Javascript/css/php/mysql to collect user email addresses in a div on a website.

Suppose you want a box on your website that says "Give us your email address and we'll send you news" or somesuch. What's a simple/elegant way to collect those email addresses (assuming a standard LAMP stack)? In particular, I'd like recommendations on Javascript to handle the UI (complain if invalid email address, say thanks when t...

What is the easiest way to have a local LAMP installation for web development on mac OS X ?

I'm new to mac os x. In the Windows XP world, there are packages available, like easyPHP, wampserver, uniformserver, that enable you to have a local webserver complete with php, mysql configured via an automatic installer. Really handy. I need the same on my new mac. I know mac os x comes with a local webserver. Is this already with php...

How do I use rpm to update/replace existing files?

I have several applications that I wish to deploy using rpm. Some of the files in my application deployments override files from other deployed packages. Simply including the new files in the deployment package will cause rpm conflicts. I am looking for the proper way to use rpm to update/replace already installed files. I have alrea...

Suggestions/Tricks for Throttling a PHP script

I have a scheduled task that runs a script on a regular basis (every hour). This script does some heavy interaction with the database and filesystem and regularly takes several minutes to run. The problem is, the server's cpu-usage spikes while the script is running and slows down normal operations. Is there a way to throttle this proces...

Any suggestions on server configuration for my web server?

I am setting up a web server for a client. They will be using a web app (PHP/LAMP) that I am building. The server will be sitting within their network locally. There will also be a MySQL database on the same server. The load on the server will only be 20-25 concurrent users, but uptime and performance is still very important. The app...

How do i do readable urls?

Assume I have the url http://example.com/user/me, where me is the user name. When the user types the url into the address bar, I want to reveal the details of the user. I do not want urls such as http://example.com/user.php?user=me Any help appreciated, working on LAMP ...

WAMP easy setup installer?

Is there any way to make an installer that is very user friendly? I know it's impossible for a Next Next Finished installer but what can I do to ease the process? Windows platform. Thanks in advance. ...

MySQL error "No Database Selected"

Hello, I am using LAMP on localhost. I can login which uses mysql db, get to the main page (data driven), but when i enter this particular page, its fine, but when i refresh the error is "No Database Selected" then one every page says so. I restarted the Apache, MySQL server Browsers FF,IE, Chrome all show the same errors, cleared ca...

limit access through MAC address

Hi- I'm setting up a WAMP/LAMP stack on an old PC. This computer will be connected to a local network with about a dozen other PC's. I'm interested in limiting access from everyone else's computers, so that only my partner and I can access our local server. The best way, I think, to do this is to block out everyone else's MAC address (...

what is a svn tagged export? How do you use it in your build process?

Specifically I am interested for the LAMP Stack and some of the best practices to use this for various builds. ...

My server is about to be switched off. I run a LAMP set up, what should I back up?

My hosting company may cut me off. Any ideas on what files I should back up? I am running RedHat 4.1. How would I save my current PHP set up? Can I just save the .so files? MySQL - is backing up the data directory and my.cnf enough? Apache - httpd.conf, html folders, sure, but anything else? ...

Upgrading individual libraries within LAMPP (specifically, openssl)

Does anyone have any experience in upgrading individual chunks of the XAMPP LAMP stack without installing an upgrade from XAMPP? We have several production servers which require an update to the openssl lib but the upgrade from XAMPP would take us into newer versions of MySQL and PHP which we haven't tested against yet. Otherwise, I wo...

Are there any way to know whether user open mail ?

we build newsletter module, and send email to members. The environment is LAMP. Are there any way to know whether member open the mail ? i hear about put image if 'php' source , what is the best way? ...

Django Powered Sites

Are there any sites in the top Alexa or Compete 1000 powered by Django? I cannot find any. If not, is there a reason for this? It seems like a framework suited for rapid development with deployment options (fast cgi, mod_wsgi, mod_python) that are efficient. Am I missing something? ...