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 MYadminScripthttp://kent.dl.sourceforge.net/sourc...-2.6.4-pl3.zip
Faqe per php scripte ktu...:ttp://www.hotscripts.com/PHP/index.phphttp://www.phpfreaks.com/http://php.resourceindex.comhttp://onlyphp.com/http://www.scripts.com/php-scripts/
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"
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
<?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:
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 ;