This is a discussion on problems with installing php, mysql, and apache on windows within the Php and MySQL forums, part of the Programming / Scripting / Coding category; ok, i installed php, mysql, and apache. apache and mysql work fine, but when i went to test the php ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| | #1 (permalink) |
| Newbie | ok, i installed php, mysql, and apache. apache and mysql work fine, but when i went to test the php after i configured the apache, i get the created a phpinfo script to test and and <? phpinfo(); ?> showed up instead of the information. I used apache_2.0.54-win32-x86-no_ssl mysql-4.0.25-win32 & php-5.0.4-Win32 also i configured my apache server httpd.conf file like this (excrept from the book) 3. Add the following code to the LoadModule section LoadModule php5_module C:/php// php5apache2.dll Nex you have to add a directive to the httpd.conf file to define the extensions used by PHP files. Common extensions are .php and .phtml, but you can use whatever you want. 4. Look for the AddType section in the httpd.conf file 5. Add the following line: AddType application/x-httpd-php .phtml .php 6. Save and close the httpd.conf file. (Taken from "PHP 5 Fast & Easy Web Devolepment") this really has me baffled. If anyone could help me, or preferably walk me through it with AIM or somthing, i would really appreciate it, and thank you for time. -------- BTW, sorry if its in the wrong section. Last edited by hdshngout; 26-07-2005 at 03:02. |
| | |
| | #2 (permalink) |
| *poke* *poke* | Something much easier to do, than installing all of those packages yourself, is to use something like EasyPHP or Wamp Server. There both free and come with PHP/MySQL/Apache. Wamp Server comes with PHP 5 and mysqli, but PHP 4 is available to download as an extension.
__________________ |
| | |
| | #3 (permalink) |
| Senior Member | Php and the lot are pretty simple to install. All you really have to do is configure your httpd.conf. I remember this happened to me also when I first tried it out. My problem was that I was accessing the file by just opening it, not accessing it through my server. is was "c:...." instead of the nessicary "http://localhost:80/" Simple mistake. |
| | |
| Tags |
| apache, installing, mysql, php, problems, windows |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help needed to install php5 on apache :S | vegancoder | Hardware/Software | 0 | 25-07-2005 14:18 |
| Any TM problems? | Morphmaster | Domain Names | 13 | 23-07-2005 15:35 |
| Apache access logs | corona | Php and MySQL | 8 | 09-07-2005 06:05 |
| E-Spotting (MIVA) problems | andylong | Pay Per Click Promotion (PPC) | 0 | 02-07-2005 13:57 |
| AOL problems | robertall | General Webmaster Discussion | 4 | 11-05-2005 16:29 |