Hello, I have a php/apache question
| From: | Josh McDowell | Date: | Mon, 12 Nov 2007 21:36:51 +0000 |
| Subject: | Hello, I have a php/apache question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-264398@lists.php.net to get a copy of this message | ||
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