lamp

Joomla site on LAMP server behind proxy cannot access HTTP resource stream

Setup: 1. Joomla 1.5 website on a LAMP server (CentOS 5.2/Apache 2.2/PHP 5.2.9/mysql 5) 2. Joomla module for currency conversion added. Module uses google finance to convert currency 3. LAMP stack resides in the intranet behind a proxy. The server environment variables for http_proxy, yum.conf proxy have been setup, and kernel successful...

"callback" from PayPal to confirm payment?

I have a very simple online ordering app in Perl. The user fills in a form, and when they submit, my app inserts the info into a mySql database, then redirects them to PayPal to complete the payment. The problem is that the database does not have any information about whether they actually completed the payment. I end up having to man...

How to get a rough estimate of LAMP application capacity?

I have a LAMP application running fine, however the number of users are increasing each day. I don't want to be hit with a surprise one morning and find that everything broke because of overload. Is there a way to get a rough estimate of what capacity of the LAMP it is at? I know that a full detailed report is many books worth of study...

What is a good learning path for a LAMP developer migrating to Visual Studio?

I just learned that we have some upcoming .Net projects that are going to be developed using C# in Visual Studio. I have not coded Java since 2001 when I started working in PHP in your typical LAMP stack. What resources can you recommend for a LAMP guy to get productive using .Net and Visual Studio? Books, tutorials, links, etc. all we...

Running multiple sites on a LAMP with secure isolation

Hi everybody, I have been administering a few LAMP servers with 2-5 sites on each of them. These are basically owned by the same user/client so there are no security issues except from attacks through vulnerable deamons or scripts. I am builing my own server and would like to start hosting multiple sites. My first concern is... ISOLATION...

Is it possible to make localhost work through a Virtual Machine?

I am using a Macbook running 10.6. I am using VMware Fusion to run an Ubuntu Server minimal virtual machine. Ubuntu Server is running your basic LAMP stack. I do my development in Mac OS. I have VMware share a directory from Mac OS to the Ubuntu Server. Ubuntu Server uses that directory for apache. I access my server is Mac OS in...

Can't connect to mysql using Bitnami lamp stack through php

Ok, this will be a long question. I'm trying to get something up and running on my university account. We have a public_html folder that we can use as web space to host anything we want there. I've installed Bitnami lamp stack in the public_html folder (probably not the best idea, security-wise, but I'm only going to test this applica...

Microsoft .NET vs. LAMP for startups

for startups with limited capital, creating web based business application, which platform is the best bet, is it MS.NET (browser+IIS+Database+vb.net/c#) or LAMP stack? Any views with respect to RAD, real cost of software (not just the licenses), architecture, SOA, OOP, framework, scalability, extensibility would be helpful on .NET vs ...

Adding Crystal Reports support into LAMP product

We have a newly documented feature request, from sales and support, to integrate Crystal Reports into our LAMP product. (It's more like LAPP, really, with Postgres and PHP.) I have to admit, although I've heard about it from time to time, I've never even seen Crystal Reports in the wild. But the buzz is that it will help sales tremend...

Mod Rewrite path issues

I have successfully created rewrite rules to handle URLs like http://example.com/xyz http://example.com/xyz/ http://example.com/xyz/abc http://example.com/xyz/abc/ Here is the mod rewrite & regex: Options +FollowSymlinks RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d Rewrite...

Hide Page Extensions (Like StackOverflow)

Let me start off by saying that I've got very little experience with web-development. My question is simple, (taking SO as an example), how does the following work? http://stackoverflow.com/tags/foo http://stackoverflow.com/tags/bar I've seen a lot of sites that do this, but I still don't know how this is accomplished (I'll be workin...

Mod Rewrite ignoring -d

After a day or two, I am still fighting with Mod Rewrite. It seems that 60% of my development time is spent battling the server. My current URL structure is such that all http://example.com/xyz and http://example.com/xyz/abc should be handled by index.php. The problem is I have a http://example.com/admin/ section, which is a real direct...

Software life-cycle models for web development

I majored in a great software engineering program, and was taught the importance of process and the steps of a life-cycle model. I'm familiar with the classic "waterfall" model. Though we explored others, the waterfall does a good job of listing the possible tasks no matter how crafty or tricky your new-age model is. So it's a good st...

Should I pursue Java or PHP for a career path in programming?

I've spent the last eight months working in the LAMP stack. Since I just graduated college with a degree in Computer Science, I'm still very new to programming. I've looked at the trends, and for non-Microsoft development stacks, Java and PHP top the list. Given that most of the Java positions in my area (Toronto, Canada) are for S...

getting safe mode on although i turned it off

did a phpinfo to check which php.ini is being loaded. then i put safe mode off saved and restarted apache. i also put php.ini in the directory and used htaccess safemode off. htaccess safe mode off throws me a 500. in any case i am not able to disable safemode?! ...

Memory Appropriation on a LAMP Server

How does one determine how much memory to appropriate to running services? I have a small LAMP server, with Xcache for PHP and Memcache for MySQL. How would I go about estimating the optimal amount of ram to dedicate to each of the services? ...

Automated Integration and Staging environments for LAMP-based application

What would be a good tool-for-the-job to do automated deployments of LAMP-based applications(MySQL, PHP, Zend Framework) to integration and staging environments? I am looking specifically for tools that handle deployes to remote hosts. I assume building tools such as phing and ant I assume could be used for that, but I was wondering if t...

Is it possible to use an Amazon EC2 instance as an email server?

I want to be able to run an EC2 instance (CentOS LAMP based) as a mail server and create email addresses for users when they sign up so that they can upload files via email. The emails would be parsed and attached files processed and added to S3 for storage. Is this feasible? What mail package would I need for this? I would like to ...

(Lightweight) backup strategies for a LAMP application stack?

I'm researching some lightweight tools to backup a LAMP stack. The two most imporatant pieces are the php codebase and the mysql database. I can tar/bz2 the code and a mysqldump and restore it on a new server (if the old one crashes) and this is more or less fine. Anyway, are there more complete solutions to this? e.g. track and...

Apache comes back with nothing

Hello - I'm running Apache 2.046 with PHP 5.x and I am experiencing very odd behavior on a CodeIgniter app. The frustrating thing is that it is not consistent. Occasionally when I call up my app Apache returns nothing. I mean nada. But then I hit refresh and everything works as expected. Sometimes I have to hit "refreash" several ...