Forum.: | PortaL |:.GalleryPytësoriKërkoLista AnëtarëveGrupet e AnëtarëveRegjistrohuidentifikimi

Share | 
 

 Instalimi i PHP

Shiko temën e mëparshme Shiko temën pasuese Shko poshtë 
AutoriMesazh
Mr.VisarS
AdministratoR/DesigneR
AdministratoR/DesigneR


Numri i postimeve : 526
Age : 23
Vendi : kosovë
Registration date : 26/09/2008

MesazhTitulli: Instalimi i PHP   Mon Sep 29, 2008 8:30 pm

Instalimi i PHP

 vazhdojme keshtu:
Ne fillim download PHP ketu,,,
http://ro.php.net/distributions/php-4.4.0-Win32.zip

Pastaj merrni tut..

http://ro.php.net/distributions/manu...manual_chm.zip

Merrni PHP MYadminScript

http://kent.dl.sourceforge.net/sourc...-2.6.4-pl3.zip

Faqe per php scripte ktu...:
ttp://www.hotscripts.com/PHP/index.php
http://www.phpfreaks.com/
http://php.resourceindex.com
http://onlyphp.com/
http://www.scripts.com/php-scripts/

Instalimi

Go in C:\Program Files\Apache Group\php, copy the php.ini-recommended file and rename it in php.ini, open it in notepad and execute the following modifications:

1) Search doc_root = and change with doc_root = "C:\Program Files\Apache Group\Apache2\htdocs"
2) Search extension_dir = and replace with [b]extension_dir = "C:\Program Files\Apache Group\php\extensions"
3) Search display_errors = Off and replace with display_errors = On
4) Search ;session.save_path = /tmp and replace with session.save_path = "C:\Program Files\Apache Group\php\sessions"

When u are ready with this modification in php.ini file , open config file for Apache , situated in "C:\Program Files\Apache Group\Apache2\conf\ under nme httpd.conf and execute the following modifications:

1) Add at finish file, the next 3 lines:

ScriptAlias /php/ "C:/Program Files/Apache Group/apache2/php/"
AddType application/x-httd-php .php
Action application/x-httpd-php "/php/php.exe"

2)

Search DirectoryIndex index.html line and replace with DirectoryIndex index.html index.php

save and Restart apache.

Go in C:\Program Files\Apache Group\Apache2\htdocs and create one file with name test.php in which type the following code , save and run it in browser: http://localhost/test.php

Code:
<?phpecho 'My First PHP Script - Powered by CarcaBot';?>

If the results is viewed in browser then Apache Server +PHP was successful installation and running.

For can view the php configuration, create one file with name phpinfo.php , and type the following code:

<?php

phpinfo();

?>

Save and Run it in browser: http://localhost/phpinfo.php


In the next, activate extensions which what u want to use , delete ; from the front of extension and verifing if the extension on activated is in C:\Program Files\Apache Group\php\extensions directory.

;extension=php_gd2.dll so delete ;
extension=php_gd2.dll
Mbrapsht në krye Shko poshtë
Shiko profilin e anëtarit http://www.loqka-chat.tk
 
Instalimi i PHP
Shiko temën e mëparshme Shiko temën pasuese Mbrapsht në krye 
Faqja 1 e 1

Drejtat e ktij Forumit:Ju nuk mund ti përgjigjeni temave të këtij forumi
 :: PC & Console :: Tutorials/Mesime-
Kërce tek: