Jay2391 Posted September 26, 2006 Share Posted September 26, 2006 I try to explain this in another session but no one reply so I will try it here...I am trying to set up a localhost for testing on my machine, I use the following installs...mysql-5.0.24a-win32.zipapache_2.2.3-win32-x86-no_ssl.msiphp-5.1.6-Win32.zipMySQL seems to be fineapache starts and seems to be finebut PHP is not working whe I am going to test <?php phpinfo(); ?>I try configuring the httpd file like a module that made Apache crash.. so I tried CGI but that let apache work but PHP is not working...This is the module configs... For PHP 5:# Add to the end of the LoadModule sectionLoadModule php5_module "C:/php/php5apache.dll"# Add to the end of the AddModule sectionAddModule mod_php5.c # Add this line inside the <IfModule mod_mime.c> conditional braceAddType application/x-httpd-php .php# For syntax highlighted .phps files, also addAddType application/x-httpd-php-source .phps _________________________________________________________________CGI Configs..# For PHP 5Action application/x-httpd-php "/php/php-cgi.exe"# specify the directory where php.ini isSetEnv PHPRC C:/phpNote I also move the "libmysql.dll" to the windows system files folderand I copy "PHP.ini recomended" to the Windows folder as "PHP.ini"can some one help, also where to put this lines, The instructions are not clear on that and do we leave the quotes on the lines for example:LoadModule php5_module "C:/php/php5apache.dll"Should i modify the line like this ???LoadModule php5_module C:/php/php5apache.dllThanksJay :P Link to comment https://forums.phpfreaks.com/topic/22112-php-516-and-apache-223/ Share on other sites More sharing options...
trq Posted September 26, 2006 Share Posted September 26, 2006 You might want to just search for and install something like XAMPP. Its an all in one install. Link to comment https://forums.phpfreaks.com/topic/22112-php-516-and-apache-223/#findComment-98975 Share on other sites More sharing options...
Jay2391 Posted September 26, 2006 Author Share Posted September 26, 2006 where do i find that ??? Link to comment https://forums.phpfreaks.com/topic/22112-php-516-and-apache-223/#findComment-98979 Share on other sites More sharing options...
wildteen88 Posted September 26, 2006 Share Posted September 26, 2006 Thread closed. YOu already asked this in the correct forum which is the PHP Installation forum.Please do not double post threads around the forum thank you. Link to comment https://forums.phpfreaks.com/topic/22112-php-516-and-apache-223/#findComment-99033 Share on other sites More sharing options...
Recommended Posts