Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can !
Moderator: General Moderators
tecktalkcm0391
DevNet Resident
Posts: 1030 Joined: Fri May 26, 2006 9:25 am
Location: Florida
Post
by tecktalkcm0391 » Tue Jul 18, 2006 2:38 am
My Current httpd.conf file is:
Last edited by
tecktalkcm0391 on Tue Jul 18, 2006 9:19 pm, edited 1 time in total.
Benjamin
Site Administrator
Posts: 6935 Joined: Sun May 19, 2002 10:24 pm
Post
by Benjamin » Tue Jul 18, 2006 2:39 am
Can you post your apache config file please.
EDIT LOL Looks like you just did..
Benjamin
Site Administrator
Posts: 6935 Joined: Sun May 19, 2002 10:24 pm
Post
by Benjamin » Tue Jul 18, 2006 2:42 am
Ok, is index.php in C:/SERVER/htdocs? That is where it should be.
tecktalkcm0391
DevNet Resident
Posts: 1030 Joined: Fri May 26, 2006 9:25 am
Location: Florida
Post
by tecktalkcm0391 » Tue Jul 18, 2006 2:46 am
Error log:
To be removed in a few days....
Last edited by
tecktalkcm0391 on Tue Jul 18, 2006 9:19 pm, edited 1 time in total.
Benjamin
Site Administrator
Posts: 6935 Joined: Sun May 19, 2002 10:24 pm
Post
by Benjamin » Tue Jul 18, 2006 2:54 am
Backup your config and try this...
Code: Select all
<Directory />
Order Deny,Allow
Deny from all
</Directory>
<Directory "C:/SERVER/htdocs">
Order Deny,Allow
Allow from all
</Directory>
tecktalkcm0391
DevNet Resident
Posts: 1030 Joined: Fri May 26, 2006 9:25 am
Location: Florida
Post
by tecktalkcm0391 » Tue Jul 18, 2006 9:21 am
Thanks, I didn't try that, but that lead me to get this:
Code: Select all
<Directory "C:/SERVER/php">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Which I needed to give it the permitions to the php folder.
tecktalkcm0391
DevNet Resident
Posts: 1030 Joined: Fri May 26, 2006 9:25 am
Location: Florida
Post
by tecktalkcm0391 » Tue Jul 18, 2006 10:56 am
Yeah, now for my next question. What are all of the extensions you have to add to PHP to be able to use every function in PHP5? Also how do I set them up.... see I have no clue.
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Tue Jul 18, 2006 1:38 pm
You only have to enable extensions if you want to use features of those extensions. Whichever ones you want the features of, enable those.
tecktalkcm0391
DevNet Resident
Posts: 1030 Joined: Fri May 26, 2006 9:25 am
Location: Florida
Post
by tecktalkcm0391 » Tue Jul 18, 2006 9:18 pm
I got it now. But I am getting these errors when I open php.exe:
Benjamin
Site Administrator
Posts: 6935 Joined: Sun May 19, 2002 10:24 pm
Post
by Benjamin » Tue Jul 18, 2006 9:43 pm
Copy the dlls to the same dir as php.exe or to your Windows system directory.
tecktalkcm0391
DevNet Resident
Posts: 1030 Joined: Fri May 26, 2006 9:25 am
Location: Florida
Post
by tecktalkcm0391 » Tue Jul 18, 2006 10:09 pm
don't they need to be in c:/server/php/ext/ ??? Cause they are there...
Benjamin
Site Administrator
Posts: 6935 Joined: Sun May 19, 2002 10:24 pm
Post
by Benjamin » Tue Jul 18, 2006 10:27 pm
No
tecktalkcm0391
DevNet Resident
Posts: 1030 Joined: Fri May 26, 2006 9:25 am
Location: Florida
Post
by tecktalkcm0391 » Wed Jul 19, 2006 6:24 pm
Ok, well then were do I put them exactly... and also where do I put mod_rewrite info, I have the code to remove the .php. How do I do that for my whole site.