Posted by:
philleech
(---.Red-88-3-135.dynamicIP.rima-tde.net)
Hello. I am very new to PHP and WAMP but when I use the simple php script I get the following result displaying:
script - called test1.php (saved with notepad++ and defiantely a php file)
<html>
<head>
<title> PHP Test</title>
</head>
<body>
<? echo '<p>hello world</p>'; ?>
</body>
</html>
result (openend in wampserver using [
localhost])
hello world
'; ?>
why does it show the coding after the hello world statement in the display page? It appears that the PHP is not being recognised. Is this a php issue or an apache issue?
I also have two error messages in the error log for PHP
[21-Mar-2015 12:11:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[21-Mar-2015 12:11:49 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
Can anyone help me please
windows 7 64 bit
wampserver 2.5
Apache 2.4.9
php 5.5.12
MySQL 5.6.7
Edited 1 time(s). Last edit at 03/21/2015 02:18PM by philleech.