Mombu the Php Forum

Go Back   Mombu the Php Forum > Php > Hello, I have a php/apache question
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 27th October 06:10
joshmcdowell
External User
 
Posts: 1
Default Hello, I have a php/apache question



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
  Reply With Quote


 


2 27th October 06:12
dmagick
External User
 
Posts: 1
Default Hello, I have a php/apache question



That seems like a strange mix, .so files are for *nix machines and .dll
files are for windows. Is this on a windows machine or a *nix box?

(Maybe the default config for apache + windows has the .so lines in
there, I don't have apache on my windows machine so I can't look at it).


There were a few hits on google for this phrase, any useful results?

--
Postgresql & php tutorials
http://www.designmagick.com/
  Reply With Quote
Reply


Thread Tools
Display Modes




666