|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Newbie installing on Windows
hi,
i am trying to install Apache, MySql and PHP. I have successfully installed Apache and MySql but when I add the PHP settings to the Apache conf file, i get an error. my installation settings are: Apache: apache_2.0.39-win32-x86-no_ssl MySql: mysql-3.23.51-win PHP: php-4.2.1-Win32 I am trying to install PHP as a module in Apache. After adding these 3 lines (as per the install.txt file provided with PHP) LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php i get the error: syntax error on line xx. Cannot load c:/php/sapi/php4apache.dll into server: The specified module could not be found. I have checked the location and the file does exist in the folder. What should I do? any help greatly appreciated. |
|
#2
|
|||
|
|||
|
RE: Newbie installing on Windows
That sounds like the same thing that happened to me last night. For starters, you need to use php4apache2.dll. BUT, that will probably give you an error that php4apache2.dll is the wrong version for your server (or something like that)
I had to grab the latest stable build off of http://snaps.php.net/win32. That worked for me. |
|
#3
|
|||
|
|||
|
RE: Newbie installing on Windows
Doh! That link doesn't work because of the period at the end
http://snaps.php.net/win32 |
|
#4
|
|||
|
|||
|
RE: Newbie installing on Windows
I had some trouble getting everything to work on windows XP. It is kind long but read the Install.txt file. That is how I finally got the big three to work.
|
|
#5
|
|||
|
|||
|
RE: Newbie installing on Windows
Thanks a lot for your replies. I've installed PHP as a CGI instead of as a module and it works out fine now.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Newbie installing on Windows |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|