T1naa-Hack
Would you like to react to this message? Create an account in a few clicks or log in to continue.
T1naa-Hack

Mir Se Vini
 
ForumForum  PortalPortal  Latest imagesLatest images  KėrkoKėrko  RegjistrohuRegjistrohu  identifikimiidentifikimi  

 

 Instalimi i PHP

Shko poshtė 
AutoriMesazh
T1naa-hack
Admin



Numri i postimeve : 68
Age : 30
Registration date : 03/04/2008

Instalimi i PHP Empty
MesazhTitulli: Instalimi i PHP   Instalimi i PHP Icon_minitimeWed Apr 09 2008, 15:31

Per ta instaluar 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 [color:af1c="red]; 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[u]
Mbrapsht nė krye Shko poshtė
http://t1naa-hack.net
 
Instalimi i PHP
Mbrapsht nė krye 
Faqja 1 e 1

Drejtat e ktij Forumit:Ju nuk mund ti pėrgjigjeni temave tė kėtij forumi
T1naa-Hack :: Your first category :: Your first forum :: ......::|| Hacking & Security ||::......-
Kėrce tek: