PHP setup / পিএইচপি setup~~Hedaet Forum~~


Email: Password: Forgot Password?   Sign up
Are you Ads here? conduct: +8801913 364186

Forum Home >>> Php, MySql >>> PHP setup / পিএইচপি setup

Tamanna
Modarator Team
Total Post: 7639

From:
Registered: 2011-12-11
 

PHP setup
Apache, PHP and MySQL Installation
Download and install XAMPP. To download the lokesana Do not Change .. For example: c: \ xampp \
SERVICE SECTION time to install the following three uncheck the checkbox pay.
After installation, you can see deksatapei XAMPP's icon, double-click on it, will open the Run Apache and My SQL server. . XAMPP is a software, multi-software, where one, Apache, PHP and MySQL are available. Are downloaded and installed, it is configured, it is one.
WAMP Server Setup: Open Firefox. Turn WAMP Server, Web Server's taskbar icon will appear. Please enter the address bar by typing http://localhost/. From the Web page will open in your local webserver. The WAMP Server icon in the task bar and click on Go to www directory, eitai the root folder on your local PC, right here all the files, text documents are kept. Root folder, and a folder (my_site) is created, in the Create a new text document.

HP on any program that's similar to the index.php script (. Php) Dot P HP is save by extension. P. HP on the browser of the script prior to exposure C: \ xampp \ htdocs locations It should be kept in the htdocs folder. If P HP index.php script or file via the browser to display the index.php file in the htdocs folder. File browser for screening the browser's address bar to write http:/localhost/index.php. But a new folder in the htdocs folder, create a folder named as the site of the index.php file, which is kept in the browser's address bar to write http:/localhost/site/index.php.

Installation of the C: drive to open. Here in Apache
A folder is created. This is the root folder of your Apache. I have a folder htdocs A, which is your web server's document root directory, which can be accessed in the address bar http:/ localhost.
c: \ apache \ htdocs folder of your web server's document. From now on, we document root folder
Said.
c: \ apache \ conf folder of the Web server configuration to all. The httpd. A folder named conf
In order to enter the configuration is changed.
c: \ apache \ mysql directory of your MySQL.
c: \ apache \ mysql \ data folder of the MySQL data.
c: \ apache \ php folder of your PHP.
C: \ apache \ php \ php.ini file and PHP all the settings you have entered.
C: \ xampp \ htdocs
http:/ localhost / index.php
=================
পিএইচপি setup
অ্যাপাচি, পিএইচপি এবং মাইএসকিউএল ইন্সটলেশন
XAMPP ডাউনলোড করে ইন্সটল করুন। ডাউনলোড করার সময় এর লোকেসন চেঞ্জ করবেন না।। যেমন: c:\xampp\
ইন্সটলের সময় SERVICE SECTION এর নিচের তিনটি চেকবক্সে টিক চিহ্ন দিয়ে দিতে হবে।
ইন্সটল করার পর, ডেক্সটপেই XAMPP এর আইকন টা দেখতে পারবেন, সেখানে ডাবল ক্লিক করে, ওপেন করে Apache ও My SQL সার্ভার Run হবে। । XAMPP সফট ওয়ার হলো, মাল্টি সফট ওয়ার; যেখানে এক সাথে, অ্যাপাচি, পিএইচপি এবং মাইএসকিউএল পাওয়া যায়। আলাদা ডাউনলোড ও ইন্সটল করে, কনফিগার করার চেয়ে, এক সাথে এটি পাওয়া যায়।
WAMP Server Setup: ফায়ারফক্স খুলুন। WAMP Server চালু করুন, টাস্কবারে ওয়েব সার্ভার এর আইকন দেখাবে। এড্রেস বারে http://localhost/ লিখে এন্টার দিন। আপনার লোকাল ওয়েবসার্ভার থেকে ওয়েবপেজ ওপেন হবে। এবার টাস্কবারে WAMP Server এর আইকন এর উপর ক্লিক করে www directory তে যান, এইটাই হল আপনার লোকাল পিসির রুট ফোল্ডার, এইখানেই সমস্ত ফাইল, টেক্সট ডকুমেন্ট রাখতে হয়। রুট ফোল্ডারে, নিজের একটা ফোল্ডার (my_site) তৈরী করে, এর ভিতর নতুন একটি টেক্সট ডকুমেন্ট তৈরী করুন।

এইচ পি তে লেখা যেকোন প্রোগ্রাম তথা স্ক্রিপ্ট index.php এর অনুরূপ (.php) ডট পি এইচ পি এক্সটেনশন দ্বারা save করা হয়।পি এইচ পি তে লেখা স্ক্রিপ্ট সমূহ ব্রাউজারে প্রদর্শণের পূর্বে C:\xampp\htdocs লোকেশনে অর্থাৎ htdocs ফোল্ডারের মধ্যে রাখতে হবে। যদি পি এইচ পি স্ক্রিপ্ট বা ফাইলটি index.php হয় তাহলে ব্রাউজারের মাধ্যমে প্রদর্শন করার জন্য index.php ফাইলটিকে htdocs ফোল্ডারের মধ্যে রাখতে হবে। ব্রাউজারে ফাইলটি প্রদর্শণের জন্য ব্রাউজারের এড্রেস বারে লেখতে হবে http://localhost/index.php । আবার যদি htdocs ফোল্ডারের মধ্যে কোন নতুন ফোল্ডার যেমন site নামে একটা ফোল্ডার তৈরি করে তার মধ্যে index.php ফাইলটিকে রাখা হয় তাহলে ব্রাউজারের এড্রেস বারে লেখতে হবে http://localhost/site/index.php ।

ইন্সটলেশন শেষ হলে C: ড্রাইভ ওপেন করুন। এখানে Apache নামে
একটি ফোল্ডার তৈরী হয়েছে। এটাই মূলত আপনার অ্যাপাচির রুট ফোল্ডার। এতে htdocs একটি একটি ফোল্ডার আছে, যা হল আপনার ওয়েব সার্ভারের ডকুমেন্ট রুট ডিরেক্টরী, যা এড্রেস বারে http:/ localhost নামে অ্যাকসেস করা যাবে।
c:\\ apache\htdocs হল আপনার ওয়েব সার্ভারের ডকুমেন্ট ফোল্ডার। এখন থেকে আমরা একে ডকুমেন্ট রুট ফোল্ডার
বলে।
c:\ apache\conf হল ওয়েব সার্ভারের যাবতীয় কনফিগারেশন ফোল্ডার। এতে httpd. conf নামে একটি ফোল্ডার
থাকে যাতে অ্যাপাচির কনফিগারেশন লিপিবদ্ধ থাকে।
c:\ apache\mysql হল আপনার মাইএসকিউএল ফোল্ডার।
c:\ apache\mysql\data হল মাইএসকিউএল এর ডাটা ফোল্ডার।
c:\ apache\php হল আপনার পিএইচপি ফোল্ডার।
C:\ apache\php\php.ini ফাইলে আপনার পিএইচপির যাবতীয় সেটিংস লিপিবদ্ধ থাকে।
C:\ xampp\htdocs
http:/ localhost/index.php