For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > February 2006 > [PHP-INSTALL] Installing PHP5 with Apache2 on Windows XP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author [PHP-INSTALL] Installing PHP5 with Apache2 on Windows XP
odutola ekundayo

2005-08-14, 8:59 am



I am trying to install PHP5 with Apache2 Web Server on
a Windows XP Operating System. When I try to run a
simple script ("hello.php" and "phpinfo()" ), I get
no error, but the modules (I need to work with mysql
database) will not be loaded.


Can anyone offer assistance with this problem?
I have completed all the tasks based on the PHP
manual and the FAQ.

Thanks,

'Tola.



________________________________________
___________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
Lester Caine

2005-08-14, 5:00 pm

odutola ekundayo wrote:

>
> I am trying to install PHP5 with Apache2 Web Server on
> a Windows XP Operating System. When I try to run a
> simple script ("hello.php" and "phpinfo()" ), I get
> no error, but the modules (I need to work with mysql
> database) will not be loaded.
>
>
> Can anyone offer assistance with this problem?
> I have completed all the tasks based on the PHP
> manual and the FAQ.


Have you actually enabled the correct extension in the php.ini file.
MySQL is not installed in PHP5 and the correct extension needs to be
used. php_mysql.dll or php_mysqli.dll depending on your version of MySQL.
The php.ini you need to update will be in c:\Windows directory on XP

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Christopher Chan

2006-02-15, 6:57 pm

You can try one of the pre-packaged stacks with Apache, PHP, and MySQL
for windows. It automatically pre-configures the pieces for you.

SpikeSource has one that can be downloaded from
http://www.spikesource.com/downloads.html


odutola ekundayo wrote:
>
> I am trying to install PHP5 with Apache2 Web Server on
> a Windows XP Operating System. When I try to run a
> simple script ("hello.php" and "phpinfo()" ), I get
> no error, but the modules (I need to work with mysql
> database) will not be loaded.
>
>
> Can anyone offer assistance with this problem?
> I have completed all the tasks based on the PHP
> manual and the FAQ.
>
> Thanks,
>
> 'Tola.
>
>
>
> ________________________________________
___________________
> To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com

Christopher Chan

2006-02-15, 6:57 pm

You can try one of the pre-packaged stacks with Apache, PHP, and MySQL
for windows. It automatically pre-configures the pieces for you.

SpikeSource has one that can be downloaded from
http://www.spikesource.com/downloads.html


odutola ekundayo wrote:
>
> I am trying to install PHP5 with Apache2 Web Server on
> a Windows XP Operating System. When I try to run a
> simple script ("hello.php" and "phpinfo()" ), I get
> no error, but the modules (I need to work with mysql
> database) will not be loaded.
>
>
> Can anyone offer assistance with this problem?
> I have completed all the tasks based on the PHP
> manual and the FAQ.
>
> Thanks,
>
> 'Tola.
>
>
>
> ________________________________________
___________________
> To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com