For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > December 2006 > php is not found by apache









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author php is not found by apache
Jack Godkin

2006-12-04, 6:58 pm

php is not found by apache, i have installed mysql,apache, and php in an xp environment both mysql and apache work fine but apache and windows do not seem to recognise the php extension. i have made the following changes to php.ini

redirected the extension directory from extension_dir ="./" to the extension_dir where php can be found. I also enabled the extension=mysql

i transfered the libmysql.dll to C:\WINDOWS\system32\

in apachie the following was added by php installation wizerd :

#</VirtualHost>


#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\Program Files\PHP\"
LoadModule php5_module "C:\Program Files\PHP\php5apache2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL


where did i go wrong ???

ps i also uninstalled and re-installed mysql,apache and php several times.

zerof

2006-12-11, 7:03 pm

Jack Godkin escreveu:
> php is not found by apache, i have installed mysql,apache, and php in an
> xp environment both mysql and apache work fine but apache and windows do
> not seem to recognise the php extension. i have made the following
> changes to php.ini
>................................................
> where did i go wrong ???
> ps i also uninstalled and re-installed mysql,apache and php several times.
>

-----------
http://www.educar.pro.br/compl/apache2/
-----
zerof
zerof

2006-12-11, 7:03 pm

Jack Godkin escreveu:
> php is not found by apache, i have installed mysql,apache, and php in an
> xp environment both mysql and apache work fine but apache and windows do
> not seem to recognise the php extension. i have made the following
> changes to php.ini
>
> redirected the extension directory from extension_dir ="./" to the
> extension_dir where php can be found. I also enabled the extension=mysql
>
> i transfered the libmysql.dll to C:\WINDOWS\system32\
>
> in apachie the following was added by php installation wizerd :
>
> #</VirtualHost>
>
>
> #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
> PHPIniDir "C:\Program Files\PHP\"
> LoadModule php5_module "C:\Program Files\PHP\php5apache2.dll"
> #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
>
> where did i go wrong ???
>
> ps i also uninstalled and re-installed mysql,apache and php several times.
>

---------
http://www.educar.pro.br/compl/php5/
http://www.educar.pro.br/compl/apache2/
-----
zerof
zerof

2006-12-11, 7:03 pm

Jack Godkin escreveu:
> php is not found by apache, i have installed mysql,apache, and php in an
> xp environment both mysql and apache work fine but apache and windows do
> not seem to recognise the php extension. i have made the following
> changes to php.ini
>
> redirected the extension directory from extension_dir ="./" to the
> extension_dir where php can be found. I also enabled the extension=mysql
>
> i transfered the libmysql.dll to C:\WINDOWS\system32\
>
> in apachie the following was added by php installation wizerd :
>
> #</VirtualHost>
>
>
> #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
> PHPIniDir "C:\Program Files\PHP\"
> LoadModule php5_module "C:\Program Files\PHP\php5apache2.dll"
> #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
>
> where did i go wrong ???
>
> ps i also uninstalled and re-installed mysql,apache and php several times.
>

---------
http://www.educar.pro.br/compl/php5/
http://www.educar.pro.br/compl/apache2/
-----
zerof
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com