Instalimi i PHP
Ne fillim download PHP ketu,,,
Pastaj merrni tut..
Merrni PHP MYadminScript
Faqe per php scripte ktu...:
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 ; 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 ;