Wow Web Designs Forums Home

Search
   
Members

Calendar

Help

Home
Search by username
Not logged in - Login | Register 
Wow Web Designs Forums > Scripting > PHP > How To Install and Configure PHP5 and Apache HTTP Server 2.0.50.


How To Install and Configure PHP5 and Apache HTTP Server 2.0.50.
 Moderated by: Aycan  

New Topic

Reply

Print
AuthorPost
Shamie
Member
 

Joined: Mon Aug 27th, 2007
Location:  
Posts: 1
Status:  Offline
Mana: 
 Posted: Tue Aug 28th, 2007 03:21 am

Quote

Reply
    Hi Iam new to web development using PHP5 and apache2.0. I installed apache2.0 and I type in my web browser http://localhost/ the message "it works" comes out. So I think its ok.

I included the line in httpd.conf

#LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php "C:/php/php-cgi.exe"
#PHPIniDir "C:/Windows"


When I remove the  # comment  in these lines the apache 2.0 doesnt work. So I decided to include the # comment instead. My question is this the right procedure in coding these lines? And also where do I put the line PHPIniDir "C:/Windows" in httpd.conf? because I think this is the reason why I cant read a script in PHP.

Also in PHP5.0 even if the apache2.0 is working fine the testpage script <? phpinfo(); ?> isnt. I am using firefox web browser and its telling me "HTTP error 403 forbidden You don't have permission to access /"test.php" on this server.". What does it mean? I already downloaded a file http://www.apachelounge.com/download/ to replace php5apache2.dll for a suspected bug report but still doesnt work. I need help, can someone please advice me on this, I would realy appreciate it. :(


 Current time is 07:59 pm




Powered by WowBB 1.7 - Copyright © 2003-2006 Aycan Gulez
Page processed in 0.1203 seconds (11% database + 89% PHP). 16 queries executed.