logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Installed AMP on Windows, Apache Doesn't Load php.ini
Author
CoderMaya



Joined: 07 Sep 2008
Posts: 2

PostPosted: Sun 07 Sep '08 8:46    Post subject: Installed AMP on Windows, Apache Doesn't Load php.ini Reply with quote

PHPIniDir "C:/camp/php/"
LoadFile "C:/camp/php/php5ts.dll"
LoadModule php5_module "c:/camp/php/php5apache2_2.dll"
AddType application/x-httpd-php .php

PHP is loading up perfectly
I enabled the mysql extension in php.ini, but I am pretty sure it doesn't even load it since I tried enabling 'tidy' as well and my script didn't recognize tidy as a class either, just as it didn't recognize the function 'mysql_connect'.

Everything else is perfect... It's a very new installation (30 mins..) and all I did was configure that in httpd.conf and also doc_root on php (to my www directory).

Again, everything else works great. My MySQL server works great (checked it with the query browser). It's just that PHP can't connec to it, and again, I think it's because the php.ini file does not get loaded up!



Any suggestions?
Back to top
CoderMaya



Joined: 07 Sep 2008
Posts: 2

PostPosted: Sun 07 Sep '08 8:55    Post subject: Reply with quote

Stupid mistake!

For future readers:

I forgot to set the full path of 'extension_dir' in php.ini to the actual path of extensions. That's why they didn't load up!

Smile
Back to top
thompsonay



Joined: 07 Oct 2008
Posts: 6

PostPosted: Wed 08 Oct '08 0:46    Post subject: re:extension directory Reply with quote

i have everything the way it is suppose to be but my page says 404 not found
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 08 Oct '08 10:42    Post subject: Reply with quote

Thompsonay please read Basic PHP Troubleshooting

if you still have a question please ask again.
Back to top


Reply to topic   Topic: Installed AMP on Windows, Apache Doesn't Load php.ini View previous topic :: View next topic
Post new topic   Forum Index -> Other Software