Solved

How to set up PHP environment for Linux?

Posted on 2011-09-27
1
331 Views
Last Modified: 2012-06-21
Experts,

   I have a form that is comprised of lighttpd and php5 packaged with web server into an rpm. I have the task of editing this form to "make it look better" - add tabs to form. I have the location of the files. Where do I go from here? I am familiar with MS and IIS and setting up an environment to test out form updates, but unfamiliar in Linux (centos5)

Thanks Missymadi
0
Comment
Question by:missymadi
1 Comment
 
LVL 17

Accepted Solution

by:
psimation earned 500 total points
Comment Utility
Centos5 *should* already come with PHP, MySQL and Apache pre-installed. I would suggest to leave the pre-installed versions unchanged.

The RPM package is a bit like a zip archive mixed with an .exe installer, which you can usually install fro the command line on Linux using commands such as rpm -ivh xxx.rpm.

If you don't have PHP, MySQL and Apache installed on the server already, you can try to install the RPM as per my above example, but if they are there already, I suggest trying to just extract the form from the rpm. On Windows PC, you should be able to open the rpm in Winrar and there you should be able to access the files packed inside. You can then extract only your PHP files and copy them to your centos server's web folder.

It may however be quite a task, depending on how the rpm is packaged, and more importantly, if the php app is packed with pre-configured PHP, mysql and apache with usernames/passwords etc.

If that is the case, it may be easier to just try and install the rpm and hope that it will overwrite the already installed versions on centos.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Jquery Autocomplete PHP script 3 20
Creating a slider 12 32
session dropped in IE 10 18
issue with beginner powershell script. 5 29
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now