Jump to content

Recommended Posts

I am trying to create a local host with apache and php I also installed MySql

Instalation folders are :

c:\Apache
c:\PHP
c:\MySQL

I 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.dll

AddModule mod_php5.c

AddType 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 server


can someone help :-[



Link to comment
https://forums.phpfreaks.com/topic/22027-php-516-and-apache-223/
Share on other sites

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 .phtml

AddType application/x-httpd-phps .phps
Link to comment
https://forums.phpfreaks.com/topic/22027-php-516-and-apache-223/#findComment-98541
Share on other sites

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 ;)
Link to comment
https://forums.phpfreaks.com/topic/22027-php-516-and-apache-223/#findComment-99814
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.