Hello, I have a php/apache question

This is a discussion on Hello, I have a php/apache question within the PHP General forums, part of the PHP Programming Forums category; I just recently installed apache 2.0 on my comp with php 5.2.5 aswell. Apache is working and ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-12-2007
Josh McDowell
 
Posts: n/a
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 (permalink)  
Old 11-13-2007
Chris
 
Posts: n/a
Default Re: [PHP] Hello, I have a php/apache question

Josh McDowell wrote:
> 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"


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


> apache is running a threaded mpm, but your php module is not compiled to be threadsafe.


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 Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0