Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: HI I NEED HELP ON CONFIGURATION OF PHP5 + APACHE2.0.6...please  (Read 3148 times)

0 Members and 1 Guest are viewing this topic.

binic

  • Guest
i intall apache in"c:/program files/apache group on my pc and also extract php in "c:/php/" folder i need to make my apache to know php so i open http.conf file and on load module i write a code like
 then when i restart my apache it says systax error on line173 can' load the file"c:/php/php5apache2_2.dll " on to the server.

 so can anybody help me? how to configure it
 thanks

kpac

  • Web moderator
  • Moderator


  • Hacker

  • kpac®
  • Thanked: 184
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 7
Re: HI I NEED HELP ON CONFIGURATION OF PHP5 + APACHE2.0.6...please
« Reply #1 on: August 27, 2008, 03:26:34 AM »
Welcome to CH. ;D

You might find some information on setting it up here: http://www.ricocheting.com/server/

You should buy a book on it though, to get the most out of it. ;)

malibugrunge

  • Guest
Re: HI I NEED HELP ON CONFIGURATION OF PHP5 + APACHE2.0.6...please
« Reply #2 on: December 16, 2008, 01:09:13 PM »
1. 'su'  to  root directory.

2. 'cd'  to  /usr/ports/lang/php

3.  enter 'make config-recursive'.

4.  on the config. screen make sure the box for apache is checked and the box for pv6 is unchecked. Return to command line.

5.  'enter'      make  install  clean

6.  when install is finished 'enter'   /usr/local/etc/rc.d/apache2 start

7.  'vi'      /usr/local/etc/rc.d/apache2
     then  AddType  (copy & paste) [the output that was scripted after the      make install clean.]

8.  Then  'esc'    :wq

9.  'cd'  /DirectoryIndex       and  'touch'  index.php

10.  enter  /usr/local/etc/rc.d/apache2 restart

11.  When finished you can check this by 'vi' /var/log/httpd-error.log