lamp

Safest LAMP encrypt method

Hello, what is PHP's safest encrypt/decrypt method, in use with MySQL - to store let's say passwords? Of course, not for portal purposes - hashing is the safest option there. I want to do little password (domain/mysql/ftp...) storage for our whole team online, so we could log in and check to passwords, but I don't want really to endan...

Need to kill a session?

Really quick here... I think I have the answer, but just looking for some validation. I have a site with two "points of entry." One is for a standard user and one is for an admin account. In the real world, an admin could have a standard user account and try to login as an admin while already being under the standard user session. I ...

Debug the PHP interpreter with GDB.

I would like to use GDB to step though the C++ code that makes up the php.so Apache extension. I want to see what PHP is doing while it's running a PHP application. Preferably I would use an IDE like Netbeans or Eclipse on a LAMP system. ...

Ideal Multi-Developer Lamp Stack?

I would like to build an 'ideal' lamp development stack. Dual Server (Virtualised, ESX) Apache / PHP on one, Databases (MySQL, PgSQL, etc) on the other. User (Developer) Manageable mini environments, or instance. Each developer instance shares the top level config (available modules and default config etc) A developer should have c...

Content cacheing with PHP and CodeIgniter

I have a couple of things I'm working on, namely a page that issues five or six cURL requests and processing content on them. I'm working with CodeIgniter on a LAMP stack but am open to other options. Naturally I would prefer to not rewrite the application. I would like to know if there are any ready-made / easily learned caching metho...

Is there a way to figure out which web page is associated with which query?

I'm running a LAMP stack. When I go into phpmyadmin, I can see that there are quite a number of sleeping connections which probably should be closed. Is there a way, using either Apache or MySQL, to determine on which pages those connections are created? ...

MySQL performance

Hi, I have this LAMP application with about 900k rows in MySQL and I am having some performance issues. Background - Apart from the LAMP stack , there's also a Java process (multi-threaded) that runs in its own JVM. So together with LAMP & java, they form the complete solution. The java process is responsible for inserts/updates and fe...

How to include CKeditor which is outside of your document root

Hi, Is it possible to use CKeditor which resides outside of your document root inside document root application? For e.g. I am having directory structure like: My Documentroot C://xampp/htdocs/example.com My CKeditor is outside and parallel to document root say C://xampp/lib/ckeditor How can I call ckeditor.js whi...

Does the combo of PHP5, MySQL, and a Macbook Pro constitute a LAMP stack? If not, what does?

Hello - I mostly code in Visual Studio, I like it, but lately it's making me feel a little claustrophobic. On my MacBook Pro, I've set up PHP5 and MySQL (natively). With the built-in server on the mac, does this constitute a LAMP stack? Is Mac OSX considered a Linux Environment? I have VMWare Fusion 3, should I set up a Linux OS virtua...

Mysql count how many queries per second are executed, is there any way ?

Hello, i have a busy web server with LAMP installed, and i was wondering, is there any way to count how many queries per second (mysql) are executed in the server ? Thank you. ...

How practical is it to host Apache and mySQL/PostreSQL on the same Linux box?

I'd like to set up a LAMP (or LAPP) web server for hosting Internet sites. Assuming no more than moderate traffic, are there practical concerns against setting it all up on the same machine (or, in this case, VPS?) ...

How to enable core PHP extension in Linux?

I'm trying to understand the process for enabling an a core extension (dom) in php. When I run phpinfo, I see '--disable-dom' in the configure command. Am I supposed to re-install PHP? ...

Where to add the PHP script and MYSQL Dump code in the LAMP server?

Hi, I dont know if this is the right place to ask this question. But as time is limited and here I have always got the right answers I am asking it away. I want to setup a login page on a local server so as to communicate with it via android. As time permits, I googled and found out the necessary php script and mySQL code needed for t...

Lamp with mod_fastcgi

Hi! I am building a cgi application, and now I would like it to be like an application that stands and parses each connection, with this, I can have all session variables saved in memory instead of saving them to file(or anyother place) and loading them again on a new connection I am using lamp within a linux vmware but I can't seem to...

Lamp panel::Ubuntu

Hi I just install ubuntu 10.04. I use to use wamp server on windows that have manager panel. Is lamp have such panel, or I have to time manually? Thanks, Yosef ...

lamp::phpmyadmin:where should be phpmyadmin accesse (URL) and how its can be defined?

lamp::phpmyadmin:where should be phpmyadmin accesse (URL) and how its can be defined? I made command: sudo apt-get install libapache2-mod-auth-mysql phpmyadmin but I dont know how can i access phpmyadmin Thanks, Yosef ...

ubuntu on virtual machine vs ubuntu install, what the difference?

Hi, I have windows xp in my work and i programming on zend framework. I need to install ubuntu for execute doctrine orm commands from linux console, I faile to do it on windows. I thinking about 2 option of UBUNTU installation: 1.install ubuntu 10.04 on Virtual Box (Sun Virtual Machine). 2.create new primary partition and install ubuntu...

Is it possible to run asp on linux with Apache?

The production environment is now LAMP, I don't know whether it's possible to serve asp requests on it. ...

LAMP Stack with APC installed - WordPress Site - Is WP opcode being cached with APC?

I have a LAMP stack with APC installed. I have a WordPress site on this server. Is WP taking advantage of the opcode caching? I have done no WP configurations. My understanding is that simply having APC installed means that all PHP code is being cached. If that is untrue, please point me to the direction where I can configure WP to take ...

PDOException “could not find driver”

I have just installed Debian Lenny with Apache, MySQL, and PHP and I am receiving a PDOException could not find driver. This is the specific line of code it is referring to: $dbh = new PDO('mysql:host=' . DB_HOST . ';dbname=' . DB_NAME, DB_USER, DB_PASS) DB_HOST, DB_NAME, DB_USER, and DB_PASS are constants that I have defined. It work...