One solution on how to configure CodeIgniter - php

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

Related

change curl extension in php(xampp)?

I have recently build curl with http2 support using visual studio. I have tested the curl.exe on command prompt. It is working as expected.
My requirement is that i have to use this built curl in my website running in xampp.
I know that the php in xampp already has its curl extension. It is in the file php.ini on line 878.
extension=php_curl.dll
It is in .dll
How can i change this so that it points to my built curl.
If it is not possible in xampp, you can suggest some other away. But my requirement is that i have to use this built curl in my php project.
Thanks.
Copy your version of the DLL's into the \xammp\php\ext folder. That is where PHP gets them from, and thats all you need to do apart from restart Apache.
Better make a backup of the originals in case yours dont work

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

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

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.

Wordpress Doubts

Hai
I want to build a wordpress in my localhost, Is it possible to test this in My local system which is Windows 2000
Thanks in advance ,
Of course it is, just install Apache, PHP and MySQL on your computer and follow up Wordpress installation procedure.
You download XAMPP, and put wordpress in htdocs and install it.
Or you can use WAMP as well.
If you are new to PHP and wordpress then you can start with EasyPHP. You can also host wordpress using IIS and MySQL.
go download wordpress there and take a look at the readme.html into the package file.
I think if you are on windows you should install wamp, on linux lamp.

Categories