--- On Thu, 7/10/08, Wade Smart <[EMAIL PROTECTED]> wrote: From: Wade Smart <[EMAIL PROTECTED]> Subject: Re: [php-list] Cannot install PHP To: php-list@yahoogroups.com Date: Thursday, July 10, 2008, 5:06 PM
Imre Neuwirth wrote: 20080710 1438 GMT-6 > This is pretty straight forward. > You have Apache working. > I like to install php to c:\php. > Put in the apache conf file where the php ini file is located, > as well as the php extension, and you're done > > Wade > > Thanks for your reply. However, I am confused. Currently, the Apache "httpd.conf" file is located in "C:\Program Files\ Apache Software Foundation\Apache2. 2\conf\" and PHP is installed in "C:\Program Files\PHP\" where the php.ini is also located. Please clarify which file should be placed where, and what do you mean by "as well as the php extension"? > Thanks 20080710 1600 GMT-6 Im no longer on Windows (moved to Ubuntu some years back) but I thought that php wasnt to be installed under Program Files as it had something to do with the split between Program and Files in the name. Well, for my own machines, I put php at C:\php. Then put this in your apache.conf # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2 .dll" AddType application/ x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php" After that, create a file called phpinfo.php and in the file put <?php phpinfo(); ?> Put it in your root directory and when you access it, if you cant see it then there is still a problem. Wade =========================== Hello Wade, Many thanks for your guidance. By the way, it is exactly the same route I want to travel which you described above. I am slowly migrating my operations to Ubuntu 8.04 which I began using about 3 weeks ago. I finally figured out my mistakes. I negated (;) all the .dll calls in PHP.ini and re-enabled only those that I knew for sure that were needed for Apache, MySQL, PHP, and some others that were noted by PHPAdmin as required. Checked the Apache error log file after a restart and it is clean. I placed the index.php in the root directory and the PHP configuration report is displayed in Firefox. Thanks to all and wish everyone a nice summer, [Non-text portions of this message have been removed]