You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Andres Paju <an...@hot.ee> on 2005/10/02 08:54:51 UTC

RE: [users@httpd] Apache wont start

Good morning Alessandro
 
Can you send php.ini and httpd.conf file?

-----Original Message-----
From: Alessandro Gigli [mailto:alegiit@yahoo.it] 
Sent: Wednesday, September 28, 2005 11:37 PM
To: users@httpd.apache.org
Subject: [users@httpd] Apache wont start


Hello there,
I am new to Apache.  I have installed MySQL, then I have installed
Apache, and everything is fine.   Now, I have extracted the files for
PHP4 into a directory on C:/.  what I have done next is to copy the
php.ini file into the WINDOWS directory.  I have copied the php4ts.dll
into the directory System32.  I have made the right adjustments to the
Apache conf text file, I have included the following:
 
LoadModule php4_module c:/php/sapi/php4apache2.dll
 
and
 
AddType application/x-httpd-php .php .phtml .html
Addtype application/x-httpd-php-source .phps 
 
 
 
but I get the message "The requested operation has failed"
 
If i disabled the LoadModule statement than I am able to start Apache
again.  
Could you please help me? is there anything I have to change in the
php.ini file?
 
Thank you very much
Sincerely
Alessandro



   _____  

HYPERLINK
"http://us.rd.yahoo.com/mail_it/taglines/*http://it.mail.yahoo.com"Yahoo
! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3


--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.9/115 - Release Date: 29.09.05



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.9/116 - Release Date: 30.09.05
 

Re: [users@httpd] Apache wont start

Posted by Joshua Kogut <jm...@gmail.com>.
I get this error often when I misconfigure something in Apache http. The
first thing you want to do is to disable any changes that you have recently
made, then start Apache. If it works, then you know the specific module that
is giving you problems. Look over your configuration for that module and
make sure everything is set right, and there are no errors in the file.
Second thing to check is that you have added your mysql lib into your Apache
bin folder, forgetting that step has caused me many problems before which
seemed to lead to php, but really lead to mysql. Also, you should add your
[Apache Bin, Php, and Mysql bin] folders to your systems include path. I am
assuming that you are using WinXP so, to add these folders to your include
path, go to your system properties, [windows key + pause/break] and then go
to the advanced tab, and then environment variables. There will be two
boxes, In the bottom box, double click path, and add these folders to the
box that comes up, no trailing slashes, and separate the paths with a
semicolon. Then, there is a command for using php as an Apache module that
allows you to specify the exact location for your php config file, the
specific command escapes me, but look into the php install txt for help.
Look under the [Installation as an apache module] section.

Finally, I also recommend getting that latest version of Apache, Php, and
Mysql. If you need anymore help in resolving this, tell me. I am wondering
how this problem could be solved.
On 10/2/05, Andres Paju <an...@hot.ee> wrote:
>
> Good morning Alessandro
>  Can you send php.ini and httpd.conf file?
>
>  -----Original Message-----
> *From:* Alessandro Gigli [mailto:alegiit@yahoo.it]
> *Sent:* Wednesday, September 28, 2005 11:37 PM
> *To:* users@httpd.apache.org
> *Subject:* [users@httpd] Apache wont start
>
> Hello there,
> I am new to Apache. I have installed MySQL, then I have installed Apache,
> and everything is fine. Now, I have extracted the files for PHP4 into a
> directory on C:/. what I have done next is to copy the php.ini file into
> the WINDOWS directory. I have copied the php4ts.dll into the directory
> System32. I have made the right adjustments to the Apache conf text file, I
> have included the following:
>  LoadModule php4_module c:/php/sapi/php4apache2.dll
>  and
>  AddType application/x-httpd-php .php .phtml .html
> Addtype application/x-httpd-php-source .phps
>    but I get the message "The requested operation has failed"
>  If i disabled the LoadModule statement than I am able to start Apache
> again.
> Could you please help me? is there anything I have to change in the
> php.ini file?
>  Thank you very much
> Sincerely
> Alessandro
>
> ------------------------------
> *Yahoo! Mail*<http://us.rd.yahoo.com/mail_it/taglines/*http://it.mail.yahoo.com>:
> gratis 1GB per i messaggi, antispam, antivirus, POP3
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.11.9/115 - Release Date: 29.09.05
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.11.9/116 - Release Date: 30.09.05
>



--
|| jmkogut ||
email: jmkogut@gmail.com

RE: [users@httpd] Apache wont start

Posted by Alessandro Gigli <al...@yahoo.it>.
Good morning to you Andres and thank you very much for taking the time to help me out.  I have included the following in the httpd.conf file:
 
LoadModule php4_module c:/php/sapi/php4apache2.dll
 
AddType application/x-httpd .php .phtml .html
AddType application/x-httpd-php-source .phps
 
#PHPIniDir "c:/php"

 not sure about PHPIniDir "c:/php"
 
I am basically a little bit confused, on some sources I have read that I should put the php.ini file in the SYSTEM directory, and php4ts.dll in System32.  on some other sources I have read that php.ini can stay in the php directory and I have to change the PATH and include c:/php.  Moving dll is what is confusing me, and also I am not sure about changing values in the php.ini file. 
God Bless
Alessandro
Andres Paju <an...@hot.ee> ha scritto: 
Good morning Alessandro
 
Can you send php.ini and httpd.conf file?

-----Original Message-----
From: Alessandro Gigli [mailto:alegiit@yahoo.it] 
Sent: Wednesday, September 28, 2005 11:37 PM
To: users@httpd.apache.org
Subject: [users@httpd] Apache wont start


Hello there,
I am new to Apache.  I have installed MySQL, then I have installed Apache, and everything is fine.   Now, I have extracted the files for PHP4 into a directory on C:/.  what I have done next is to copy the php.ini file into the WINDOWS directory.  I have copied the php4ts.dll into the directory System32.  I have made the right adjustments to the Apache conf text file, I have included the following:
 
LoadModule php4_module c:/php/sapi/php4apache2.dll
 
and
 
AddType application/x-httpd-php .php .phtml .html
Addtype application/x-httpd-php-source .phps 
 
 
 
but I get the message "The requested operation has failed"
 
If i disabled the LoadModule statement than I am able to start Apache again.  
Could you please help me? is there anything I have to change in the php.ini file?
 
Thank you very much
Sincerely
Alessandro


---------------------------------
Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.9/115 - Release Date: 29.09.05



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.9/116 - Release Date: 30.09.05



		
---------------------------------
Yahoo! Messenger: chiamate gratuite in tutto il mondo