Hello, I have a php/apache question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just recently installed apache 2.0 on my comp with php 5.2.5 aswell. Apache is working and I am trying to get php to be configured into apache as a module, I put the ini file in the load module so it looks like this:

#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"

The problem is that when I test php in the web browser nothing comes up, I put a test.php notepad file in the document root with a <?php
phpinfo();
?>  function in it and nothing comes up.

Also when I restart apache I get this message:

apache is running a threaded mpm, but your php module is not compiled to be threadsafe.
You need to recompile php.
preconfiguration failed.

Any suggestions would be helpful, thank you for your time.

-Josh

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux