Installing/Configuring PHP to work with tomcat5 and mysql on CentOS - php

I need to install php on a CentOS machine and configure it to work with tomcat5 and mysql
Anyone know how i can do this?
the home folder for tomcat and mysql is
/usr/share/tomcat5
/usr/share/mysql
for php, I downloaded from
http://php.net/downloads.php,
PHP 5.3.10 (tar.gz)
i extracted the files php source to
/usr/local/src/php-5.3.10
Now I'm unsure on how to proceed with the installation of php to work with tomcat5 and mysql..
Need help.
Thanks in advance

Related

One solution on how to configure CodeIgniter

I need to configure CodeIgniter, so I am following this guide:
http://www.techrepublic.com/blog/smb-technologist/how-to-install-and-use-codeigniter-on-your-server/
I don't understand where I unzip the CodeIgniter folder to. I have installed Apache, PHP, and MySQL with XAPP. Can anyone help me?
If you installed XAMPP in local on C:, you have to unzip it there:
C:/xampp/htdocs/ci
And then in you can use it that way in your browser this way:
localhost/ci
or
127.0.0.1/ci

PHP DB2 DLL for PHP 5.3.8

Where can i get the php 5.3.8 dll extension to enable connection to a DB2 database. I tried searching the net and was unable to find any download links. :(
regards,
V
You can find many of this info here
http://sourceforge.net/projects/db2mc/files/
I tried download dlls from various sources but at the end XAMPP was the solution. If you install this application server download from XAMPP home page.
This contains the a php and within a php.ini and the right dlls - so it worked for me.
If you are trying to connect to zOS or iSeries systems then you might face licensing issues too..

Can i have PHP folder only from XAMPP 1.7.4?

I am currently using:
- Windows XP
- XAMPP 1.6.8 with (PHP 5.2.6)
I just want to upgrade PHP from XAMPP.
So i just want to download "php" folder only and i don't want the whole bundle.
It is huge to download (My connection speed is so slow).
Where can i get like that?
(or) Can anyone please upload the zipped?
Note: I've tested with the native PHP (extracted from php-5.3.5-Win32-VC6-x86.zip) from http://windows.php.net/downloads/releases/archives
But didn't work out!
That's why i wanna test with the PHP inside XAMPP.
I have WAMP on XP, when i tried to install the new PHP only it installed perfectly but the WAMP did not started :(
So i'll advice you to go for the full bundle !
You can take the whole bundle through your Friend also, if ur net sped is slow hmmmmm

Getting familiar with XAMPP

Iam not able to get familiar with XAMPP interface on Windows7 (Only prior experiencxe is with HTML,C,C++).
How to proceed to begin development work in PHP and MySQL and test developed contents using Apache Server.
Please help to understand its working flow.
Thanks in Advance.
First, find a good PHP book or tutorial to learn PHP. There are plenty out there, just Google or visit the PHP homepage.
As you follow the book or tutorial, save your .php files in the XAMPP htdocs folder. This will let you view your results using the XAMPP web server. For example, if you write a PHP script called test.php and save it in the htdocs folder, you can access it on your local XAMPP server via http://localhost/test.php.
XAMPP includes phpMyAdmin, which lets you manage the included MySQL database. You can learn more about phpMyAdmin here.
Be sure to read the XAMPP documentation so that you know how to start up Apache and MySQL and access phpMyAdmin.
XAMPP is only a service that provides a webserver, server side language (PHP), database and interface to connect to said interface. Once it is installed you are good to go, all you need to do is turn on Apache, then MySQL. All the rest of the installation requirements should be done automatically upon installation.
Maybe it is better to explain your particular issue...
I was beginning from Denwer. It was very easy to begin with him. He includes php, mysql, apache.
http://www.denwer.ru
You have to run the Apache server for php and the MySQL server for MySQL :D. You can run it by starting the XAMPP Control and than run them. Now you can go to the localhost http://localhost/
There are some instructions.
I hope it is useful.
Marcel
Do you really need XAMPP? Sumit, I also have Win7/x64 on one machine, where I installed
Apache 2.2.16 for 32bit Windows
PHP 5.3.2 (x32 Windows VC6 install binary)
Perl 5.12.1 32bit x86 from Activestate
MySQL 5.1 32bit x86 Windows installer)
I installed all-32-bit stuff (even if on 64bit Windows) because that guarantees you a much simpler life. You can handle or maintain every component individually, for including PHP or Perl into Apache, you just change a line or two in the Apache config file. There's no magic at all with all these programs. Install them by yourself and learn a lot in the process.

PHP: Where I would save the php file that can I run it in browser

I am php learner, I don't have any idea about where I would save the php file to run on the localhost in browser. If you have any idea please suggest me.
Thanking you
Shailendra singh
You need a web server. See What do I need?
Additionally, you can try XAMPP:
XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start.

Categories