Hi,
I am a newbie in PHP and Apache too. I've installed Apache 2.2 and PHP 5 under Windows XP OS, using the one-click installers and, at less Apache, it seems to work properly. But when I try to execute a file in the web browser like this:
----------
index.php
----------
<html>
<head>
<title>Example page in PHP</title>
</head>
<?php echo "Hello world PHP"; ?>
</html>
I see the raw code, but not only the message, as I'd expected.
Moreover, when I execute the file, directly or by CLI, and when I write php -v, it show the next message: "CLI has encountered a problem and needs to close"...
Error signature:
AppName: php.exe AppVer: 5.2.6.6 ModName: php5ts.dll
Can anybody guide me a little?
Thanks!
Problem with install and using PHP.
Moderator: General Moderators
Re: Problem with install and using PHP (solved).
Hi,
It seems to be a problem with "threads" extension, so I've disabled this extension from php.ini, I've restarted Apache Server and now it works pretty fine!
It seems to be a problem with "threads" extension, so I've disabled this extension from php.ini, I've restarted Apache Server and now it works pretty fine!