Newly Set up Apache, MySQL, PHP, Zend Opt.

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

User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

My Current httpd.conf file is:

Code: Select all

Removed
Last edited by tecktalkcm0391 on Tue Jul 18, 2006 9:19 pm, edited 1 time in total.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Can you post your apache config file please.

EDIT LOL Looks like you just did..
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Ok, is index.php in C:/SERVER/htdocs? That is where it should be.
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

yes. it is.
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

Error log:

Code: Select all

REMOVED
To be removed in a few days....
Last edited by tecktalkcm0391 on Tue Jul 18, 2006 9:19 pm, edited 1 time in total.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

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>
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

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.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

So did that work?
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

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.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

You only have to enable extensions if you want to use features of those extensions. Whichever ones you want the features of, enable those.
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

I got it now. But I am getting these errors when I open php.exe:

Image
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Copy the dlls to the same dir as php.exe or to your Windows system directory.
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

don't they need to be in c:/server/php/ext/ ??? Cause they are there...
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

No
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

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.
Post Reply