Jay2391 Posted September 25, 2006 Share Posted September 25, 2006 I am trying to create a local host with apache and php I also installed MySql Instalation folders are :c:\Apachec:\PHPc:\MySQLI added or activated this lines to the php.ini and put it on my windows directory:doc_root = "C:\Apache\htdocs"extension_dir = "C:\php\ext"extension = "php_mysql.dll"Untill this point everything is good apache works and is all peachy...*****now i added this lines to my apache htppd.cnfg file....LoadModule php_module php/php5apache.dllAddModule mod_php5.cAddType application/x-httpd-php .php .phtml*****and now pache won't start and php is still not working and am I missing something I try the documentation from apache but it dosen't report any of this mistakes.All I want is a localhost server with php to test my script before put it on the actual servercan someone help :-[ Quote Link to comment https://forums.phpfreaks.com/topic/22027-php-516-and-apache-223/ Share on other sites More sharing options...
Jay2391 Posted September 25, 2006 Author Share Posted September 25, 2006 I checked around and try using this but still not working LoadModule php5_module "C:/php/php5apache2.dll" PHPIniDir "C:/WINDOWS"AddType application/x-httpd-php .php .phtmlAddType application/x-httpd-phps .phpsJust for your FYI Quote Link to comment https://forums.phpfreaks.com/topic/22027-php-516-and-apache-223/#findComment-98526 Share on other sites More sharing options...
Jay2391 Posted September 25, 2006 Author Share Posted September 25, 2006 If I comment that out Apache works, PHP still not working do but I figure is more information :P#LoadModule php5_module "C:/php/php5apache2.dll" PHPIniDir "C:/WINDOWS"AddType application/x-httpd-php .php .phtmlAddType application/x-httpd-phps .phps Quote Link to comment https://forums.phpfreaks.com/topic/22027-php-516-and-apache-223/#findComment-98541 Share on other sites More sharing options...
wildteen88 Posted September 26, 2006 Share Posted September 26, 2006 PHPIniDir needs to be on its own line:[code]LoadModule php5_module "C:/php/php5apache2.dll"PHPIniDir "C:/WINDOWS"[/code] Quote Link to comment https://forums.phpfreaks.com/topic/22027-php-516-and-apache-223/#findComment-98806 Share on other sites More sharing options...
phporcaffeine Posted September 26, 2006 Share Posted September 26, 2006 The Apache API was changed in Apache 2.2+ and the php5apache handler will not work. There are custom fixes however PHP will introduce the php5apache2 handler in the PHP 5.2 branch so I would wait until then. Quote Link to comment https://forums.phpfreaks.com/topic/22027-php-516-and-apache-223/#findComment-99175 Share on other sites More sharing options...
wildteen88 Posted September 27, 2006 Share Posted September 27, 2006 Yeah downgrad Apache to Apache2.0.xI forgot to mention that. Quote Link to comment https://forums.phpfreaks.com/topic/22027-php-516-and-apache-223/#findComment-99467 Share on other sites More sharing options...
Jay2391 Posted September 27, 2006 Author Share Posted September 27, 2006 XAMPP I found this tool call XAMPP that will do everything .... very nice and simple google it and you will save your self a lot of time....I wonder why SQL, PHP, Apache haven't sponsor this tool to their audience....???HUMMM ::)Anyway best soluction I have found so far.... ;D ;D ;D :D ;D :D ;D ;) Quote Link to comment https://forums.phpfreaks.com/topic/22027-php-516-and-apache-223/#findComment-99814 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.