Re: [PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Lester Caine

Joseph Adenuga wrote:

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


Both of those are quite old! If you are just starting out then it would be worth 
ditching them and getting PHP5.3.8 with Apache2.2.21 which are the latest versions.



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


Just to get you started, just add a ';' back in front of the line in php.ini 
which is trying to load 'extension=php_msql.dll', then php should at least run.


Anybody ... why is 'extension=php_msql.dll' in the ini file when there is not a 
matching extension although I suspect that this is simply an out of date setup 
anyway? It is correct in the 5.3.8 setup.


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Tim Thorburn

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 h1Hello 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


Re: [PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Tommy Pham
On Wed, Oct 19, 2011 at 9:26 AM, Tim Thorburn immor...@nwconx.net wrote:



 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,


IIS is only available on Windows XP Professional.  Other versions of XP
doesn't have IIS, IIRC.