Re: PHP 5.2 and Apache 2.2 are really compatible?

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

 



On 10/19/2011 11:36 AM, Joseph Adenuga wrote:
Dear All,


I’m using Window XP operating system. I’ve just installed
PHP 5.2.5 and Apache 2.2.8 over a week now. I’ve checked if Apache installation
is okay with ‘localhost’ in my Firefox browser and it displays ‘It Works!’ But, my php code<?php  echo "<h1>Hello Web!</h1>";
?>  that I saved as ‘first.php’ in the ‘htdocs’ will not display “Hello Web! in my browser. In the ‘Review
Error Log file’ I found:


PHP Warning:  PHP
Startup: Unable to load dynamic library 'C:\\php\\ext\\php_msql.dll' - The
specified module could not be found.\r\n in Unknown on line 0

[Wed Oct 19 16:22:12 2011] [notice] Child 7728: Child
process is running

[Wed Oct 19 16:22:13 2011] [notice] Child 2016: Released the
start mutex

[Wed Oct 19 16:22:13 2011] [notice] Child 7728: Acquired the
start mutex.

[Wed Oct 19 16:22:13 2011] [notice] Child 7728: Starting 64
worker threads.

[Wed Oct 19 16:22:14 2011] [notice] Child 2016: All worker
threads have exited.

[Wed Oct 19 16:22:14 2011] [notice] Child 2016: Child
process is exiting

[Wed Oct 19 16:22:14 2011] [notice] Child 7728: Starting
thread to listen on port 80.


I’ve checked my Apache and PHP configurations again and
again. I’ve checked the information on the internet with more configuration
info. I don’t know what else to do. Please I’m very new to PHP codeand Apache environment. I need
your help. I don’t know what I’m doing wrong and what to do. Please please help.
Joseph


How did you install Apache/PHP on your computer? If you went with the Windows binaries for each, did you ensure to get the VC6 version of PHP if you installed Apache2 from apache.org? You may also need to set a binding in your hosts file that points to 127.0.0.1

Failing this, do you need Apache? If you just want a web server to test some stuff on, you can download Microsoft's Web Platform - it will install and configure IIS to run with PHP, I think it'll even do MySQL as well if you install one of the available CMS'. Less clicking and playing with text files if you're a beginner. Could also try running a Linux distro in a VM on your computer - many will come pre-configured with Apache and PHP, or provide an easy installer/command line to get you up and running. Ubuntu is very beginner friendly.

HTH,
-Tim

[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