Posted 30 July 2006 - 08:47 PM
I'm running windows xp home
I've loaded apache amd mysql and php and tried to configure php using
When I try to run
I just get a blank browser page
Any ideas ?
Posted 31 July 2006 - 06:48 AM
The correct code syntax should be:
Posted 31 July 2006 - 08:56 AM
<?php phpinfo(); ?>
Posted 31 July 2006 - 04:32 PM
I inserted the colon, but still no joy
I installed apache, mysql and php yesterday
That script was first attempt to get going. As I get nothing is it possible that something else is wrong?
Is this the right place to ask? Where can I turn for help? ???
Posted 31 July 2006 - 04:45 PM
Looking at that guide it is a little old. I suggest you do the following to configure Apache with PHP. First find the httpd.defualt.conf file. Now rename this to httpd.conf to overright the existing httpd.conf file.
Now you have reset the config file back to defualt. Find this:
#LoadModule ssl_module modules/mod_ssl.soAdd the following after it:
LoadModule php5_module "C:/php/php5apache2.dll" PHPIniDir "C:/WINDOWS"If you have PHP4, use this instead of the php5_module line:
LoadModule php4_module "C:/php/isapi/php4apache2.dll"Now scroll down and find the following:
DirectoryIndex and add index.php to the end of the list, making sure you add a space between the last entry in the list, like so:
DirectoryIndex index.html index.html.var index.phpNow find the following:
AddType application/x-gzip .gz .tgznow add the following after it:
AddType application/x-httpd-php .php .phtml AddType application/x-httpd-phps .phpsNow save the httpd.conf file. Find the php.ini file and move it to C:\WINDOWS if you haven't done so already.
Now restart Apache Server.
If Apache starts with no beeps or errors appearing. Then Apache has been configured to parse PHP files with the PHP Intepreter. Now try running your php file again.
Posted 31 July 2006 - 07:10 PM
I've taken the line of least restaance and used wamp. didn't know it was there before :-\
seems to working fine now
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users