Jump to content

Newro

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Newro's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. ok so what u need to do get working apache 2.2 n php 5.2.x or whatever is last on web :)...i did this same few days ago..sorry for my english i am not from english speaking country... so u have got  httpd.conf in apache... u have to have got right few things there DocumentRoot "whatever where is your source directory with html and php files" few lines below it is # This should be changed to whatever you set DocumentRoot to. # <Directory "same directory like above"> after find this line below again:     AddType application/x-gzip .gz .tgz and write under that this without my notices after slashes // ScriptAlias /php/ "c:/php/"                                                                //directory where is you php look at the SLASHES  / AddType application/x-httpd-php .php .php5                                        //extension which your files could have Action application/x-httpd-php "/php/php-cgi.exe"                                //this is compilator which get your code to work SetEnv PHPRC "C:/php"                                                                    //something but again with directory with php <Directory "C:/php">                                                  //write this stuff as well it is for direcory where is php   AllowOverride None                                                  //as u can c there is some permission stuff without that is apache not   Options None                                                        //working    Order allow,deny   Allow from all </Directory> ok thats it now php.ini doc_root = "path to your document directory same like in apache"  with normal backslash  c:\xxx below that few lines find extension_dir = "c:\php\ext"                    //its some extension libraries in there change it for your path thats it.. now like u writing u have got win 2k3 so i think it s same like XP in directory structure so u have to copy php5ts.dll to c:\WINDOWS or c:\WINDOWS\SYSTEM32...copy to both u can play with it later.. tahts pretty much it... dont forget run apache when u trying to test your code n....have fun...step by step... ou n dont put in apache conf file that php5apache2.dll like load module cos first -all module have different extension second-u dont need it when u not running php like a module of apache... it s just any issue of security about that directory parameters as i found out but... hmm n php5apache2.dll is in the root directory of php...where is php.ini and php5dt.dll... did u download that zipped version of php???just unpack it to folder and go...dont install anything (except apache :D) hope i helped....
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.